Common file format types
Jump to navigation
Jump to search
This page describes types common to various Arx Fatalis file formats.
Numbers
All integers are encoded in little-endian byte order. Types are the same as in platform/Platform.h
- s (signed integer) / u (unsigned integer) / f (float), followed by the number of bits.
Example: u32 is an unsigned 32-bit integer.
Arrays
Arrays are denoted by brackets like in c++.
Example: u32[64] is an array of 64 unsigned 32-bit integers.
Example: u8[128] is a fixed length string of (max) 128 bytes.
C Strings
Types described as c string are variably sized strings that are terminated with a null-byte.