mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-02 00:14:10 -04:00
Decompile coverLoad
This commit is contained in:
@@ -573,11 +573,14 @@
|
||||
#define CONTROLMODE_23 6
|
||||
#define CONTROLMODE_24 7
|
||||
|
||||
#define COVERFLAG_0001 0x0001
|
||||
#define COVERFLAG_INUSE 0x0002
|
||||
#define COVERFLAG_0020 0x0020
|
||||
#define COVERFLAG_0040 0x0040
|
||||
#define COVERFLAG_0080 0x0080
|
||||
#define COVERFLAG_0001 0x0001
|
||||
#define COVERFLAG_INUSE 0x0002
|
||||
#define COVERFLAG_AIMSAMEROOM 0x0004 // look + 6 metres is in the same room
|
||||
#define COVERFLAG_AIMDIFFROOM 0x0008 // look + 6 metres is not in the same room
|
||||
#define COVERFLAG_OMNIDIRECTIONAL 0x0010
|
||||
#define COVERFLAG_0020 0x0020
|
||||
#define COVERFLAG_0040 0x0040
|
||||
#define COVERFLAG_0080 0x0080
|
||||
|
||||
// L/C/R = left/centered/right
|
||||
// big/med/sml is the font size
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "types.h"
|
||||
|
||||
u32 func0f013ee0(void);
|
||||
u32 func0f014250(void);
|
||||
u32 func0f0142e8(void);
|
||||
void coverAllocateSpecial(s16 *specialcovernums);
|
||||
void coverLoad(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -17,6 +17,6 @@ void coverSetInUse(s32 covernum, bool enable);
|
||||
void coverSetFlag(s32 covernum, u32 flag);
|
||||
void coverUnsetFlag(s32 covernum, u32 flag);
|
||||
void coverSetFlag0001(s32 covernum, bool enable);
|
||||
bool coverHasSomeFlags(struct cover *cover);
|
||||
bool coverIsSpecial(struct cover *cover);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -75,7 +75,7 @@ bool roomContainsCoord(struct coord *pos, s16 roomnum);
|
||||
bool func0f161c08(struct coord *arg0, s16 roomnum);
|
||||
void func0f161d30(struct coord *arg0, s16 roomnum);
|
||||
void func0f162128(struct coord *arg0, s16 roomnum);
|
||||
void func0f162194(struct coord *arg0, s16 *rooms, s16 *arg2, s32 arg3, s16 *arg4);
|
||||
void func0f162194(struct coord *pos, s16 *rooms1, s16 *rooms2, s32 len, s16 *arg4);
|
||||
bool portalPushValue(bool value);
|
||||
bool portalPopValue(void);
|
||||
bool portalGetNthValueFromEnd(s32 offset);
|
||||
|
||||
@@ -653,9 +653,9 @@ extern s32 *g_PadsFile;
|
||||
extern u16 *g_PadOffsets;
|
||||
extern u16 *g_CoverFlags;
|
||||
extern s32 *g_CoverRooms;
|
||||
extern u32 var800a2368;
|
||||
extern u16 var800a236c;
|
||||
extern u16 *g_CoverNums;
|
||||
extern void *var800a2368;
|
||||
extern u16 g_NumSpecialCovers;
|
||||
extern u16 *g_SpecialCoverNums;
|
||||
extern struct var800a2380 var800a2380[5];
|
||||
extern struct var800a3180 var800a3180[4];
|
||||
extern u32 var800a33a0;
|
||||
|
||||
@@ -80,7 +80,7 @@ u32 func0002a13c(void);
|
||||
f32 cdFindGroundY(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype, u16 *floorflags, s16 *floorroom, s32 *inlift, struct prop **lift);
|
||||
f32 cdFindGroundYSimple(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype);
|
||||
f32 func0002a36c(struct coord *coord, s16 *rooms, u16 *floorcol, s32 arg3);
|
||||
u32 func0002a400(void);
|
||||
s32 func0002a400(struct coord *pos, s16 *rooms);
|
||||
u32 func0002a440(void);
|
||||
u32 func0002a4d0(void);
|
||||
s32 func0002a564(struct coord *pos, s16 *rooms, f32 *arg2, u32 arg3, struct coord *arg4, bool *arg5);
|
||||
|
||||
Reference in New Issue
Block a user