Decompile func0f005bb0

This commit is contained in:
Ryan Dwyer
2022-01-18 08:14:28 +10:00
parent 4499898e1f
commit b4d4eb1c5f
10 changed files with 90 additions and 383 deletions
+5
View File
@@ -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
View File
@@ -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;