Show text saying you can press Escape to skip during cutscenes.
Taken from MODmurky's version of Starfighter.
This commit is contained in:
parent
d6aee56670
commit
828b3eb813
|
@ -310,6 +310,8 @@ void doCutscene(int scene)
|
||||||
if ((showMessage) && (messageBox != NULL))
|
if ((showMessage) && (messageBox != NULL))
|
||||||
blit(messageBox, (screen->w - messageBox->w) / 2, screen->h - 100);
|
blit(messageBox, (screen->w - messageBox->w) / 2, screen->h - 100);
|
||||||
|
|
||||||
|
drawString("Press [Escape] to skip", -1, 580, FONT_WHITE);
|
||||||
|
|
||||||
delayFrame();
|
delayFrame();
|
||||||
|
|
||||||
if (engine.keyState[SDLK_ESCAPE])
|
if (engine.keyState[SDLK_ESCAPE])
|
||||||
|
|
Loading…
Reference in New Issue