Display "PAUSED" when paused.
This commit is contained in:
parent
e7f5c3825b
commit
f8c4a72170
|
@ -228,11 +228,18 @@ int mainGameLoop()
|
|||
|
||||
wrapChar(&(--engine.eventTimer), 0, 60);
|
||||
|
||||
if (engine.paused)
|
||||
{
|
||||
textSurface(22, "PAUSED", -1, 300, FONT_WHITE);
|
||||
blitText(22);
|
||||
updateScreen();
|
||||
|
||||
while (engine.paused)
|
||||
{
|
||||
engine.done = checkPauseRequest();
|
||||
delayFrame();
|
||||
}
|
||||
}
|
||||
|
||||
if ((currentGame.area == 24) && (engine.addAliens > -1))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue