Rename prop linked list symbols and functions

This commit is contained in:
Ryan Dwyer
2021-01-08 08:10:30 +10:00
parent 80c09d12f0
commit e8e2e2d131
25 changed files with 125 additions and 125 deletions
+5 -5
View File
@@ -10,9 +10,9 @@ void propShow(struct prop *prop);
void propHide(struct prop *prop);
struct prop *propAllocate(void);
void propFree(struct prop *prop);
void func0f0604bc(struct prop *prop);
void func0f060538(struct prop *prop);
void func0f0605c4(struct prop *prop);
void propPrependToList1(struct prop *prop);
void propAppendToList1(struct prop *prop);
void propRemoveFromCurrentList(struct prop *prop);
void propReparent(struct prop *mover, struct prop *adopter);
void propDetach(struct prop *prop);
Gfx *propRender(Gfx *gdl, struct prop *prop, bool withalpha);
@@ -30,8 +30,8 @@ void func0f062b64(struct prop *prop, s32 arg1);
struct prop *currentPlayerFindPropForInteract(bool eyespy);
u32 func0f062dd0(void);
bool currentPlayerInteract(bool eyespy);
void func0f062ef8(struct prop *prop);
void func0f062fac(struct prop *prop);
void propPrependToList2(struct prop *prop);
void propMoveFromList2To1(struct prop *prop);
void func0f06302c(ubool arg0);
void func0f063dcc(void);
void func0f064178(struct prop *prop, s32 enable);
+3 -3
View File
@@ -88,13 +88,13 @@ struct g_vars {
/*000330*/ u32 unk000330;
/*000334*/ s32 maxprops;
/*000338*/ struct prop *props; // pointer to array
/*00033c*/ struct prop *unk00033c;
/*000340*/ struct prop *unk000340;
/*00033c*/ struct prop *list1head;
/*000340*/ struct prop *list1tail; // next pointer points to list2head
/*000344*/ struct prop *freeprops;
/*000348*/ struct prop **tangibleprops;
/*00034c*/ struct prop **unk00034c;
/*000350*/ struct prop *unk000350;
/*000354*/ struct prop *unk000354;
/*000354*/ struct prop *list2head; // prev pointer points to list1tail
/*000358*/ u8 numpropstateindexes;
/*000359*/ u8 nextpropstateindex;
/*00035a*/ u8 unk00035a;
+1 -1
View File
@@ -74,7 +74,7 @@ struct prop {
/*0x3f*/ u8 unk3f_00 : 1;
/*0x3f*/ u8 unk3f_01 : 1;
/*0x3f*/ u8 unk3f_02 : 1;
/*0x3f*/ u8 unk3f_03 : 1;
/*0x3f*/ u8 inlist1 : 1;
/*0x3f*/ u8 unk3f_04 : 1;
/*0x3f*/ u8 unk3f_05 : 1;
/*0x3f*/ u8 unk3f_06 : 1;