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_DeferLoadingPlaque (qbool startup);
35 void SCR_EndLoadingPlaque (void);
37 // pushes an item on the loading screen
38 void SCR_PushLoadingScreen (const char *msg, float len_in_parent);
39 void SCR_PopLoadingScreen (qbool redraw);
40 void SCR_ClearLoadingScreen (qbool redraw);
42 void SCR_CaptureVideo_SoundFrame(const struct portable_samplepair_s *paintbuffer, size_t length);
44 extern unsigned int scr_con_current; // current height of displayed console
48 extern struct cvar_s scr_viewsize;
49 extern struct cvar_s scr_fov;
50 extern struct cvar_s cl_showfps;
51 extern struct cvar_s cl_showtime;
52 extern struct cvar_s cl_showdate;
54 extern struct cvar_s crosshair;
55 extern struct cvar_s crosshair_size;
57 extern struct cvar_s scr_conalpha;
58 extern struct cvar_s scr_conalphafactor;
59 extern struct cvar_s scr_conalpha2factor;
60 extern struct cvar_s scr_conalpha3factor;
61 extern struct cvar_s scr_conscroll_x;
62 extern struct cvar_s scr_conscroll_y;
63 extern struct cvar_s scr_conscroll2_x;
64 extern struct cvar_s scr_conscroll2_y;
65 extern struct cvar_s scr_conscroll3_x;
66 extern struct cvar_s scr_conscroll3_y;
67 extern struct cvar_s scr_conbrightness;
68 extern struct cvar_s r_letterbox;
70 extern struct cvar_s scr_refresh;
71 extern struct cvar_s scr_stipple;
73 extern struct cvar_s r_stereo_separation;
74 extern struct cvar_s r_stereo_angle;
75 qbool R_Stereo_Active(void);
76 extern int r_stereo_side;
78 typedef struct scr_touchscreenarea_s
88 scr_touchscreenarea_t;
90 // FIXME: should resize dynamically?
91 extern int scr_numtouchscreenareas;
92 extern scr_touchscreenarea_t scr_touchscreenareas[128];