teamDef_s Struct Reference

#include <chr_shared.h>

Collaboration diagram for teamDef_s:
Collaboration graph
[legend]

Data Fields

int idx
char id [MAX_VAR]
char name [MAX_VAR]
char tech [MAX_VAR]
linkedList_tnames [NAME_NUM_TYPES]
int numNames [NAME_NUM_TYPES]
linkedList_tmodels [NAME_LAST]
int numModels [NAME_LAST]
linkedList_tsounds [SND_MAX][NAME_LAST]
int numSounds [SND_MAX][NAME_LAST]
racetypes_t race
qboolean armour
qboolean weapons
struct objDef_sonlyWeapon
actorSizeEnum_t size
char hitParticle [MAX_VAR]
char deathTextureName [MAX_VAR]
short resistance [MAX_DAMAGETYPES]
const chrTemplate_tcharacterTemplates [MAX_TEMPLATES_PER_TEAM]
int numTemplates

Detailed Description

Definition at line 218 of file chr_shared.h.


Field Documentation

Does this team use armour.

Definition at line 235 of file chr_shared.h.

Referenced by Com_ParseTeam(), GAME_IsArmourUseableForTeam(), and I_EquipActor().

const chrTemplate_t* teamDef_s::characterTemplates[MAX_TEMPLATES_PER_TEAM]

Definition at line 248 of file chr_shared.h.

Referenced by CHRSH_CharGenAbilitySkills(), and Com_ParseTeam().

texture name for death of any member of this team

Definition at line 244 of file chr_shared.h.

Referenced by CL_AddActor(), and Com_ParseTeam().

char teamDef_s::hitParticle[MAX_VAR]

Particle id of what particle effect should be spawned if a unit of this type is hit.

Definition at line 243 of file chr_shared.h.

Referenced by LE_ActorBodyHit().

char teamDef_s::id[MAX_VAR]

Models list per gender.

Definition at line 227 of file chr_shared.h.

Referenced by CL_PrecacheCharacterModels(), Com_GiveModel(), and Com_ParseActorModels().

char teamDef_s::name[MAX_VAR]
linkedList_t* teamDef_s::names[NAME_NUM_TYPES]

Names list per gender.

Definition at line 224 of file chr_shared.h.

Referenced by Com_GiveName(), and Com_ParseActorNames().

int teamDef_s::numModels[NAME_LAST]

Amount of models in this list for all different genders.

Definition at line 228 of file chr_shared.h.

Referenced by CL_PrecacheCharacterModels(), Com_GiveModel(), and Com_ParseActorModels().

int teamDef_s::numNames[NAME_NUM_TYPES]

Amount of names in this list for all different genders.

Definition at line 225 of file chr_shared.h.

Referenced by Com_GiveName(), and Com_ParseActorNames().

int teamDef_s::numSounds[SND_MAX][NAME_LAST]

Amount of sounds in this list for all different genders and soundtypes.

Definition at line 231 of file chr_shared.h.

Referenced by Com_GetActorSound(), and Com_ParseActorSounds().

Definition at line 249 of file chr_shared.h.

Referenced by CHRSH_CharGenAbilitySkills(), and Com_ParseTeam().

ods[] index - If this team is not able to use 'normal' weapons, we have to assign a weapon to it The default value is NONE for every 'normal' actor - but e.g. bloodspiders only have the ability to melee attack their victims. They get a weapon assigned with several bloodspider melee attack firedefitions

Definition at line 237 of file chr_shared.h.

Referenced by Com_ParseTeam(), and I_EquipActorMelee().

short teamDef_s::resistance[MAX_DAMAGETYPES]

Resistance to damage

Definition at line 246 of file chr_shared.h.

Referenced by Com_ParseTeam(), and G_Damage().

What size is this unit on the field (1=1x1 or 2=2x2)?

Definition at line 242 of file chr_shared.h.

Referenced by Com_GetCharacterValues().

linkedList_t* teamDef_s::sounds[SND_MAX][NAME_LAST]

Sounds list per gender and per sound type.

Definition at line 230 of file chr_shared.h.

Referenced by Com_GetActorSound(), and Com_ParseActorSounds().

char teamDef_s::tech[MAX_VAR]

technology_t id from research.ufo

Definition at line 222 of file chr_shared.h.

Referenced by CL_ReadSinglePlayerData().


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

Generated by  doxygen 1.6.2