Rename prop properties based on XBLA debug data

This commit is contained in:
Ryan Dwyer
2020-01-03 17:38:58 +10:00
parent 9be22b7928
commit d6d73dec59
4 changed files with 42 additions and 44 deletions
+22 -24
View File
@@ -24,41 +24,39 @@ struct prop;
* pointer points back to the proper entity struct.
*/
struct prop {
u8 type;
u8 flags;
u16 unk02;
/*0x00*/ u8 type;
/*0x01*/ u8 flags;
/*0x02*/ u16 timetoregen;
/*0x04*/
union {
struct chrdata *chr;
struct defaultobj *obj;
struct weaponobj *weapon;
};
struct coord pos;
u32 unk14;
/*0x08*/ struct coord pos;
/*0x14*/ u32 z;
/*0x18*/ struct prop *parent;
/*0x1c*/ struct prop *child;
/*0x20*/ struct prop *next;
/*0x24*/ struct prop *prev;
s16 room;
u32 unk2c;
u32 unk30;
u32 unk34;
s16 unk38;
s16 unk3a;
u8 unk3c;
u8 propstateindex;
u8 unk3e;
u8 unk3f_00 : 1;
u8 unk3f_01 : 1;
u8 unk3f_02 : 1;
u8 unk3f_03 : 1;
u8 unk3f_04 : 1;
u8 unk3f_05 : 1;
u8 unk3f_06 : 1;
u8 unk3f_07 : 1;
u32 unk40;
u32 unk44;
/*0x28*/ s16 rooms[8];
/*0x38*/ s16 unk38;
/*0x3a*/ s16 unk3a;
/*0x3c*/ u8 unk3c;
/*0x3d*/ u8 propstateindex;
/*0x3e*/ u8 unk3e;
/*0x3f*/ u8 unk3f_00 : 1;
/*0x3f*/ u8 unk3f_01 : 1;
/*0x3f*/ u8 unk3f_02 : 1;
/*0x3f*/ u8 unk3f_03 : 1;
/*0x3f*/ u8 unk3f_04 : 1;
/*0x3f*/ u8 unk3f_05 : 1;
/*0x3f*/ u8 unk3f_06 : 1;
/*0x3f*/ u8 unk3f_07 : 1;
/*0x40*/ u32 unk40;
/*0x44*/ u32 unk44;
};
struct pad {