datadoc: Add format typedef

It's a u8, so make that clear
This commit is contained in:
Lily Tsuru 2025-01-21 22:12:34 -05:00
parent f8e9034ac7
commit 8451f05e8c

View file

@ -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