]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
added DP_QC_STRFTIME extension
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index 73adb73887d1d88cb3320df11b3900e9eb5969ce..e4722c7785ce65ac49df0c0022213c91bd97c480 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #define M_PROG_FILENAME "menu.dat"
 #define M_NAME "menu"
-#define M_MAX_EDICTS   (1 << 12) // should be enough for a menu
+#define M_MAX_EDICTS   32768 // hopefully won't have to increase this again anytime soon...
 
 enum m_state_e {
        m_none,
@@ -59,7 +59,7 @@ void M_Update_Return_Reason(char *s);
 // hard-coded menus
 //
 void M_Init (void);
-void M_Keydown (int key);
+void M_KeyEvent (int key);
 void M_Draw (void);
 void M_ToggleMenu_f (void);
 
@@ -67,7 +67,7 @@ void M_ToggleMenu_f (void);
 // menu prog menu
 //
 void MP_Init (void);
-void MP_Keydown (int key);
+void MP_KeyEvent (int key);
 void MP_Draw (void);
 void MP_ToggleMenu_f (void);
 void MP_Shutdown (void);*/
@@ -78,7 +78,7 @@ void MP_Shutdown (void);*/
 void MR_Init_Commands (void);
 void MR_Init (void);
 void MR_Restart (void);
-extern void (*MR_Keydown) (int key, char ascii);
+extern void (*MR_KeyEvent) (int key, char ascii, qboolean downevent);
 extern void (*MR_Draw) (void);
 extern void (*MR_ToggleMenu_f) (void);
 extern void (*MR_Shutdown) (void);