#define MENU_H
#define M_PROG_FILENAME "menu.dat"
-#define M_NAME "MENU"
+#define M_NAME "menu"
#define M_MAX_EDICTS (1 << 11) // should be enough for a menu
enum m_state_e {
m_gameoptions,
m_slist,
m_options_effects,
- m_options_colorcontrol
+ m_options_graphics,
+ m_options_colorcontrol,
+ m_reset
};
extern enum m_state_e m_state;
//
// menu router
//
+void MR_Init_Commands (void);
void MR_Init (void);
-void MR_Restart_f (void);
-void (*MR_Keydown) (int key);
+void MR_Restart (void);
+void (*MR_Keydown) (int key, char ascii);
void (*MR_Draw) (void);
void (*MR_ToggleMenu_f) (void);
void (*MR_Shutdown) (void);