mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[screen] Clean up some dead declarations
This commit is contained in:
parent
610bf20f2d
commit
45c3c6d7be
6 changed files with 1 additions and 30 deletions
|
@ -33,7 +33,6 @@
|
|||
|
||||
struct transform_s;
|
||||
|
||||
void SCR_Init_Cvars (void);
|
||||
void SCR_Init (void);
|
||||
|
||||
typedef void (*SCR_Func)(void);
|
||||
|
@ -41,35 +40,17 @@ typedef void (*SCR_Func)(void);
|
|||
void SCR_UpdateScreen (struct transform_s *camera, double realtime,
|
||||
SCR_Func *scr_funcs);
|
||||
|
||||
void SCR_SizeUp (void);
|
||||
void SCR_SizeDown (void);
|
||||
void SCR_BringDownConsole (void);
|
||||
void SCR_CalcRefdef (void);
|
||||
|
||||
void SCR_BeginLoadingPlaque (void);
|
||||
void SCR_EndLoadingPlaque (void);
|
||||
|
||||
struct view_s;
|
||||
|
||||
int MipColor (int r, int g, int b);
|
||||
int SCR_ModalMessage (const char *text);
|
||||
|
||||
extern float scr_con_current;
|
||||
|
||||
extern int sb_lines;
|
||||
|
||||
extern qboolean scr_disabled_for_loading;
|
||||
extern qboolean scr_skipupdate;
|
||||
extern qboolean hudswap;
|
||||
|
||||
extern struct cvar_s *scr_fov;
|
||||
extern struct cvar_s *scr_viewsize;
|
||||
|
||||
// only the refresh window will be updated unless these variables are flagged
|
||||
|
||||
extern struct qpic_s *scr_ram;
|
||||
extern struct qpic_s *scr_turtle;
|
||||
|
||||
extern struct cvar_s *hud_fps, *hud_time;
|
||||
|
||||
#endif//__QF_screen_h
|
||||
|
|
|
@ -160,7 +160,7 @@ CalcFov (float fov_x, float width, float height)
|
|||
return a;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
SCR_CalcRefdef (void)
|
||||
{
|
||||
vrect_t vrect;
|
||||
|
|
|
@ -613,8 +613,6 @@ VID_SetMode (int modenum, const byte *palette)
|
|||
return true;
|
||||
|
||||
// so Con_Printfs don't mess us up by forcing vid and snd updates
|
||||
//FIXME? temp = scr_disabled_for_loading;
|
||||
//FIXME? scr_disabled_for_loading = true;
|
||||
in_mode_set = true;
|
||||
//FIXME CDAudio_Pause ();
|
||||
//FIXME S_ClearBuffer ();
|
||||
|
@ -643,7 +641,6 @@ VID_SetMode (int modenum, const byte *palette)
|
|||
|
||||
Win_UpdateWindowStatus (0, 0); // FIXME right numbers?
|
||||
//FIXME CDAudio_Resume ();
|
||||
//FIXME? scr_disabled_for_loading = temp;
|
||||
|
||||
if (!stat) {
|
||||
VID_RestoreOldMode (original_mode);
|
||||
|
|
|
@ -257,9 +257,6 @@ CL_Disconnect (void)
|
|||
// Clean the Cshifts
|
||||
CL_StopCshifts ();
|
||||
|
||||
// bring the console down and fade the colors back to normal
|
||||
// SCR_BringDownConsole ();
|
||||
|
||||
// if running a local server, shut it down
|
||||
if (cls.demoplayback)
|
||||
CL_StopPlayback ();
|
||||
|
|
|
@ -89,7 +89,6 @@ qpic_t *sb_face_invis_invuln;
|
|||
qboolean sb_showscores;
|
||||
|
||||
int sb_lines; // scan lines to draw
|
||||
qboolean hudswap;
|
||||
|
||||
qpic_t *rsb_invbar[2];
|
||||
qpic_t *rsb_weapons[5];
|
||||
|
@ -126,7 +125,6 @@ static view_t *main_view;
|
|||
static void
|
||||
hud_swap_f (cvar_t *var)
|
||||
{
|
||||
hudswap = var->int_val;
|
||||
if (var->int_val) {
|
||||
hud_armament_view->gravity = grav_southwest;
|
||||
hud_armament_view->children[0]->gravity = grav_northwest;
|
||||
|
|
|
@ -93,7 +93,6 @@ qboolean sb_showscores;
|
|||
qboolean sb_showteamscores;
|
||||
|
||||
int sb_lines; // scan lines to draw
|
||||
qboolean hudswap;
|
||||
|
||||
static qboolean largegame = false;
|
||||
|
||||
|
@ -121,7 +120,6 @@ static void (*Sbar_Draw_DMO_func) (view_t *view, int l, int y, int skip);
|
|||
static void
|
||||
hud_swap_f (cvar_t *var)
|
||||
{
|
||||
hudswap = var->int_val;
|
||||
if (var->int_val) {
|
||||
view_setgravity (hud_armament_view, grav_southwest);
|
||||
view_setgravity (stuff_view, grav_southeast);
|
||||
|
|
Loading…
Reference in a new issue