]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
added vid.support struct containing extension detection flags, to
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index 0e52ef4aba06b7c34a0fc1bbbd3f3c777d1feb0e..c1950fc2db58e544aed0b38d3197aab102932b16 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -23,7 +23,6 @@ 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   32768 // hopefully won't have to increase this again anytime soon...
 
 enum m_state_e {
        m_none,
@@ -80,7 +79,7 @@ void MP_Shutdown (void);*/
 void MR_Init_Commands (void);
 void MR_Init (void);
 void MR_Restart (void);
-extern void (*MR_KeyEvent) (int key, char ascii, qboolean downevent);
+extern void (*MR_KeyEvent) (int key, int ascii, qboolean downevent);
 extern void (*MR_Draw) (void);
 extern void (*MR_ToggleMenu_f) (void);
 extern void (*MR_Shutdown) (void);
@@ -90,9 +89,12 @@ typedef struct video_resolution_s
        const char *type;
        int width, height;
        int conwidth, conheight;
-       double pixelheight; // pixel aspect
+       double pixelheight; ///< pixel aspect
 }
 video_resolution_t;
-extern video_resolution_t video_resolutions[];
+extern video_resolution_t *video_resolutions;
+extern int video_resolutions_count;
+extern video_resolution_t video_resolutions_hardcoded[];
+extern int video_resolutions_hardcoded_count;
 #endif