mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-07 11:57:19 -04:00
Decompile setupLoadFiles
This commit is contained in:
@@ -1135,6 +1135,11 @@
|
||||
#define LIGHTOP_TURNON 6
|
||||
#define LIGHTOP_TURNOFF 7
|
||||
|
||||
#define LOADSTATE_TILES 2
|
||||
#define LOADSTATE_SETUP 4
|
||||
#define LOADSTATE_PADS 5
|
||||
#define LOADSTATE_6 6
|
||||
|
||||
// These actions are assigned to chr->myaction
|
||||
#define MA_NONE 0
|
||||
#define MA_NORMAL 1
|
||||
|
||||
@@ -92,7 +92,7 @@ extern u32 var8005d5b8;
|
||||
extern u32 var8005d5bc;
|
||||
extern u32 var8005d880;
|
||||
extern u32 var8005d994;
|
||||
extern u8 var8005d9a0;
|
||||
extern u8 g_LoadState;
|
||||
extern s32 var8005d9c8;
|
||||
extern u32 var8005d9cc;
|
||||
extern s32 var8005d9d0;
|
||||
|
||||
@@ -55,7 +55,7 @@ extern struct stagethinglist stagethinglist_20fb8;
|
||||
extern struct stagethinglist stagethinglist_20fd8;
|
||||
extern struct stagethinglist stagethinglist_20fe8;
|
||||
extern struct stagethinglist stagethinglist_20ff8;
|
||||
extern struct propdefinition g_Props[];
|
||||
extern struct modelstate g_ModelStates[441];
|
||||
extern u8 propexplosiontypes[];
|
||||
extern struct stagethinglist stagethinglist_2208c;
|
||||
extern struct stagethinglist stagethinglist_220d0;
|
||||
|
||||
@@ -11,7 +11,7 @@ void func0f166eb4(void *dst, u32 scratchlen, u32 *romaddrptr, struct fileinfo *i
|
||||
void func0f166f74(void);
|
||||
void func0f166ff0(u16 filenum, void *memaddr, s32 offset, u32 len);
|
||||
u32 fileGetInflatedLength(u32 filenum);
|
||||
void *func0f1670fc(u32 filenum, u32 arg1);
|
||||
void *func0f1670fc(s32 filenum, u32 arg1);
|
||||
void *func0f167200(s32 filenum, s32 arg1, u8 *ptr, u32 size);
|
||||
u32 fileGetSize(s32 filenum);
|
||||
u32 fileGetUnk04(s32 filenum);
|
||||
|
||||
@@ -27,7 +27,7 @@ s32 func0f00e2b0(s32 padnum);
|
||||
void setupDoor(struct doorobj *door, s32 cmdindex);
|
||||
void setupHov(struct defaultobj *obj, struct hov *hov);
|
||||
void func0f00e980(s32 stagenum, s32 arg0, s32 arg1, struct briefing *briefing);
|
||||
void func0f00eb64(s32 stagenum);
|
||||
void setupLoadFiles(s32 stagenum);
|
||||
void setupParseObjects(s32 stagenum);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
void func0f011110(void);
|
||||
void func0f011124(bool value);
|
||||
u32 func0f011130(void);
|
||||
void func0f011130(s32 arg0, s32 numchrs);
|
||||
bool weaponLoadProjectileModels(s32 weaponnum);
|
||||
void currentPlayerInitEyespy(void);
|
||||
void currentPlayerInit(void);
|
||||
|
||||
+1
-1
@@ -5011,7 +5011,7 @@ struct chrnumaction {
|
||||
u8 myaction;
|
||||
};
|
||||
|
||||
struct propdefinition {
|
||||
struct modelstate {
|
||||
struct modelfiledata *filedata;
|
||||
u16 fileid;
|
||||
u16 scale;
|
||||
|
||||
Reference in New Issue
Block a user