mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 15:17:13 -04:00
Decompile gasTick
This commit is contained in:
@@ -545,7 +545,13 @@
|
||||
mkshort(0x003a), \
|
||||
label,
|
||||
|
||||
#define cmd003b(label) \
|
||||
/**
|
||||
* Checks if gas has been released from a gas bottle. This is different to the
|
||||
* gas that is released in Escape.
|
||||
*
|
||||
* Gas bottles aren't used in PD. This command is a leftover from GoldenEye.
|
||||
*/
|
||||
#define if_gas_active(label) \
|
||||
mkshort(0x003b), \
|
||||
label,
|
||||
|
||||
|
||||
+5
-5
@@ -226,12 +226,12 @@ extern u32 g_TintedGlassEnabled;
|
||||
extern s32 g_AlarmTimer;
|
||||
extern struct audiohandle *g_AlarmAudioHandle;
|
||||
extern f32 g_AlarmSpeakerWeight;
|
||||
extern f32 var800698e4;
|
||||
extern bool g_GasReleased;
|
||||
extern f32 g_GasReleaseTimer240;
|
||||
extern bool g_GasReleasing;
|
||||
extern struct coord g_GasPos;
|
||||
extern u32 var800698f8;
|
||||
extern f32 var800698fc;
|
||||
extern struct audiohandle *var80069900;
|
||||
extern s32 g_GasLastCough60;
|
||||
extern f32 g_GasSoundTimer240;
|
||||
extern struct audiohandle *g_GasAudioHandle;
|
||||
extern u32 g_CountdownTimerVisible;
|
||||
extern bool g_CountdownTimerRunning;
|
||||
extern f32 g_CountdownTimerValue;
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
/*0x0038*/ bool aiIfRandomGreaterThan(void);
|
||||
/*0x0039*/ bool aiIfCanHearAlarm(void);
|
||||
/*0x003a*/ bool aiIfAlarmActive(void);
|
||||
/*0x003b*/ bool ai003b(void);
|
||||
/*0x003b*/ bool aiIfGasActive(void);
|
||||
/*0x003c*/ bool aiIfHearsTarget(void);
|
||||
/*0x003d*/ bool aiIfSawInjury(void);
|
||||
/*0x003e*/ bool aiIfSawDeath(void);
|
||||
|
||||
@@ -341,9 +341,9 @@ void doorsChooseSwingDirection(struct prop *chrprop, struct doorobj *door);
|
||||
bool propdoorInteract(struct prop *doorprop);
|
||||
void alarmStopAudio(void);
|
||||
void gasReleaseFromPos(struct coord *pos);
|
||||
void func0f0904e0(void);
|
||||
bool func0f090520(void);
|
||||
void func0f09054c(void);
|
||||
void gasStopAudio(void);
|
||||
bool gasIsActive(void);
|
||||
void gasTick(void);
|
||||
Gfx *func0f0908b8(Gfx *gdl);
|
||||
void projectilesDebug(void);
|
||||
void alarmTick(void);
|
||||
|
||||
Reference in New Issue
Block a user