|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: menu.c,v 1.16 2003/05/07 21:28:12 stpohle Exp $ */
|
|
|
|
|
/* $Id: menu.c,v 1.17 2003/05/07 21:30:36 stpohle Exp $ */
|
|
|
|
|
/* menu's for the game */
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
@ -276,7 +276,7 @@ menu_get_text (char *title, char *text, int len)
|
|
|
|
|
if (event.type == SDL_KEYUP)
|
|
|
|
|
keypressed = 0;
|
|
|
|
|
|
|
|
|
|
s_delay (100);
|
|
|
|
|
s_delay (25);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -469,7 +469,7 @@ char *menu_dir_select (char *title, char *path, signed char dirflags) {
|
|
|
|
|
if (!keys[SDLK_RETURN] && event.type == SDL_KEYUP)
|
|
|
|
|
keypressed = 0;
|
|
|
|
|
|
|
|
|
|
s_delay (100);
|
|
|
|
|
s_delay (25);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (max = 0, de = destart; max != sel && de != NULL; de = de->next)
|
|
|
|
|