Display "PAUSED" when paused.

This commit is contained in:
Guus Sliepen 2011-09-05 11:40:35 +02:00
parent e7f5c3825b
commit f8c4a72170
1 changed files with 10 additions and 3 deletions

View File

@ -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))
{