mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 08:20:40 +00:00
[client] Merge cl_screen.c
The client state that was accessed by cl_screen is now put in viewstate and maintained by the client before calling CL_UpdateScreen.
This commit is contained in:
parent
9f01cb25fe
commit
4491ce213b
23 changed files with 92 additions and 346 deletions
|
@ -176,8 +176,6 @@ extern client_static_t cls;
|
|||
the client_state_t structure is wiped completely at every server signon
|
||||
*/
|
||||
typedef struct client_state_s {
|
||||
qboolean loading;
|
||||
|
||||
int movemessages; // Since connecting to this server throw out
|
||||
// the first couple, so the player doesn't
|
||||
// accidentally do something the first frame
|
||||
|
@ -215,7 +213,6 @@ typedef struct client_state_s {
|
|||
// can't render a frame yet
|
||||
|
||||
double last_ping_request; // while showing scoreboard
|
||||
double last_servermessage; // (realtime) for net trouble icon
|
||||
|
||||
/* information that is static for the entire time connected to a server */
|
||||
|
||||
|
@ -238,7 +235,6 @@ typedef struct client_state_s {
|
|||
int sv_cshifts;
|
||||
int no_pogo_stick;
|
||||
int teamplay;
|
||||
int watervis;
|
||||
int fpd;
|
||||
int fbskins;
|
||||
|
||||
|
@ -300,10 +296,6 @@ void Cvar_Info (void *data, const struct cvar_s *cvar);
|
|||
void CL_NetGraph_Init (void);
|
||||
void CL_NetGraph_Init_Cvars (void);
|
||||
|
||||
extern struct view_s cl_screen_view;
|
||||
void CL_Init_Screen (void);
|
||||
void CL_UpdateScreen (double realtime);
|
||||
|
||||
void CL_SetState (cactive_t state);
|
||||
|
||||
void CL_Cmd_ForwardToServer (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue