Not cleared on a map change (static data). More...
#include <client.h>
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_socket * | netDatagramSocket |
struct net_stream * | netStream |
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_s * | modelPool [MAX_OBJDEFS] |
s_sample_t * | soundPool [MAX_SOUNDIDS] |
int | nextUniqueCharacterNumber |
inventoryInterface_t | i |
customSkin_t | customSkins [MAX_CUSTOMSKIN] |
int | numCustomSkins |
mapDef_t | mds [MAX_MAPDEFS] |
int | numMDs |
mapDef_t * | currentMD |
Not cleared on a map change (static data).
client_static_t
structure is persistant through an arbitrary number of server connections Definition at line 60 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().
CURL* client_static_s::curl |
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().
customSkin_t client_static_s::customSkins[MAX_CUSTOMSKIN] |
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().
char client_static_s::downloadName[MAX_OSPATH] |
Definition at line 92 of file client.h.
Referenced by CL_FinishHTTPDownload(), CL_HTTP_Progress(), SCR_DrawDownloading(), and SCR_DrawLoading().
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().
queue of paths we need
Definition at line 97 of file client.h.
Referenced by CL_CancelHTTPDownloads(), CL_CheckAndQueueDownload(), CL_QueueHTTPDownload(), CL_ReVerifyHTTPQueue(), CL_SetHTTPServer(), and CL_StartNextHTTPDownload().
char client_static_s::downloadReferer[32] |
libcurl requires a static string :(
Definition at line 100 of file client.h.
Referenced by CL_ConnectionlessPacket(), and CL_StartHTTPDownload().
char client_static_s::downloadServer[512] |
base url prefix to download from
Definition at line 99 of file client.h.
Referenced by CL_CancelHTTPDownloads(), CL_ConnectionlessPacket(), CL_FinishHTTPDownload(), CL_PendingHTTPDownloads(), CL_QueueHTTPDownload(), CL_RunHTTPDownloads(), CL_SetHTTPServer(), and CL_StartHTTPDownload().
Definition at line 66 of file client.h.
Referenced by CL_Frame(), and SCR_UpdateScreen().
seconds since last frame
Definition at line 65 of file client.h.
Referenced by CL_CameraMove(), CL_CampaignRun(), CL_Frame(), CL_ParticleRun2(), LE_Think(), LM_AddToSceneOrder(), MAP_DrawMapMarkers(), SCR_RunConsole(), SEQ_Render2D(), SEQ_Render3D(), SEQ_SetCamera(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().
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 112 of file client.h.
Referenced by AIR_RemoveEmployee(), B_PackInitialEquipment(), CL_ActorCleanup(), CL_ActorRemoveFromTeamList(), CL_CleanTempInventory(), CL_CleanupAircraftCrew(), CL_EntPerish(), CL_GenerateCharacter(), CL_InvAdd(), CL_InvDel(), CL_LoadCharacterXML(), CL_LoadInventoryXML(), E_ResetEmployee(), GAME_AppendTeamMember(), GAME_EndBattlescape(), GAME_SetMode(), GAME_Spawn(), GAME_StartBattlescape(), INV_MoveItem(), INV_UnloadWeapon(), LE_Cleanup(), and UI_ContainerNodeUpdateEquipment().
Definition at line 62 of file client.h.
Referenced by Con_Close(), Con_DrawInput(), Con_DrawNotify(), Con_ToggleChat_f(), Con_ToggleConsole_f(), GAME_CP_Frame(), Key_Event(), Key_SetDest(), SCR_DrawConsole(), and SCR_RunConsole().
char client_static_s::loadingMessages[96] |
Definition at line 88 of file client.h.
Referenced by CL_SendCommand(), CL_ViewLoadMedia(), and SCR_DrawLoading().
Definition at line 87 of file client.h.
Referenced by CL_PrecacheCharacterModels(), CL_ViewLoadMedia(), CL_ViewPrecacheModels(), SCR_DrawLoading(), and SCR_DrawPrecacheScreen().
mapDef_t client_static_s::mds[MAX_MAPDEFS] |
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().
struct net_stream* client_static_s::netStream |
Definition at line 80 of file client.h.
Referenced by CL_Connect(), CL_ConnectionlessPacket(), CL_Disconnect(), CL_ForwardToServer_f(), CL_NextRound_f(), CL_Rcon_f(), CL_ReadPackets(), CL_RequestNextDownload(), CL_SelectTeam_Init_f(), CL_SendChangedUserinfos(), Cmd_ForwardToServer(), GAME_CP_InitializeBattlescape(), GAME_SpawnSoldiers(), and MSG_Write_PA().
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().
Definition at line 119 of file client.h.
Referenced by CL_InitAfter(), CL_ParseMapDefinition(), CL_ResetSinglePlayerData(), Com_GetMapDefinitionByID(), CP_ChooseMap(), CP_SaveMapDefStatXML(), GAME_MP_MapInfo(), NAT_ScriptSanityCheck(), UI_MapInfo(), UI_MapInfoGetNext(), and UI_SelectMap_f().
always increasing, no clamping, etc
Definition at line 64 of file client.h.
Referenced by CL_Frame(), CL_InitLocal(), and CL_Milliseconds().
char client_static_s::servername[MAX_VAR] |
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().
char client_static_s::serverport[16] |
port the server is running at
Definition at line 75 of file client.h.
Referenced by CL_Connect(), CL_Connect_f(), and CL_SendCommand().
s_sample_t* client_static_s::soundPool[MAX_SOUNDIDS] |
this pool is reloaded on every sound system restart
Definition at line 107 of file client.h.
Referenced by LE_PlaySoundFileForContents(), and S_LoadSamples().
Definition at line 61 of file client.h.
Referenced by CL_CameraMove(), CL_ConnectionlessPacket(), CL_Disconnect(), CL_ExecuteBattlescapeEvent(), CL_FinishHTTPDownload(), CL_ForwardToServer_f(), CL_Frame(), CL_OnBattlescape(), CL_ParticleRun(), CL_Rcon_f(), CL_Reconnect_f(), CL_RequestNextDownload(), CL_RunMapParticles(), CL_SendChangedUserinfos(), CL_SendCommand(), CL_SequenceEnd_f(), CL_SetClientState(), CL_ViewRender(), Cmd_ForwardToServer(), Con_DrawInput(), Con_ToggleChat_f(), HUD_Update(), IN_Parse(), Key_Console(), Key_Message(), LE_Think(), M_Change_f(), SCR_DrawConsole(), SCR_TimeRefresh_f(), SCR_UpdateScreen(), UI_GetReferenceString(), UI_MaterialEditorStart_f(), and UI_RadarNodeDraw().
needs to be here, because server can be shutdown, before we see the ending screen the team you are in
Definition at line 85 of file client.h.
Referenced by AII_CollectingItems(), CL_ActorAddToTeamList(), CL_ActorAppear(), CL_ActorCheckAction(), CL_ActorConfirmAction_f(), CL_ActorDie(), CL_ActorDoShootTime(), CL_ActorMoveMouse(), CL_ActorRevitalised(), CL_ActorSelect(), CL_ActorStartShoot(), CL_AddActor(), CL_AddTargetingBox(), CL_AddUGV(), CL_DoEndRound(), CL_EntPerish(), CL_GetEventTime(), CL_InvAmmo(), CL_InvReload(), CL_NextAlien_f(), CL_NextAlienVisibleFromActor_f(), CL_NextRound_f(), CL_ParseResults(), CL_Reset(), CL_TargetingStraight(), GAME_CP_Results(), GAME_MP_Results(), GAME_SK_Results(), HUD_DisplayFiremodes(), SCR_DrawCursor(), and UI_RadarNodeGetActorColor().
waiting for EV_START or timeout
Definition at line 77 of file client.h.
Referenced by CL_RequestNextDownload(), CL_SendCommand(), and CL_SetClientState().