X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=screen.h;h=4d473244db46f261e0cc80843c3a4487e5ac5e03;hp=b88a80d53ca1cf0f15d7ae81b543f6d612eb3ce9;hb=11279e294fa4b5759195d32b2afa2172b55e1f6d;hpb=55d71fbae737acf859a592911e5ffe50e777f79f diff --git a/screen.h b/screen.h index b88a80d5..4d473244 100644 --- a/screen.h +++ b/screen.h @@ -26,10 +26,10 @@ void CL_Screen_Init (void); void CL_UpdateScreen (void); void SCR_CenterPrint(const char *str); -void SCR_BeginLoadingPlaque (void); +void SCR_BeginLoadingPlaque (qboolean startup); // invoke refresh of loading plaque (nothing else seen) -void SCR_UpdateLoadingScreen(qboolean clear); +void SCR_UpdateLoadingScreen(qboolean clear, qboolean startup); void SCR_UpdateLoadingScreenIfShown(void); // pushes an item on the loading screen @@ -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