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.
27 struct portable_samplepair_s;
29 void CL_Screen_Init (void);
30 void CL_UpdateScreen (void);
31 void SCR_CenterPrint(const char *str);
33 void SCR_BeginLoadingPlaque (qbool startup);
34 void SCR_EndLoadingPlaque (void);
36 // invoke refresh of loading plaque (nothing else seen)
37 void SCR_UpdateLoadingScreen(qbool clear, qbool startup);
38 void SCR_UpdateLoadingScreenIfShown(void);
40 // pushes an item on the loading screen
41 void SCR_PushLoadingScreen (const char *msg, float len_in_parent);
42 void SCR_PopLoadingScreen (qbool redraw);
43 void SCR_ClearLoadingScreen (qbool redraw);
45 void SCR_CaptureVideo_SoundFrame(const struct portable_samplepair_s *paintbuffer, size_t length);
47 extern float scr_con_current; // current height of displayed console
51 extern struct cvar_s scr_viewsize;
52 extern struct cvar_s scr_fov;
53 extern struct cvar_s cl_showfps;
54 extern struct cvar_s cl_showtime;
55 extern struct cvar_s cl_showdate;
57 extern struct cvar_s crosshair;
58 extern struct cvar_s crosshair_size;
60 extern struct cvar_s scr_conalpha;
61 extern struct cvar_s scr_conalphafactor;
62 extern struct cvar_s scr_conalpha2factor;
63 extern struct cvar_s scr_conalpha3factor;
64 extern struct cvar_s scr_conscroll_x;
65 extern struct cvar_s scr_conscroll_y;
66 extern struct cvar_s scr_conscroll2_x;
67 extern struct cvar_s scr_conscroll2_y;
68 extern struct cvar_s scr_conscroll3_x;
69 extern struct cvar_s scr_conscroll3_y;
70 extern struct cvar_s scr_conbrightness;
71 extern struct cvar_s r_letterbox;
73 extern struct cvar_s scr_refresh;
74 extern struct cvar_s scr_stipple;
76 extern struct cvar_s r_stereo_separation;
77 extern struct cvar_s r_stereo_angle;
78 qbool R_Stereo_Active(void);
79 extern int r_stereo_side;
81 typedef struct scr_touchscreenarea_s
91 scr_touchscreenarea_t;
93 // FIXME: should resize dynamically?
94 extern int scr_numtouchscreenareas;
95 extern scr_touchscreenarea_t scr_touchscreenareas[128];