- Migrate from set_global/get_global to ctx_set/ctx_get - Replace if-else chains with match() expressions - Update inline pointer handling patterns - Improve GfxWorld and asset parsing structures - Clean up redundant code across 60+ definition files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
608 B
Plaintext
33 lines
608 B
Plaintext
type materialinfo [display="Material Info"]
|
|
{
|
|
i32 material_name_ptr;
|
|
|
|
ui("material_name_ptr", "Material Name Ptr");
|
|
|
|
u8 game_flags;
|
|
|
|
|
|
ui("game_flags", "Game Flags");
|
|
u8 sort_key;
|
|
|
|
ui("sort_key", "Sort Key");
|
|
u8 texture_atlas_row_count;
|
|
|
|
ui("texture_atlas_row_count", "Texture Atlas Row Count");
|
|
u8 texture_atlas_column_count;
|
|
|
|
ui("texture_atlas_column_count", "Texture Atlas Column Count");
|
|
|
|
draw_surf = parse_here("gfxdrawsurf");
|
|
|
|
u32 surface_type_bits;
|
|
|
|
|
|
ui("surface_type_bits", "Surface Type Bits");
|
|
u16 hash_index;
|
|
|
|
ui("hash_index", "Hash Index");
|
|
|
|
skip(2); // padding
|
|
}
|