csi_s Struct Reference

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>

Collaboration diagram for csi_s:
Collaboration graph
[legend]

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_talienTeams [MAX_TEAMS_PER_MISSION]
int numAlienTeams
chrTemplate_t chrTemplates [MAX_CHARACTER_TEMPLATES]
int numChrTemplates
ugv_t ugvs [MAX_UGV]
int numUGV

Detailed Description

The csi structure is the client-server-information structure which contains all the UFO info needed by the server and the client.

Note:
Most of this comes from the script files

Definition at line 324 of file q_shared.h.


Field Documentation

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().

Definition at line 339 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), and G_FireAffectedSurface().

Definition at line 339 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), and G_FireAffectedSurface().

Damage type ids

Definition at line 343 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().

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().

Definition at line 343 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().

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).

Todo:
Maybe even make a differentiation between aliens/humans here?

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]
equipDef_t csi_s::eds[MAX_EQUIPDEFS]

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 334 of file q_shared.h.

Referenced by CL_InvAdd(), CL_InvDel(), Com_ParseInventory(), and Com_ParseScripts().

Definition at line 335 of file q_shared.h.

Referenced by Com_ParseInventory(), Com_ParseScripts(), and UI_ContainerNodeAutoPlace().

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 366 of file q_shared.h.

Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().

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]
teamDef_t csi_s::teamDef[MAX_TEAMDEFS]
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().


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

Generated by  doxygen 1.6.2