mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile countdownTimerRender
This commit is contained in:
@@ -1093,6 +1093,10 @@
|
||||
#define HITPART_GENERAL 200
|
||||
#define HITPART_GENERALHALF 201
|
||||
|
||||
#define HUDHALIGN_RIGHT 0
|
||||
#define HUDHALIGN_LEFT 1
|
||||
#define HUDHALIGN_MIDDLE 2
|
||||
|
||||
#define HUDMSGFLAG_ONLYIFALIVE 0x1
|
||||
#define HUDMSGFLAG_2 0x2
|
||||
#define HUDMSGFLAG_4 0x4
|
||||
@@ -1116,6 +1120,10 @@
|
||||
#define HUDMSGTYPE_TRAINING 10
|
||||
#define HUDMSGTYPE_11 11
|
||||
|
||||
#define HUDVALIGN_BOTTOM 0
|
||||
#define HUDVALIGN_TOP 1
|
||||
#define HUDVALIGN_MIDDLE 2
|
||||
|
||||
#define IDLEACTION_STANDING 0x01
|
||||
#define IDLEACTION_SITTING_TYPING 0x02
|
||||
#define IDLEACTION_SITTING_DORMANT 0x03
|
||||
|
||||
+2
-2
@@ -232,9 +232,9 @@ extern struct coord g_GasPos;
|
||||
extern s32 g_GasLastCough60;
|
||||
extern f32 g_GasSoundTimer240;
|
||||
extern struct audiohandle *g_GasAudioHandle;
|
||||
extern u32 g_CountdownTimerVisible;
|
||||
extern u32 g_CountdownTimerOff;
|
||||
extern bool g_CountdownTimerRunning;
|
||||
extern f32 g_CountdownTimerValue;
|
||||
extern f32 g_CountdownTimerValue60;
|
||||
extern u32 var80069910;
|
||||
extern u32 var80069914;
|
||||
extern u32 var80069918;
|
||||
|
||||
@@ -20,11 +20,11 @@ void alarmActivate(void);
|
||||
void alarmDeactivate(void);
|
||||
bool alarmIsActive(void);
|
||||
s32 audioPlayFromProp(s32 channelnum, s16 soundnum, s32 arg2, struct prop *prop, s16 arg4, u16 arg5);
|
||||
f32 countdownTimerGetValue(void);
|
||||
bool countdownTimerIsHidden(void);
|
||||
f32 countdownTimerGetValue60(void);
|
||||
bool countdownTimerIsVisible(void);
|
||||
bool countdownTimerIsRunning(void);
|
||||
void countdownTimerSetRunning(bool running);
|
||||
void countdownTimerSetValue(f32 frames);
|
||||
void countdownTimerSetValue60(f32 value);
|
||||
void countdownTimerSetVisible(u32 reason, bool visible);
|
||||
void countdownTimerTick(void);
|
||||
bool doorCallLift(struct prop *doorprop, bool allowclose);
|
||||
@@ -344,7 +344,7 @@ void gasReleaseFromPos(struct coord *pos);
|
||||
void gasStopAudio(void);
|
||||
bool gasIsActive(void);
|
||||
void gasTick(void);
|
||||
Gfx *func0f0908b8(Gfx *gdl);
|
||||
Gfx *countdownTimerRender(Gfx *gdl);
|
||||
void projectilesDebug(void);
|
||||
void alarmTick(void);
|
||||
void func0f091030(void);
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ struct g_vars {
|
||||
/*000040*/ s32 diffframe240;
|
||||
/*000044*/ f32 lvupdate240f;
|
||||
/*000048*/ f32 diffframe240f;
|
||||
/*00004c*/ f32 lvupdate240freal;
|
||||
/*00004c*/ f32 lvupdate240freal; // actually a 60 value?
|
||||
/*000050*/ f32 lvupdate240frealprev;
|
||||
/*000054*/ s32 lastframe240;
|
||||
/*000058*/ s32 thisframe240;
|
||||
|
||||
Reference in New Issue
Block a user