2 Copyright (C) 1996-1997 Id Software, Inc.
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 See the GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 void CL_Screen_Init (void);
26 void CL_UpdateScreen (void);
27 void SCR_CenterPrint(const char *str);
29 void SCR_SetLoadingSplash (const char *mapname);
31 void SCR_BeginLoadingPlaque (qboolean startup);
32 void SCR_EndLoadingPlaque (void);
34 // invoke refresh of loading plaque (nothing else seen)
35 void SCR_UpdateLoadingScreen(qboolean clear, qboolean startup);
36 void SCR_UpdateLoadingScreenIfShown(void);
38 // pushes an item on the loading screen
39 void SCR_PushLoadingScreen (const char *msg, float len_in_parent);
40 void SCR_PopLoadingScreen (qboolean redraw);
41 void SCR_ClearLoadingScreen (qboolean redraw);
43 // returns true if the loading screen is waiting for a key press
44 qboolean SCR_LoadingScreenWaiting(void);
46 extern float scr_con_current; // current height of displayed console
50 extern cvar_t scr_viewsize;
51 extern cvar_t scr_fov;
52 extern cvar_t cl_showfps;
53 extern cvar_t cl_showtime;
54 extern cvar_t cl_showdate;
56 extern cvar_t crosshair;
57 extern cvar_t crosshair_size;
59 extern cvar_t scr_conalpha;
60 extern cvar_t scr_conalphafactor;
61 extern cvar_t scr_conalpha2factor;
62 extern cvar_t scr_conalpha3factor;
63 extern cvar_t scr_conscroll_x;
64 extern cvar_t scr_conscroll_y;
65 extern cvar_t scr_conscroll2_x;
66 extern cvar_t scr_conscroll2_y;
67 extern cvar_t scr_conscroll3_x;
68 extern cvar_t scr_conscroll3_y;
69 extern cvar_t scr_conbrightness;
70 extern cvar_t r_letterbox;
72 extern cvar_t scr_aspectname;
74 extern cvar_t scr_refresh;
75 extern cvar_t scr_stipple;
77 extern cvar_t r_stereo_separation;
78 extern cvar_t r_stereo_angle;
79 qboolean R_Stereo_Active(void);
80 extern int r_stereo_side;
82 typedef struct scr_touchscreenarea_s
92 scr_touchscreenarea_t;
94 // FIXME: should resize dynamically?
95 extern int scr_numtouchscreenareas;
96 extern scr_touchscreenarea_t scr_touchscreenareas[128];