|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: game.c,v 1.55 2003/09/16 20:04:05 stpohle Exp $
|
|
|
|
|
/* $Id: game.c,v 1.56 2003/09/16 22:20:03 stpohle Exp $
|
|
|
|
|
game.c - procedures for the game. */
|
|
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
@ -470,6 +470,13 @@ void game_showresult () {
|
|
|
|
|
bman.state = GS_running;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (keys[SDLK_F8] && event.type == SDL_KEYDOWN) {
|
|
|
|
|
/* Switch Fullscreen */
|
|
|
|
|
SDL_WM_ToggleFullScreen(gfx.screen);
|
|
|
|
|
gfx.fullscreen = !gfx.fullscreen;
|
|
|
|
|
bman.updatestatusbar = 1; // force an update
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (event.type == SDL_KEYUP)
|
|
|
|
|
keypressed = 0;
|
|
|
|
|
else if (event.type == SDL_KEYDOWN)
|
|
|
|
|