]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
move two #defined to quakedef.h, and always include quakedef.h first before any other...
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index 8fdba99d725cf5e98e27d9a1a756677b6e85fe85..df58facb50488d1c08a903bac835d1011f6f182d 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -83,5 +83,15 @@ 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);
+
+typedef struct video_resolution_s
+{
+       const char *type;
+       int width, height;
+       int conwidth, conheight;
+       double pixelheight; // pixel aspect
+}
+video_resolution_t;
+video_resolution_t video_resolutions[];
 #endif