|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: game.c,v 1.88 2004/06/16 00:41:29 stpohle Exp $
|
|
|
|
|
/* $Id: game.c,v 1.89 2004/09/12 21:49:13 stpohle Exp $
|
|
|
|
|
game.c - procedures for the game. */
|
|
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
@ -498,7 +498,7 @@ void game_showresult () {
|
|
|
|
|
SDL_Flip (gfx.screen);
|
|
|
|
|
gfx_free_players ();
|
|
|
|
|
|
|
|
|
|
while (!done) {
|
|
|
|
|
while (!done && bman.state != GS_quit) {
|
|
|
|
|
/* do the keyboard handling */
|
|
|
|
|
if (SDL_PollEvent (&event) != 0)
|
|
|
|
|
switch (event.type) {
|
|
|
|
@ -590,7 +590,7 @@ void game_menu_loop (SDL_Event *event, int eventstate) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (menu->focus->id == 3) /* End Game */
|
|
|
|
|
bman.state = GS_startup;
|
|
|
|
|
bman.state = GS_quit;
|
|
|
|
|
|
|
|
|
|
else { /* Quit Menu */
|
|
|
|
|
menu_delete (menu);
|
|
|
|
|