client_static_s Struct Reference

Not cleared on a map change (static data). More...

#include <client.h>

Collaboration diagram for client_static_s:
Collaboration graph
[legend]

Data Fields

connstate_t state
keydest_t keyDest
int realtime
float frametime
float framerate
float disableScreen
int gametype
char servername [MAX_VAR]
char serverport [16]
int connectTime
int waitingForStart
struct datagram_socketnetDatagramSocket
struct net_streamnetStream
int challenge
int team
float loadingPercent
char loadingMessages [96]
int currentSelectedMap
char downloadName [MAX_OSPATH]
size_t downloadPosition
int downloadPercent
qboolean downloadMaps
dlqueue_t downloadQueue
dlhandle_t HTTPHandles [4]
char downloadServer [512]
char downloadReferer [32]
CURL * curl
struct model_smodelPool [MAX_OBJDEFS]
s_sample_tsoundPool [MAX_SOUNDIDS]
int nextUniqueCharacterNumber
inventoryInterface_t i
customSkin_t customSkins [MAX_CUSTOMSKIN]
int numCustomSkins
mapDef_t mds [MAX_MAPDEFS]
int numMDs
mapDef_tcurrentMD

Detailed Description

Not cleared on a map change (static data).

Note:
Only some data is set to new values on a map change
the client_static_t structure is persistant through an arbitrary number of server connections
See also:
client_state_t

Definition at line 60 of file client.h.


Field Documentation

from the server to use for connecting

Definition at line 82 of file client.h.

for connection retransmits

Definition at line 76 of file client.h.

Referenced by CL_Connect(), CL_ParseServerMessage(), CL_Reconnect_f(), and CL_SendCommand().

Definition at line 101 of file client.h.

currently selected mapdef

Definition at line 120 of file client.h.

Referenced by CP_StartMissionMap(), and GAME_MP_StartServer_f().

current selected multiplayer or skirmish map

Definition at line 90 of file client.h.

Referenced by GAME_CP_MapInfo(), GAME_MP_ChangeGametype_f(), GAME_MP_MapInfo(), GAME_MP_StartServer_f(), GAME_SK_MapInfo(), GAME_SK_Start_f(), UI_MapInfoGetNext(), and UI_SelectMap_f().

Definition at line 114 of file client.h.

Referenced by Com_AllocateCustomSkin(), and Com_GetCustomSkinByIDS().

showing loading plaque between levels if time gets > 30 seconds ahead, break it

Definition at line 69 of file client.h.

Referenced by SCR_BeginLoadingPlaque(), SCR_EndLoadingPlaque(), and SCR_UpdateScreen().

Definition at line 96 of file client.h.

Referenced by CL_CanMultiplayerStart(), and CL_Precache_f().

Definition at line 94 of file client.h.

Referenced by CL_HTTP_Progress(), and SCR_DrawDownloading().

Definition at line 93 of file client.h.

Referenced by CL_FinishHTTPDownload(), and CL_HTTP_Progress().

libcurl requires a static string :(

Definition at line 100 of file client.h.

Referenced by CL_ConnectionlessPacket(), and CL_StartHTTPDownload().

Definition at line 66 of file client.h.

Referenced by CL_Frame(), and SCR_UpdateScreen().

singleplayer or multiplayer

Definition at line 71 of file client.h.

Referenced by GAME_GetCurrentType(), and GAME_SetMode().

actual download handles

Definition at line 98 of file client.h.

Referenced by CL_FinishHTTPDownload(), CL_GetFreeDLHandle(), and CL_HTTP_Cleanup().

Definition at line 88 of file client.h.

Referenced by CL_SendCommand(), CL_ViewLoadMedia(), and SCR_DrawLoading().

Map definitions

Definition at line 118 of file client.h.

Referenced by CL_InitAfter(), CL_ParseMapDefinition(), and Com_GetMapDefByIDX().

struct model_s* client_static_s::modelPool[MAX_OBJDEFS]

these models must only be loaded once

Definition at line 104 of file client.h.

Referenced by CL_ActorGetMuzzle(), CL_AddActor(), CL_AddUGV(), CL_ViewPrecacheModels(), and LE_PlaceItem().

Definition at line 79 of file client.h.

Referenced by CL_Connect(), and CL_PingServers_f().

Definition at line 110 of file client.h.

Referenced by CL_GenerateCharacter(), CP_LoadXML(), and CP_SaveXML().

Definition at line 115 of file client.h.

Referenced by Com_AllocateCustomSkin(), and Com_GetCustomSkinByIDS().

always increasing, no clamping, etc

Definition at line 64 of file client.h.

Referenced by CL_Frame(), CL_InitLocal(), and CL_Milliseconds().

name of server from original connect

Definition at line 74 of file client.h.

Referenced by CL_Connect(), CL_Connect_f(), CL_ConnectionlessPacket(), CL_Reconnect_f(), and CL_SendCommand().

port the server is running at

Definition at line 75 of file client.h.

Referenced by CL_Connect(), CL_Connect_f(), and CL_SendCommand().

this pool is reloaded on every sound system restart

Definition at line 107 of file client.h.

Referenced by LE_PlaySoundFileForContents(), and S_LoadSamples().

waiting for EV_START or timeout

Definition at line 77 of file client.h.

Referenced by CL_RequestNextDownload(), CL_SendCommand(), and CL_SetClientState().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2