The csi structure is the client-server-information structure which contains all the UFO info needed by the server and the client. More...
#include <q_shared.h>
Data Fields | |
objDef_t | ods [MAX_OBJDEFS] |
int | numODs |
invDef_t | ids [MAX_INVDEFS] |
int | numIDs |
containerIndex_t | idRight |
containerIndex_t | idLeft |
containerIndex_t | idExtension |
containerIndex_t | idHeadgear |
containerIndex_t | idBackpack |
containerIndex_t | idBelt |
containerIndex_t | idHolster |
containerIndex_t | idArmour |
containerIndex_t | idFloor |
containerIndex_t | idEquip |
int | damNormal |
int | damBlast |
int | damFire |
int | damShock |
int | damLaser |
int | damPlasma |
int | damParticle |
int | damStunGas |
int | damStunElectro |
equipDef_t | eds [MAX_EQUIPDEFS] |
int | numEDs |
damageType_t | dts [MAX_DAMAGETYPES] |
int | numDTs |
teamDef_t | teamDef [MAX_TEAMDEFS] |
int | numTeamDefs |
const teamDef_t * | alienTeams [MAX_TEAMS_PER_MISSION] |
int | numAlienTeams |
chrTemplate_t | chrTemplates [MAX_CHARACTER_TEMPLATES] |
int | numChrTemplates |
ugv_t | ugvs [MAX_UGV] |
int | numUGV |
The csi structure is the client-server-information structure which contains all the UFO info needed by the server and the client.
Definition at line 324 of file q_shared.h.
const teamDef_t* csi_s::alienTeams[MAX_TEAMS_PER_MISSION] |
the current assigned teams for this mission
Definition at line 361 of file q_shared.h.
Referenced by AI_SetCharacterValues(), CP_SetMissionVars(), and GAME_SK_SetMissionParameters().
chrTemplate_t csi_s::chrTemplates[MAX_CHARACTER_TEMPLATES] |
character templates
Definition at line 365 of file q_shared.h.
Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().
int csi_s::damBlast |
Definition at line 339 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), and G_FireAffectedSurface().
int csi_s::damFire |
Definition at line 339 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), and G_FireAffectedSurface().
int csi_s::damLaser |
Damage type ids
Definition at line 343 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().
int csi_s::damNormal |
Damage type ids
Definition at line 339 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().
Definition at line 343 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().
int csi_s::damPlasma |
Definition at line 343 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().
int csi_s::damShock |
Flashbang-type 'damage' (i.e. Blinding).
Definition at line 340 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), G_Damage(), and G_SplashDamage().
Electro-Shock attack (effective against organic and robotic targets).
Definition at line 346 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), and G_Damage().
Stun gas attack (only effective against organic targets).
Definition at line 344 of file q_shared.h.
Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), G_Damage(), LE_AddProjectile(), and LET_Projectile().
damageType_t csi_s::dts[MAX_DAMAGETYPES] |
Damage types
Definition at line 353 of file q_shared.h.
Referenced by Com_ParseArmourOrResistance(), Com_ParseDamageTypes(), Com_ParseValue(), Com_ValueToStr(), and INV_ItemDescription().
equipDef_t csi_s::eds[MAX_EQUIPDEFS] |
Equipment definitions
Definition at line 349 of file q_shared.h.
Referenced by Com_ParseEquipment(), CP_SetAlienEquipmentByInterest(), G_SpawnAIPlayer(), GAME_SK_ChangeEquip_f(), INV_EquipmentDefSanityCheck(), and INV_GetEquipmentDefinitionByID().
Definition at line 336 of file q_shared.h.
Referenced by AI_SearchBestTarget(), Com_ParseInventory(), Com_ParseScripts(), G_Damage(), G_InventoryDropToFloorCheck(), G_InventoryToFloor(), INV_IsArmourDef(), INVSH_HasArmour(), and UI_ContainerNodeAutoPlace().
Definition at line 335 of file q_shared.h.
Referenced by Com_ParseInventory(), Com_ParseScripts(), and UI_ContainerNodeAutoPlace().
Definition at line 335 of file q_shared.h.
Referenced by Com_ParseInventory(), Com_ParseScripts(), and UI_ContainerNodeAutoPlace().
Definition at line 336 of file q_shared.h.
Referenced by CL_ActorEquipmentSelect_f(), Com_ParseInventory(), Com_ParseScripts(), INV_IsEquipDef(), UI_ContainerNodeAutoPlace(), UI_ContainerNodeDraw(), and UI_ContainerNodeUpdateEquipment().
Definition at line 334 of file q_shared.h.
Referenced by CL_InvAdd(), CL_InvDel(), Com_ParseInventory(), and Com_ParseScripts().
Definition at line 336 of file q_shared.h.
Referenced by AI_TryToReloadWeapon(), CL_EntPerish(), CL_InvAdd(), Com_ParseInventory(), Com_ParseScripts(), G_AddItemToFloor(), G_InventoryToFloor(), G_MissionThink(), G_MissionTouch(), G_MoralePanic(), G_SpawnItemOnFloor(), INV_IsFloorDef(), and LE_Cleanup().
Definition at line 335 of file q_shared.h.
Referenced by CL_InvAdd(), CL_InvDel(), Com_ParseInventory(), Com_ParseScripts(), G_PrepareShot(), and UI_ContainerNodeAutoPlace().
Definition at line 335 of file q_shared.h.
Referenced by Com_ParseInventory(), Com_ParseScripts(), and UI_ContainerNodeAutoPlace().
Definition at line 334 of file q_shared.h.
Referenced by AI_ActorThink(), AIL_canreload(), AIL_reload(), CL_ActorReload(), CL_InvAdd(), CL_InvDel(), Com_ParseInventory(), Com_ParseScripts(), G_ClientCanReload(), G_EventInventoryAmmo(), G_MoralePanic(), G_PrepareShot(), HUD_RefreshButtons(), HUD_ReloadLeft_f(), INV_IsLeftDef(), INVSH_CheckToInventory(), UI_ContainerNodeAutoPlace(), and UI_ContainerNodeDrawSingle().
Special container ids
Definition at line 334 of file q_shared.h.
Referenced by AI_ActorThink(), AIL_canreload(), AIL_reload(), CL_ActorReload(), CL_InvAdd(), CL_InvDel(), Com_ParseInventory(), Com_ParseScripts(), G_ActorReload(), G_ClientCanReload(), G_ClientGetWeaponFromInventory(), G_EventInventoryAmmo(), G_MoralePanic(), G_PrepareShot(), HUD_GetLeftHandWeapon(), HUD_RefreshButtons(), HUD_ReloadRight_f(), HUD_UpdateActor(), INV_IsRightDef(), INVSH_CheckToInventory(), UI_ContainerNodeAutoPlace(), and UI_ContainerNodeDrawSingle().
invDef_t csi_s::ids[MAX_INVDEFS] |
Inventory definitions
Definition at line 330 of file q_shared.h.
Referenced by CL_LoadItemXML(), CL_SaveItemXML(), Com_ParseInventory(), and INVSH_GetInventoryDefinitionByID().
Definition at line 362 of file q_shared.h.
Referenced by AI_SetCharacterValues(), CP_SetMissionVars(), and GAME_SK_SetMissionParameters().
Definition at line 366 of file q_shared.h.
Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().
int csi_s::numDTs |
Definition at line 354 of file q_shared.h.
Referenced by Com_ParseArmourOrResistance(), Com_ParseDamageTypes(), Com_ParseScripts(), Com_ParseValue(), and INV_ItemDescription().
int csi_s::numEDs |
Definition at line 350 of file q_shared.h.
Referenced by Com_ParseEquipment(), Com_ParseScripts(), CP_SetAlienEquipmentByInterest(), G_SpawnAIPlayer(), GAME_SK_ChangeEquip_f(), INV_EquipmentDefSanityCheck(), and INV_GetEquipmentDefinitionByID().
int csi_s::numIDs |
Definition at line 331 of file q_shared.h.
Referenced by AII_CarriedItems(), AIR_GetStorageRoom(), AIR_MoveEmployeeInventoryIntoStorage(), AIR_TransferItemsCarriedByCharacterToBase(), CL_ActorGetContainerForReload(), CL_CleanTempInventory(), CL_CleanupAircraftCrew(), CL_LoadItemXML(), CL_NetSendInventory(), CL_SaveInventoryXML(), CL_UpdateEmployeeList(), Com_ParseInventory(), Com_ParseScripts(), E_RemoveInventoryFromStorage(), G_ActorReload(), G_ClientAction(), G_ClientCanReload(), G_ClientGetWeaponFromInventory(), G_InventoryToFloor(), G_MissionTouch(), and G_SendInventory().
int csi_s::numODs |
Definition at line 327 of file q_shared.h.
Referenced by AII_GetCraftitemTechsByType(), B_InitialEquipment(), B_RemoveItemsExceedingCapacity(), B_SaveStorageXML(), B_UpdateStorageCap(), BS_BuyType(), BS_InitMarket(), BS_SaveXML(), CL_CampaignRunMarket(), CL_CanMultiplayerStart(), CL_ViewLoadMedia(), CL_ViewPrecacheModels(), Com_AddObjectLinks(), Com_ParseItem(), Com_ParseScripts(), CP_AddItemAsCollected_f(), CP_AddWeaponAmmo(), CP_ItemsSanityCheck(), G_GetObjectForFiredef(), G_ReadItem(), I_EquipActor(), INV_EquipmentDefSanityCheck(), INV_UpdateObject_f(), INVSH_GetItemByIDSilent(), INVSH_GetItemByIDX(), MP_SaveTeamMultiplayer(), PR_UpdateProductionList(), RS_InitTree(), S_LoadSamples(), SV_Map(), testItemMassActions(), TR_CargoList(), TR_CargoListSelect_f(), TR_CheckItem(), TR_EmptyTransferCargo(), TR_TransferList_Scroll_f(), TR_TransferListClear_f(), TR_TransferListSelect_f(), TR_TransferSelect(), TR_TransferStart(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeGetItem(), UI_ContainerItemIteratorNext(), UI_ContainerNodeUpdateEquipment(), and UP_Article().
Definition at line 358 of file q_shared.h.
Referenced by AL_AlienTypeToName(), AL_FillInContainment(), AL_GetAlienGlobalIDX(), AL_GetAlienIDX(), CL_ActorAdd(), CL_ActorAppear(), CL_PrecacheCharacterModels(), CL_ReadSinglePlayerData(), CL_ResetSinglePlayerData(), CL_TeamDefInitMenu(), Com_GetTeamDefinitionByID(), Com_ParseScripts(), Com_ParseTeam(), and GAME_SK_SetMissionParameters().
int csi_s::numUGV |
Definition at line 369 of file q_shared.h.
Referenced by BS_BuyType(), Com_GetUGVByID(), Com_GetUGVByIDSilent(), and Com_ParseUGVs().
objDef_t csi_s::ods[MAX_OBJDEFS] |
Object definitions
Definition at line 326 of file q_shared.h.
Referenced by BS_BuyType(), Com_AddObjectLinks(), Com_ParseItem(), G_GetObjectForFiredef(), G_ReadItem(), INVSH_GetItemByIDSilent(), INVSH_GetItemByIDX(), PR_UpdateProductionList(), and RS_InitTree().
teamDef_t csi_s::teamDef[MAX_TEAMDEFS] |
team definitions
Definition at line 357 of file q_shared.h.
Referenced by AL_AlienTypeToName(), AL_FillInContainment(), AL_GetAlienGlobalIDX(), AL_GetAlienIDX(), CL_ActorAdd(), CL_ActorAppear(), CL_PrecacheCharacterModels(), CL_ReadSinglePlayerData(), CL_ResetSinglePlayerData(), CL_TeamDefInitMenu(), Com_GetTeamDefinitionByID(), Com_ParseTeam(), G_ClientReadCharacter(), GAME_SK_SetMissionParameters(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().
ugv_t csi_s::ugvs[MAX_UGV] |
Definition at line 368 of file q_shared.h.
Referenced by BS_BuyType(), Com_GetUGVByIDSilent(), and Com_ParseUGVs().