]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
experimental makefile option make DP_LINK_TO_JPEG=1 - use libjpeg.h instead of dynami...
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index df58facb50488d1c08a903bac835d1011f6f182d..dd7eed7fcb65d023d65296f60e1d9bcb2b599c3d 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -76,10 +76,11 @@ void MP_Shutdown (void);*/
 //
 // menu router
 //
+
 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);
@@ -89,9 +90,9 @@ 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;
-video_resolution_t video_resolutions[];
+extern video_resolution_t video_resolutions[];
 #endif