mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-11 21:18:17 -04:00
Decompile doorsCalcFrac
This commit is contained in:
@@ -494,7 +494,7 @@
|
||||
#define CHRHFLAG_IS_HEARING_TARGET 0x00000002 // Not used in scripts
|
||||
#define CHRHFLAG_00000004 0x00000004 // Related to firing - hand 1
|
||||
#define CHRHFLAG_00000008 0x00000008 // Related to firing - hand 0
|
||||
#define CHRHFLAG_00000010 0x00000010 // Not used in scripts
|
||||
#define CHRHFLAG_BLOCKINGDOOR 0x00000010
|
||||
#define CHRHFLAG_REAPED 0x00000020
|
||||
#define CHRHFLAG_TIMER_RUNNING 0x00000040
|
||||
#define CHRHFLAG_00000080 0x00000080 // Not used in scripts
|
||||
@@ -713,7 +713,7 @@
|
||||
#define DOORFLAG_0100 0x0100
|
||||
#define DOORFLAG_LONGRANGE 0x0200
|
||||
#define DOORFLAG_DAMAGEONCONTACT 0x0400 // Lasers
|
||||
#define DOORFLAG_0800 0x0800 // Non-CI lasers, and floor grates
|
||||
#define DOORFLAG_UNBLOCKABLEOPEN 0x0800 // Skip collision checks when opening
|
||||
#define DOORFLAG_4000 0x4000 // Two Investigation vertical doors after lasers
|
||||
|
||||
#define DOORMODE_IDLE 0
|
||||
|
||||
@@ -15,7 +15,7 @@ extern struct animfloats var80067b30;
|
||||
extern struct animfloats var80067b78;
|
||||
|
||||
f32 func0f02dff0(s16 animnum);
|
||||
s32 func0f02e064(struct chrdata *chr);
|
||||
bool func0f02e064(struct chrdata *chr);
|
||||
bool weaponIsOneHanded(struct prop *prop);
|
||||
f32 chrGetRangedSpeed(struct chrdata *chr, f32 min, f32 max);
|
||||
s32 chrGetPercentageOfSlowness(struct chrdata *chr, s32 percentage);
|
||||
|
||||
@@ -305,8 +305,8 @@ void func0f08c424(struct doorobj *door, Mtxf *matrix);
|
||||
void doorGetBbox(struct doorobj *door, struct modelrodata_bbox *dst);
|
||||
u32 func0f08c54c(struct doorobj *door);
|
||||
u32 func0f08cb20(void);
|
||||
u32 func0f08d3dc(void);
|
||||
u32 func0f08d460(void);
|
||||
void func0f08d3dc(struct doorobj *door);
|
||||
void func0f08d460(struct doorobj *door);
|
||||
void doorActivatePortal(struct doorobj *door);
|
||||
void doorDeactivatePortal(struct doorobj *door);
|
||||
struct prop *func0f08d540(struct doorobj *door, struct coord *pos, f32 *matrix, s16 *rooms, struct coord *coord, struct coord *centre);
|
||||
@@ -330,7 +330,7 @@ bool func0f08e8ac(struct prop *prop, struct coord *coord, f32 arg2, bool arg3);
|
||||
bool posIsInDrawDistance(struct coord *arg);
|
||||
void func0f08ea50(struct doorobj *door);
|
||||
bool func0f08ed74(struct doorobj *door);
|
||||
void doorDoCalc(struct doorobj *door);
|
||||
void doorsCalcFrac(struct doorobj *door);
|
||||
f32 func0f08f538(f32 x, f32 y);
|
||||
u32 func0f08f604(void);
|
||||
bool func0f08f968(struct doorobj *door, bool arg1);
|
||||
|
||||
Reference in New Issue
Block a user