forked from tsuki/openroller
Initial public source release
Split reusable rendering and format support into vectorail-core and vectorail-gc.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#pragma endian big
|
||||
import std.io;
|
||||
import std.string;
|
||||
|
||||
using string = std::string::SizedString<u8> [[format("string_formatter")]];
|
||||
fn string_formatter(ref string s) {
|
||||
return std::format("\"{:s}\"", s);
|
||||
};
|
||||
|
||||
enum Version : u8 {
|
||||
GC1 = 1,
|
||||
GC1EX = 2,
|
||||
GC2 = 3,
|
||||
GC3 = 4,
|
||||
GC4 = 5,
|
||||
};
|
||||
|
||||
Version PARSE_VER = Version::GC4;
|
||||
|
||||
struct Navigator {
|
||||
u32 id;
|
||||
string texture; // /data/2d_boost/navigator/<name>.dds
|
||||
string unk2;
|
||||
string unk3;
|
||||
string unk4;
|
||||
string unk5;
|
||||
string unk6;
|
||||
string unk7;
|
||||
string unk8;
|
||||
string unk9;
|
||||
string unk10;
|
||||
u8 unk11;
|
||||
u8 unk12;
|
||||
u8 unk13;
|
||||
u8 unk14;
|
||||
u32 unk15;
|
||||
u32 unk16;
|
||||
u8 unk17;
|
||||
u8 unk18;
|
||||
u8 unk19;
|
||||
string descriptionJP;
|
||||
string descriptionEN;
|
||||
};
|
||||
|
||||
u16 navigatorCount @ 0x00;
|
||||
Navigator navigators[navigatorCount] @ 0x02 [[inline]];
|
||||
Reference in New Issue
Block a user