datadoc: Add format typedef
It's a u8, so make that clear
This commit is contained in:
parent
f8e9034ac7
commit
8451f05e8c
1 changed files with 3 additions and 1 deletions
|
@ -14,10 +14,12 @@ On PS2, the Europa engine uses a homebrew texture format, known as "YATF" or, ~~
|
||||||
The .tex file header is one of the few filetypes in Europa which uses a proper FourCC magic. However this becomes rapidly annoying as you'll see later.
|
The .tex file header is one of the few filetypes in Europa which uses a proper FourCC magic. However this becomes rapidly annoying as you'll see later.
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
|
using Format = u8; // See version-specific information
|
||||||
|
|
||||||
struct yatfHeader {
|
struct yatfHeader {
|
||||||
uint32_t magic;
|
uint32_t magic;
|
||||||
uint16_t version;
|
uint16_t version;
|
||||||
Format format; // Version-specific
|
Format format;
|
||||||
uint8_t unknown; // ?
|
uint8_t unknown; // ?
|
||||||
uint32_t unknownZeroed; // Zeroed on all files
|
uint32_t unknownZeroed; // Zeroed on all files
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue