aboutsummaryrefslogtreecommitdiff
path: root/brlyt.h
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2010-05-13 03:51:05 -0500
committermegazig <megazig@megazig-desktop.(none)>2010-05-13 03:51:05 -0500
commitee7d9486d96d04c1928e145cda4223a93449cf5a (patch)
tree7be54e69a1eb741f58a222004bde257ac8f515e4 /brlyt.h
parent857321691f5382cbcb8e9bd0af022349ed27e5ce (diff)
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.
Diffstat (limited to '')
-rw-r--r--brlyt.h19
1 files changed, 18 insertions, 1 deletions
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;
@@ -133,6 +134,22 @@ typedef struct
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;
u16 offs;
} brlyt_numoffs_chunk;