]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - screen.h
Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / screen.h
index 68a2998d78535d730dc3eb4398645f96d63e4bf0..4d473244db46f261e0cc80843c3a4487e5ac5e03 100644 (file)
--- a/screen.h
+++ b/screen.h
@@ -74,13 +74,18 @@ extern int r_stereo_side;
 typedef struct scr_touchscreenarea_s
 {
        const char *pic;
+       const char *text;
        float rect[4];
+       float textheight;
        float active;
+       float activealpha;
+       float inactivealpha;
 }
 scr_touchscreenarea_t;
 
+// FIXME: should resize dynamically?
 extern int scr_numtouchscreenareas;
-extern scr_touchscreenarea_t scr_touchscreenareas[16];
+extern scr_touchscreenarea_t scr_touchscreenareas[128];
 
 #endif