UFO: Alien Invasion
Loading...
Searching...
No Matches
csi_t 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>

Collaboration diagram for csi_t:
Collaboration graph

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_t * alienTeams [MAX_TEAMS_PER_MISSION]
const chrTemplate_t * alienChrTemplates [MAX_TEAMS_PER_MISSION]
int numAlienTeams
chrTemplate_t chrTemplates [MAX_CHARACTER_TEMPLATES]
int numChrTemplates
linkedList_t * bodyTemplates
linkedList_t * actorNames
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

◆ actorNames

linkedList_t* csi_t::actorNames

Definition at line 562 of file q_shared.h.

Referenced by Com_GetNameListByID(), and Com_ParseActorNames().

◆ alienChrTemplates

const chrTemplate_t* csi_t::alienChrTemplates[MAX_TEAMS_PER_MISSION]

Definition at line 554 of file q_shared.h.

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

◆ alienTeams

const teamDef_t* csi_t::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().

◆ bodyTemplates

linkedList_t* csi_t::bodyTemplates

Definition at line 560 of file q_shared.h.

Referenced by Com_GetBodyTemplateByID(), and Com_ParseBodyTemplate().

◆ chrTemplates

chrTemplate_t csi_t::chrTemplates[MAX_CHARACTER_TEMPLATES]

character templates

Definition at line 558 of file q_shared.h.

Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().

◆ damBlast

int csi_t::damBlast

Definition at line 528 of file q_shared.h.

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

◆ damFire

int csi_t::damFire

◆ damIncendiary

int csi_t::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().

◆ damLaser

int csi_t::damLaser

Damage type ids

Definition at line 532 of file q_shared.h.

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

◆ damNormal

int csi_t::damNormal

Damage type ids

Definition at line 528 of file q_shared.h.

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

◆ damParticle

int csi_t::damParticle

Definition at line 532 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().

◆ damPlasma

int csi_t::damPlasma

Definition at line 532 of file q_shared.h.

Referenced by Com_ParseDamageTypes(), and Com_ParseScripts().

◆ damShock

int csi_t::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().

◆ damSmoke

int csi_t::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().

◆ damStunElectro

int csi_t::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().

◆ damStunGas

int csi_t::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().

◆ dts

◆ eds

◆ gts

◆ ids

◆ implants

◆ mds

mapDef_t csi_t::mds[MAX_MAPDEFS]

Map definitions

Definition at line 571 of file q_shared.h.

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

◆ numAlienTeams

int csi_t::numAlienTeams

◆ numChrTemplates

int csi_t::numChrTemplates

Definition at line 559 of file q_shared.h.

Referenced by Com_GetCharacterTemplateByID(), and Com_ParseCharacterTemplate().

◆ numDTs

◆ numEDs

◆ numGTs

◆ numIDs

int csi_t::numIDs

Definition at line 525 of file q_shared.h.

Referenced by Com_ParseInventory(), and Com_ParseScripts().

◆ numImplants

int csi_t::numImplants

◆ numMDs

◆ numODs

◆ numTeamDefs

◆ numUGV

int csi_t::numUGV

Definition at line 565 of file q_shared.h.

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

◆ ods

◆ teamDef

◆ terrainDefs

◆ ugvs

ugv_t csi_t::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: