mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 15:53:34 -04:00
Decompile func0f005bb0
This commit is contained in:
@@ -36,6 +36,11 @@
|
||||
#define SECSTOTIME60(secs) (secs * 60)
|
||||
#define PFS(device) (device == SAVEDEVICE_GAMEPAK ? NULL : &g_Pfses[device])
|
||||
|
||||
#define USINGDEVICE(device) (!g_Vars.currentplayer->isdead \
|
||||
&& !g_InCutscene \
|
||||
&& EYESPYINACTIVE() \
|
||||
&& (g_Vars.currentplayer->devicesactive & ~g_Vars.currentplayer->devicesinhibit & (device)))
|
||||
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
#define VOLUME(volume) (volume > 0x5000 ? 0x5000 : volume)
|
||||
#else
|
||||
|
||||
+3
-3
@@ -2926,9 +2926,9 @@ struct player {
|
||||
/*0x1c10*/ bool coopcanrestart;
|
||||
/*0x1c14*/ s32 foot;
|
||||
/*0x1c18*/ f32 footstepdist;
|
||||
/*0x1c1c*/ u32 unk1c1c;
|
||||
/*0x1c20*/ u32 unk1c20;
|
||||
/*0x1c24*/ u32 unk1c24;
|
||||
/*0x1c1c*/ bool usinggoggles; // using night vision or IR scanner
|
||||
/*0x1c20*/ struct sndstate *nvhum;
|
||||
/*0x1c24*/ struct sndstate *nvoverload;
|
||||
/*0x1c28*/ s32 unk1c28;
|
||||
/*0x1c2c*/ s32 unk1c2c;
|
||||
/*0x1c30*/ s32 unk1c30;
|
||||
|
||||
Reference in New Issue
Block a user