UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
csi_s Struct Reference

The csi structure is the client-server-information structure which contains all the static data needed by the server and the client. More...

#include <q_shared.h>

Data Fields

objDef_t ods [MAX_OBJDEFS]
 
int numODs
 
implantDef_t implants [MAX_IMPLANTS]
 
int numImplants
 
invDef_t ids [MAX_INVDEFS]
 
int numIDs
 
int damNormal
 
int damBlast
 
int damFire
 
int damShock
 
int damLaser
 
int damPlasma
 
int damParticle
 
int damStunGas
 
int damStunElectro
 
int damSmoke
 
int damIncendiary
 
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]
 
const chrTemplate_talienChrTemplates [MAX_TEAMS_PER_MISSION]
 
int numAlienTeams
 
chrTemplate_t chrTemplates [MAX_CHARACTER_TEMPLATES]
 
int numChrTemplates
 
linkedList_tbodyTemplates
 
linkedList_tactorNames
 
ugv_t ugvs [MAX_UGV]
 
int numUGV
 
gametype_t gts [MAX_GAMETYPES]
 
int numGTs
 
mapDef_t mds [MAX_MAPDEFS]
 
int numMDs
 
TerrainDefs terrainDefs
 

Detailed Description

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

Note
Most of this comes from the script files

Definition at line 515 of file q_shared.h.

Field Documentation

linkedList_t* csi_s::actorNames

Definition at line 562 of file q_shared.h.

Referenced by Com_GetNameListByID(), and Com_ParseActorNames().

const chrTemplate_t* csi_s::alienChrTemplates[MAX_TEAMS_PER_MISSION]

Definition at line 554 of file q_shared.h.

Referenced by AI_SetStats(), BATTLE_SetVars(), and GAME_SK_SetMissionParameters().

const teamDef_t* csi_s::alienTeams[MAX_TEAMS_PER_MISSION]

the current assigned teams for this mission

Todo:
this does not belong here - this is only static data that is shared

Definition at line 553 of file q_shared.h.

Referenced by AI_SetCharacterValues(), AI_SetStats(), BATTLE_SetVars(), and GAME_SK_SetMissionParameters().

linkedList_t* csi_s::bodyTemplates

Definition at line 560 of file q_shared.h.

Referenced by Com_GetBodyTemplateByID(), and Com_ParseBodyTemplate().

chrTemplate_t csi_s::chrTemplates[MAX_CHARACTER_TEMPLATES]

character templates

Definition at line 558 of file q_shared.h.

Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().

int csi_s::damBlast

Definition at line 528 of file q_shared.h.

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

int csi_s::damFire
int csi_s::damIncendiary

incendiary damage type that spawns fire fields that will hurt actors

Definition at line 537 of file q_shared.h.

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

int csi_s::damLaser

Damage type ids

Definition at line 532 of file q_shared.h.

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

int csi_s::damNormal
int csi_s::damParticle

Definition at line 532 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().

int csi_s::damPlasma

Definition at line 532 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 529 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), G_Damage(), G_SplashDamage(), G_TreatActor(), and Touch_HurtTrigger().

int csi_s::damSmoke

smoke damage type that spawn smoke fields that blocks the visibility

Definition at line 536 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), Com_ParseScripts(), G_ClientShoot(), and G_Damage().

int csi_s::damStunElectro

Electro-Shock attack (effective against organic and robotic targets).

Definition at line 535 of file q_shared.h.

Referenced by AI_FindBestFiredef(), Com_ParseDamageTypes(), Com_ParseScripts(), G_Damage(), G_TreatActor(), and Touch_HurtTrigger().

int csi_s::damStunGas

Stun gas attack (only effective against organic targets).

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

Definition at line 533 of file q_shared.h.

Referenced by AI_FindBestFiredef(), Com_ParseDamageTypes(), Com_ParseScripts(), G_ClientShoot(), G_Damage(), LE_AddProjectile(), LET_Projectile(), SP_misc_smoke(), SP_misc_smokestun(), and Touch_HurtTrigger().

mapDef_t csi_s::mds[MAX_MAPDEFS]

Map definitions

Definition at line 571 of file q_shared.h.

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

int csi_s::numAlienTeams
int csi_s::numChrTemplates

Definition at line 559 of file q_shared.h.

Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().

int csi_s::numIDs

Definition at line 525 of file q_shared.h.

Referenced by Com_ParseInventory(), and Com_ParseScripts().

int csi_s::numImplants
int csi_s::numUGV

Definition at line 565 of file q_shared.h.

Referenced by BS_FillMarket_f(), Com_GetUGVByID(), Com_GetUGVByIDSilent(), and Com_ParseUGVs().

ugv_t csi_s::ugvs[MAX_UGV]

Definition at line 564 of file q_shared.h.

Referenced by BS_FillMarket_f(), Com_GetUGVByIDSilent(), and Com_ParseUGVs().


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