mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile propsSort
This commit is contained in:
@@ -3184,14 +3184,14 @@
|
||||
#define PROJECTILEFLAG_00004000 0x00004000
|
||||
#define PROJECTILEFLAG_FREE 0x80000000
|
||||
|
||||
#define PROPFLAG_01 0x01
|
||||
#define PROPFLAG_ONSCREEN 0x02
|
||||
#define PROPFLAG_ENABLED 0x04
|
||||
#define PROPFLAG_08 0x08
|
||||
#define PROPFLAG_DONTPAUSE 0x10
|
||||
#define PROPFLAG_20 0x20
|
||||
#define PROPFLAG_40 0x40
|
||||
#define PROPFLAG_80 0x80
|
||||
#define PROPFLAG_01 0x01
|
||||
#define PROPFLAG_ONSCREEN 0x02
|
||||
#define PROPFLAG_ENABLED 0x04
|
||||
#define PROPFLAG_08 0x08
|
||||
#define PROPFLAG_DONTPAUSE 0x10
|
||||
#define PROPFLAG_20 0x20
|
||||
#define PROPFLAG_40 0x40
|
||||
#define PROPFLAG_80 0x80
|
||||
|
||||
#define PROPTYPE_OBJ 1
|
||||
#define PROPTYPE_DOOR 2
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
extern f32 var80069880;
|
||||
|
||||
void func0f0601b0(void);
|
||||
void propsSort(void);
|
||||
void propEnable(struct prop *prop);
|
||||
void propDisable(struct prop *prop);
|
||||
struct prop *propAllocate(void);
|
||||
|
||||
+3
-3
@@ -163,9 +163,9 @@ struct g_vars {
|
||||
/*00033c*/ struct prop *activeprops; // head of a doubly linked list
|
||||
/*000340*/ struct prop *activepropstail; // next pointer points to pausedprops
|
||||
/*000344*/ struct prop *freeprops; // head of a singularly linked list
|
||||
/*000348*/ struct prop **enabledprops;
|
||||
/*00034c*/ struct prop **endenabledprops;
|
||||
/*000350*/ struct prop *unk000350;
|
||||
/*000348*/ struct prop **onscreenprops; // sorted by distance, furthest first
|
||||
/*00034c*/ struct prop **endonscreenprops;
|
||||
/*000350*/ s32 numonscreenprops;
|
||||
/*000354*/ struct prop *pausedprops; // head of a doubly linked list, prev pointer points to activepropstail
|
||||
/*000358*/ u8 numpropstates;
|
||||
/*000359*/ u8 allocstateindex;
|
||||
|
||||
Reference in New Issue
Block a user