[screen] Move some flags into screen.h

And remove r_screen.h. Fixes windows builds due to missing
scr_skipupdate.
This commit is contained in:
Bill Currie 2022-03-09 09:31:22 +09:00
parent 5c8f3ec3ac
commit cfe0455cce
4 changed files with 2 additions and 39 deletions

View file

@ -64,7 +64,6 @@ EXTRA_DIST += \
include/r_internal.h \
include/r_local.h \
include/r_scrap.h \
include/r_screen.h \
include/r_shared.h \
include/regex.h \
include/rua_internal.h \

View file

@ -47,5 +47,7 @@ void SCR_DrawStringToSnap (const char *s, struct tex_s *tex, int x, int y);
struct tex_s *SCR_SnapScreen (unsigned width, unsigned height);
extern struct cvar_s *hud_fps, *hud_time;
extern int scr_copytop;
extern qboolean scr_skipupdate;
#endif//__QF_screen_h

View file

@ -6,7 +6,6 @@
#include "r_cvar.h"
#include "r_dynamic.h"
#include "r_local.h"
#include "r_screen.h"
#include "r_shared.h"
extern viddef_t vid; // global video state

View file

@ -1,37 +0,0 @@
/*
r_screen.h
shared screen declarations
Copyright (C) 2002 Bill Currie <bill@taniwha.org>
Author: Bill Currie <bill@taniwha.org>
Date: 2002/12/11
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
*/
#ifndef __r_screen_h
#define __r_screen_h
extern int scr_copytop;
extern qboolean scr_skipupdate;
#endif//__r_screen_h