moved savelevel() code to level.h/c where it belongs to. :)
[supertux.git] / src / menu.h
index 0d9dc41..92a801a 100644 (file)
@@ -23,7 +23,7 @@ int show_menu;
 int menu_change;
 
 #define MENU_MAIN_ITEM_MAX 3
-#define MENU_GAME_ITEM_MAX 2
+#define MENU_GAME_ITEM_MAX 4
 #define MENU_OPTIONS_ITEM_MAX 3
 #define MENU_LEVELEDITOR_ITEM_MAX 4
 
@@ -39,9 +39,14 @@ enum {
   MENU_MAIN,
   MENU_GAME,
   MENU_OPTIONS,
-  MENU_LEVELEDITOR
+  MENU_LEVELEDITOR,
+  MENU_HIGHSCORE
 };
 
+/* input implementation variables */
+int delete_character;
+char input_string[62];
+
 /* Initialize the menu variables */
 void initmenu(void);
 
@@ -49,7 +54,7 @@ void initmenu(void);
 int drawmenu(void);
 
 /* Check for a menu event */
-void menu_event(SDLKey key);
+void menu_event(SDL_keysym* keysym);
 
 #endif /*SUPERTUX_MENU_H*/