X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=screen.h;h=4d473244db46f261e0cc80843c3a4487e5ac5e03;hb=ff2b13639f3e5b83386155944f4d1efee3582ed2;hp=68a2998d78535d730dc3eb4398645f96d63e4bf0;hpb=d6f8468a651dc24bae9974b0b37e4d1fb04cacda;p=xonotic%2Fdarkplaces.git diff --git a/screen.h b/screen.h index 68a2998d..4d473244 100644 --- 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