PCExhumed: Add code to draw serpent cam status text on screen

# Conflicts:
#	source/exhumed/src/sound.cpp
#	source/exhumed/src/status.h
This commit is contained in:
sirlemonhead 2020-06-10 22:38:22 +01:00 committed by Christoph Oelckers
parent 9df13d0dfe
commit d2806393bb
3 changed files with 8 additions and 9 deletions

View file

@ -673,6 +673,11 @@ void StatusMessage(int messageTime, const char *fmt, ...)
} }
} }
void DrawSnakeCamStatus()
{
printext(0, 0, "S E R P E N T C A M", kTile159, 255);
}
void DrawStatus() void DrawStatus()
{ {
char numberBuf[10] = {0}; char numberBuf[10] = {0};
@ -844,10 +849,6 @@ void DrawStatus()
printext(0, 0, message_text, kTile159, 255); printext(0, 0, message_text, kTile159, 255);
} }
} }
else
{
printext(0, 0, "S E R P E N T C A M", kTile159, 255);
}
} }
// I'm not sure this really needs to be saved. // I'm not sure this really needs to be saved.

View file

@ -35,16 +35,12 @@ void SetPlayerItem(short nPlayer, short nItem);
void SetMagicFrame(); void SetMagicFrame();
void SetHealthFrame(short nVal); void SetHealthFrame(short nVal);
void SetAirFrame(); void SetAirFrame();
void MoveStatus(); void MoveStatus();
void DrawSnakeCamStatus();
void DrawStatus(); void DrawStatus();
int BuildStatusAnim(int val, int nFlags); int BuildStatusAnim(int val, int nFlags);
void SetNextItem(int nPlayer); void SetNextItem(int nPlayer);
void SetPrevItem(int nPlayer); void SetPrevItem(int nPlayer);
void SetCounter(short nVal); void SetCounter(short nVal);
void SetCounterImmediate(short nVal); void SetCounterImmediate(short nVal);

View file

@ -583,6 +583,8 @@ void DrawView(int smoothRatio, bool sceneonly)
if (!bFullScreen) { if (!bFullScreen) {
MaskStatus(); MaskStatus();
} }
DrawSnakeCamStatus();
} }
} }
} }