From ee7d9486d96d04c1928e145cda4223a93449cf5a Mon Sep 17 00:00:00 2001 From: megazig Date: Thu, 13 May 2010 03:51:05 -0500 Subject: xmlyt now keeps track of brlyt version. brlyt support added for newer brlyts from NSMBWii. ( usd1 support now and added a new element in txt1 after alignment that I'm not sure what it does though I assume it is for the drop shadow ) userdata is now handled properly even though I haven't found a use for it yet. --- brlyt.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'brlyt.h') diff --git a/brlyt.h b/brlyt.h index 8260e54..c4fafbb 100644 --- a/brlyt.h +++ b/brlyt.h @@ -64,7 +64,8 @@ typedef struct u16 mat_num; u16 font_idx; u8 alignment; - u8 pad[3]; + u8 unk_char; + u8 pad[2]; u32 name_offs; u32 color1; u32 color2; @@ -131,6 +132,22 @@ typedef struct u16 unk; } brlyt_group_chunk; +typedef struct +{ + /* possible a numoffs */ + u16 string_count; + u16 unk2; +} brlyt_usdstart_chunk; + +typedef struct +{ + u32 string_offset; + u32 is_working_offset; + u16 unk5; + u8 unk6; + u8 unk7; +} brlyt_usdmain_chunk; + typedef struct { u16 num; -- cgit v1.3.1