diff options
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/client/client.h b/src/client/client.h index 26af5072..059167e3 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -163,10 +163,13 @@ demo through a file. typedef struct { + connstate_t state; // connection status + int clientNum; int lastPacketSentTime; // for retransmits during connection int lastPacketTime; // for timeouts + char servername[MAX_OSPATH]; // name of server from original connect (used by reconnect) netadr_t serverAddress; int connectTime; // for connection retransmits int connectPacketCount; // for display on connection dialog @@ -303,12 +306,8 @@ typedef struct { } serverInfo_t; typedef struct { - connstate_t state; // connection status - qboolean cddialog; // bring up the cd needed dialog next frame - char servername[MAX_OSPATH]; // name of server from original connect (used by reconnect) - // when the server clears the hunk, all of these must be restarted qboolean rendererStarted; qboolean soundStarted; @@ -339,6 +338,8 @@ typedef struct { serverInfo_t favoriteServers[MAX_OTHER_SERVERS]; int pingUpdateSource; // source currently pinging or updating + + char oldGame[MAX_QPATH]; // update server info netadr_t updateServer; @@ -448,8 +449,6 @@ extern cvar_t *cl_voip; // void CL_Init (void); -void CL_FlushMemory(void); -void CL_ShutdownAll(void); void CL_AddReliableCommand(const char *cmd, qboolean isDisconnectCmd); void CL_StartHunkUsers( qboolean rendererOnly ); @@ -499,7 +498,8 @@ extern kbutton_t in_speed; extern kbutton_t in_voiprecord; #endif -void CL_InitInput (void); +void CL_InitInput(void); +void CL_ShutdownInput(void); void CL_SendCmd (void); void CL_ClearState (void); void CL_ReadPackets (void); @@ -543,7 +543,8 @@ qboolean CL_UpdateVisiblePings_f( int source ); void Con_DrawCharacter (int cx, int line, int num); void Con_CheckResize (void); -void Con_Init (void); +void Con_Init(void); +void Con_Shutdown(void); void Con_Clear_f (void); void Con_ToggleConsole_f (void); void Con_DrawNotify (void); |