From 5614e8c852cb627d05736a01d3a349966faa4d24 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Sun, 15 Feb 2009 03:58:17 -0800 Subject: Added (partially) functional XML -> BRLAN converter to C side Benzin. Added some other new fun stuff. Look at the converter please comex, its output doesn't work in parse-brlan but works in C benzin. --- brlan.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'brlan.h') diff --git a/brlan.h b/brlan.h index 6880173..3df14ad 100755 --- a/brlan.h +++ b/brlan.h @@ -82,10 +82,11 @@ typedef struct typedef struct { - u32 flags; // Flags? + u16 type; // Type (look at animtypes) + u16 unk1; // ??? Every case has been 0x0200 u16 coord_count; // How many coordinates. u16 pad1; // All cases I've seen is zero. - u32 unk1; // ??? In every case I've seen, it is \x00\x00\x00\x0C. + u32 unk2; // ??? In every case I've seen, it is 0x0000000C. } tag_entryinfo; typedef struct @@ -97,17 +98,7 @@ typedef struct void parse_brlan(char* filename); - - - - - - - - - - - +void make_brlan(char* infile, char* outfile); #endif //BRLAN_H_ -- cgit v1.3.1