Rename gvars360 to propstate and name properties as per XBLA debug data
This commit is contained in:
parent
44b9ce0bf8
commit
034b19ea16
|
|
@ -382,9 +382,9 @@ glabel func0f060358
|
|||
void func0f060438(struct prop *prop)
|
||||
{
|
||||
if (prop->type == PROPTYPE_CHR) {
|
||||
g_Vars.unk000360[prop->index].chrpropcount--;
|
||||
g_Vars.propstates[prop->propstateindex].chrpropcount--;
|
||||
} else {
|
||||
g_Vars.unk000360[prop->index].nonchrpropcount--;
|
||||
g_Vars.propstates[prop->propstateindex].propcount--;
|
||||
}
|
||||
|
||||
prop->next = g_Vars.unk000344;
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ struct g_vars {
|
|||
/*000354*/ struct prop *unk000354;
|
||||
/*000358*/ u32 unk000358;
|
||||
/*00035c*/ u32 unk00035c;
|
||||
/*000360*/ struct gvars360 unk000360[2]; // may also start at 35c or 358 with props moved forward
|
||||
/*000360*/ struct propstate propstates[2];
|
||||
/*000398*/ u32 unk000398;
|
||||
/*00039c*/ u32 unk00039c;
|
||||
/*0003a0*/ u32 unk0003a0;
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ struct prop {
|
|||
s16 unk38;
|
||||
s16 unk3a;
|
||||
u8 unk3c;
|
||||
u8 index;
|
||||
u8 propstateindex;
|
||||
u8 unk3e;
|
||||
u8 unk3f_00 : 1;
|
||||
u8 unk3f_01 : 1;
|
||||
|
|
@ -3923,15 +3923,16 @@ struct savefile_solo {
|
|||
/*0xac*/ u8 firingrangescores[4];
|
||||
};
|
||||
|
||||
struct gvars360 {
|
||||
u16 nonchrpropcount;
|
||||
u16 chrpropcount;
|
||||
u32 unk04;
|
||||
u32 unk08;
|
||||
u32 unk0c;
|
||||
u32 unk10;
|
||||
u32 unk14;
|
||||
u32 unk18;
|
||||
struct propstate {
|
||||
/*0x00*/ u16 propcount;
|
||||
/*0x02*/ u16 chrpropcount;
|
||||
/*0x04*/ u16 foregroundpropcount;
|
||||
/*0x06*/ u16 foregroundchrpropcount;
|
||||
/*0x08*/ u32 updatetime;
|
||||
/*0x0c*/ u32 chrupdatetime;
|
||||
/*0x10*/ u32 slotupdate240;
|
||||
/*0x14*/ u32 slotupdate60error;
|
||||
/*0x18*/ u32 lastupdateframe;
|
||||
};
|
||||
|
||||
struct options {
|
||||
|
|
|
|||
Loading…
Reference in New Issue