mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 12:40:38 +00:00
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:
parent
9df13d0dfe
commit
d2806393bb
3 changed files with 8 additions and 9 deletions
|
@ -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.
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -583,6 +583,8 @@ void DrawView(int smoothRatio, bool sceneonly)
|
||||||
if (!bFullScreen) {
|
if (!bFullScreen) {
|
||||||
MaskStatus();
|
MaskStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DrawSnakeCamStatus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue