mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
reduce gl_rmain's dependency on cl*.h
This commit is contained in:
parent
1aef81e9ef
commit
ece576ed4b
9 changed files with 51 additions and 32 deletions
|
@ -96,6 +96,7 @@
|
|||
#include "host.h"
|
||||
#include "net.h"
|
||||
#include "pmove.h"
|
||||
#include "r_cvar.h"
|
||||
#include "sbar.h"
|
||||
#include "view.h"
|
||||
|
||||
|
@ -1484,8 +1485,13 @@ Host_Frame (float time)
|
|||
|| (cl.stats[STAT_ITEMS] & IT_INVISIBILITY)
|
||||
|| cl.stats[STAT_HEALTH] <= 0);
|
||||
r_force_fullscreen = cl.intermission;
|
||||
r_paused = cl.paused;
|
||||
r_view_model = &cl.viewent;
|
||||
|
||||
// don't allow cheats in multiplayer
|
||||
if (!atoi (Info_ValueForKey (cl.serverinfo, "watervis")))
|
||||
Cvar_SetValue (r_wateralpha, 1);
|
||||
|
||||
SCR_UpdateScreen (realtime);
|
||||
|
||||
if (host_speeds->int_val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue