|
UFO: Alien Invasion
|
Not cleared on a map change (static data) More...
#include <client.h>

Public Member Functions | |
| bool | isOurRound () const |
Data Fields | |
| connstate_t | state |
| keydest_t | keyDest |
| int | realtime |
| float | frametime |
| float | framerate |
| int | disableScreen |
| const struct cgame_export_s * | gametype |
| char | servername [MAX_VAR] |
| char | serverport [16] |
| int | connectTime |
| int | reconnectTime |
| int | waitingForStart |
| struct net_stream * | netStream |
| int | team |
| int | teamSaveSlotIndex |
| int | currentSelectedMap |
| char | downloadName [MAX_OSPATH] |
| size_t | downloadPosition |
| int | downloadPercent |
| bool | downloadMaps |
| dlqueue_t * | downloadQueue |
| dlhandle_t | HTTPHandles [4] |
| CURL * | curl |
| char | downloadServer [512] |
| char | downloadReferer [32] |
| model_t * | modelPool [MAX_OBJDEFS] |
| int | nextUniqueCharacterNumber |
| InventoryInterface | i |
| actorSkin_t | actorSkins [MAX_ACTORSKINNAME] |
| unsigned int | numActorSkins |
| void * | cgameLibrary |
Not cleared on a map change (static data)
client_static_t structure is persistant through an arbitrary number of server connections
|
inline |
Definition at line 106 of file client.h.
References clientBattleScape_t::actTeam, and cl.
Referenced by CL_ActorAppear(), CL_ActorAppearTime(), CL_ActorCheckAction(), CL_ActorDoShootTime(), CL_ActorMoveMouse(), CL_ActorStartShoot(), CL_DoEndRound(), CL_EntPerish(), CL_NextRound_f(), CL_Reset(), HUD_DisplayActions(), LET_StartPathMove(), and SCR_DrawCursor().
| actorSkin_t client_static_t::actorSkins[MAX_ACTORSKINNAME] |
Definition at line 103 of file client.h.
Referenced by CL_AllocateActorSkin(), and CL_GetActorSkinByIDS().
| void* client_static_t::cgameLibrary |
Definition at line 112 of file client.h.
Referenced by GAME_GetCGameAPI(), GAME_LoadGame(), and GAME_UnloadGame().
| int client_static_t::connectTime |
for connection retransmits
Definition at line 70 of file client.h.
Referenced by CL_Connect(), CL_Reconnect(), and CL_SendCommand().
| int client_static_t::currentSelectedMap |
current selected multiplayer or skirmish map
Definition at line 80 of file client.h.
Referenced by GAME_GetCurrentSelectedMap(), GAME_SwitchCurrentSelectedMap(), UI_MapInfoGetNext(), and UI_SelectMap_f().
| int client_static_t::disableScreen |
showing loading plaque between levels if time gets > 30 seconds ahead, break it
Definition at line 63 of file client.h.
Referenced by SCR_BeginLoadingPlaque(), SCR_EndLoadingPlaque(), and SCR_UpdateScreen().
| bool client_static_t::downloadMaps |
Definition at line 86 of file client.h.
Referenced by CL_CanMultiplayerStart(), and CL_Precache_f().
| char client_static_t::downloadName[MAX_OSPATH] |
Definition at line 82 of file client.h.
Referenced by CL_FinishHTTPDownload(), CL_HTTP_Progress(), SCR_DrawDownloading(), and SCR_DrawLoading().
| int client_static_t::downloadPercent |
Definition at line 84 of file client.h.
Referenced by CL_HTTP_Progress(), and SCR_DrawDownloading().
| size_t client_static_t::downloadPosition |
Definition at line 83 of file client.h.
Referenced by CL_FinishHTTPDownload(), and CL_HTTP_Progress().
| dlqueue_t* client_static_t::downloadQueue |
queue of paths we need
Definition at line 88 of file client.h.
Referenced by CL_CancelHTTPDownloads(), CL_CheckAndQueueDownload(), CL_QueueHTTPDownload(), CL_ReVerifyHTTPQueue(), CL_SetHTTPServer(), and CL_StartNextHTTPDownload().
| char client_static_t::downloadReferer[32] |
libcurl requires a static string :(
Definition at line 93 of file client.h.
Referenced by CL_ConnectionlessPacket(), and CL_StartHTTPDownload().
| char client_static_t::downloadServer[512] |
base url prefix to download from
Definition at line 92 of file client.h.
Referenced by CL_CancelHTTPDownloads(), CL_ConnectionlessPacket(), CL_FinishHTTPDownload(), CL_PendingHTTPDownloads(), CL_QueueHTTPDownload(), CL_RunHTTPDownloads(), CL_SetHTTPServer(), and CL_StartHTTPDownload().
| float client_static_t::framerate |
Definition at line 60 of file client.h.
Referenced by CL_Frame(), and SCR_UpdateScreen().
| float client_static_t::frametime |
seconds since last frame
Definition at line 59 of file client.h.
Referenced by CL_CameraMove(), CL_Frame(), CL_ParticleRun2(), GAME_Frame(), LE_Think(), LM_AddToSceneOrder(), SCR_RunConsole(), SEQ_Render2D(), SEQ_Render3D(), SEQ_SetCamera(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().
| const struct cgame_export_s* client_static_t::gametype |
singleplayer or multiplayer
Definition at line 65 of file client.h.
Referenced by GAME_GetCurrentType(), and GAME_SetMode().
| dlhandle_t client_static_t::HTTPHandles[4] |
actual download handles
Definition at line 89 of file client.h.
Referenced by CL_FinishHTTPDownload(), CL_GetFreeDLHandle(), and CL_HTTP_Cleanup().
| InventoryInterface client_static_t::i |
Definition at line 101 of file client.h.
Referenced by CL_ActorCleanup(), CL_EntPerish(), CL_GenerateCharacter(), CL_InvAdd(), CL_InvDel(), GAME_AppendTeamMember(), GAME_DestroyInventory(), GAME_EndBattlescape(), GAME_EquipActor(), GAME_LoadCharacter(), GAME_LoadInventory(), GAME_RemoveFromInventory(), GAME_SetMode(), GAME_Spawn(), GAME_SpawnSoldiers(), INV_MoveItem(), INV_UnloadWeapon(), LE_Cleanup(), ResetInventoryList(), and UI_ContainerNodeUpdateEquipment().
| keydest_t client_static_t::keyDest |
Definition at line 56 of file client.h.
Referenced by Con_Close(), Con_DrawInput(), Con_ToggleChat_f(), Con_ToggleConsole_f(), GAME_Frame(), Key_Event(), Key_SetDest(), and SCR_RunConsole().
| model_t* client_static_t::modelPool[MAX_OBJDEFS] |
these models must only be loaded once
Definition at line 96 of file client.h.
Referenced by CL_ActorGetMuzzle(), CL_AddActor(), CL_AddUGV(), CL_ViewPrecacheModels(), and LE_PlaceItem().
| struct net_stream* client_static_t::netStream |
Definition at line 74 of file client.h.
Referenced by CL_Connect(), CL_ConnectionlessPacket(), CL_Disconnect(), CL_ForwardToServer_f(), CL_FreeClientStream(), CL_NextRound_f(), CL_ParseServerMessage(), CL_ReadPackets(), CL_RequestNextDownload(), CL_SendChangedUserinfos(), Cmd_ForwardToServer(), GAME_InitializeBattlescape(), GAME_NET_OOB_Printf2(), GAME_SpawnSoldiers(), GAME_StartMatch(), and MSG_Write_PA().
| int client_static_t::nextUniqueCharacterNumber |
Definition at line 99 of file client.h.
Referenced by CL_GenerateCharacter(), GAME_GetNextUniqueCharacterNumber(), and GAME_SetNextUniqueCharacterNumber().
| unsigned int client_static_t::numActorSkins |
Definition at line 104 of file client.h.
Referenced by CL_AllocateActorSkin(), CL_GetActorSkinByIDS(), and CL_GetActorSkinCount().
| int client_static_t::realtime |
always increasing, no clamping, etc
Definition at line 58 of file client.h.
Referenced by CL_Frame(), CL_InitLocal(), CL_Milliseconds(), CampaignTest::SetUpTestCase(), and UI_EnableFlashing().
| int client_static_t::reconnectTime |
time until the reconnect to a server is triggered
Definition at line 71 of file client.h.
Referenced by CL_ParseServerMessage(), CL_Reconnect(), and CL_SetClientState().
| char client_static_t::servername[MAX_VAR] |
name of server from original connect
Definition at line 68 of file client.h.
Referenced by CL_Connect(), CL_ConnectionlessPacket(), CL_SendCommand(), and GAME_SetServerInfo().
| char client_static_t::serverport[16] |
port the server is running at
Definition at line 69 of file client.h.
Referenced by CL_Connect(), CL_SendCommand(), and GAME_SetServerInfo().
| connstate_t client_static_t::state |
Definition at line 55 of file client.h.
Referenced by CL_CameraMove(), CL_ConnectionlessPacket(), CL_Disconnect(), CL_ExecuteBattlescapeEvent(), CL_FinishHTTPDownload(), CL_ForwardToServer_f(), CL_Frame(), CL_GetClientState(), CL_OnBattlescape(), CL_RequestNextDownload(), CL_SendChangedUserinfos(), CL_SendCommand(), CL_SetClientState(), CL_ViewRender(), Cmd_ForwardToServer(), Con_DrawInput(), Con_ToggleChat_f(), uiRadarNode::draw(), HUD_Update(), IN_Parse(), LE_Think(), SCR_TimeRefresh_f(), and UI_MaterialEditorStart_f().
| int client_static_t::team |
needs to be here, because server can be shutdown, before we see the ending screen the team you are in
Definition at line 77 of file client.h.
Referenced by CL_ActorAddToTeamList(), CL_ActorAppear(), CL_ActorConfirmAction_f(), CL_ActorDie(), CL_ActorRevitalised(), CL_ActorStateChange(), CL_AddActor(), CL_AddTargetingBox(), CL_AddUGV(), CL_CountVisibleEnemies(), CL_GetPlayerNum(), CL_InvAmmo(), CL_InvReload(), CL_NextAlien_f(), CL_NextAlienVisibleFromActor_f(), CL_ParseResults(), CL_PrevAlien_f(), CL_Reset(), CL_SoundEvent(), CL_TargetingStraight(), GAME_CollectItems(), GAME_GetCurrentTeam(), LE_CenterView(), S_MumbleUpdate(), and UI_RadarNodeGetActorColor().
| int client_static_t::teamSaveSlotIndex |
currently loaded team slot, -1 if no team slot was loaded
Definition at line 78 of file client.h.
Referenced by GAME_AutoTeam(), GAME_LoadDefaultTeam(), and GAME_LoadTeam_f().
| int client_static_t::waitingForStart |
waiting for EV_START or timeout
Definition at line 72 of file client.h.
Referenced by CL_RequestNextDownload(), CL_SendCommand(), CL_SetClientState(), and SCR_UpdateScreen().