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,40 @@
|
||||
#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 Title {
|
||||
u32 id;
|
||||
string texture;
|
||||
string textureSuffixEn;
|
||||
string textJP;
|
||||
string textEN;
|
||||
u8 unk5;
|
||||
string descriptionJP;
|
||||
string descriptionEN;
|
||||
string unk6; // Also descriptions, maybe for next title?
|
||||
string unk7; // ^
|
||||
u8 unk8;
|
||||
u8 unk9;
|
||||
u8 unk10;
|
||||
u8 unk11;
|
||||
u8 unk12;
|
||||
u8 unk13;
|
||||
};
|
||||
|
||||
u16 titleCount @ 0x00;
|
||||
Title titles[titleCount] @ 0x02 [[inline]];
|
||||
Reference in New Issue
Block a user