mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
Decompile func0f005bb0
This commit is contained in:
1 parent
4499898e1f
commit
b4d4eb1c5f
10 files changed
+90
-383
No files matched your search
@@ -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