#include <chr_shared.h>
Data Fields | |
int | idx |
char | id [MAX_VAR] |
char | name [MAX_VAR] |
char | tech [MAX_VAR] |
linkedList_t * | names [NAME_NUM_TYPES] |
int | numNames [NAME_NUM_TYPES] |
linkedList_t * | models [NAME_LAST] |
int | numModels [NAME_LAST] |
linkedList_t * | sounds [SND_MAX][NAME_LAST] |
int | numSounds [SND_MAX][NAME_LAST] |
racetypes_t | race |
qboolean | armour |
qboolean | weapons |
struct objDef_s * | onlyWeapon |
actorSizeEnum_t | size |
char | hitParticle [MAX_VAR] |
char | deathTextureName [MAX_VAR] |
short | resistance [MAX_DAMAGETYPES] |
const chrTemplate_t * | characterTemplates [MAX_TEMPLATES_PER_TEAM] |
int | numTemplates |
Definition at line 218 of file chr_shared.h.
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().
char teamDef_s::deathTextureName[MAX_VAR] |
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] |
id from script file.
Definition at line 220 of file chr_shared.h.
Referenced by AC_SaveXML(), AI_SetCharacterValues(), AL_GetAlienIDX(), CHRSH_CharGenAbilitySkills(), CL_ReadSinglePlayerData(), CL_SaveCharacterXML(), CL_TeamDefInitMenu(), Com_GetActorSound(), Com_GetTeamDefinitionByID(), Com_GiveModel(), Com_GiveName(), Com_ParseActorModels(), Com_ParseActorNames(), Com_ParseTeam(), GAME_CP_TeamIsKnown(), I_EquipActorMelee(), TR_LoadXML(), and TR_SaveXML().
int teamDef_s::idx |
The index in the teamDef array.
Definition at line 219 of file chr_shared.h.
Referenced by AC_AlienClick(), AL_FillInContainment(), CL_ReadSinglePlayerData(), Com_ParseTeam(), G_AppearPerishEvent(), G_SendInvisible(), GAME_CP_TeamIsKnown(), and GAME_NetSendCharacter().
linkedList_t* teamDef_s::models[NAME_LAST] |
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] |
Translatable name.
Definition at line 221 of file chr_shared.h.
Referenced by AC_AlienClick(), AL_AddAliens(), AL_AlienTypeToName(), AL_FillInContainment(), CL_ActorAppear(), CL_AddTargetingBox(), CL_TeamDefInitMenu(), and I_EquipActor().
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().
struct objDef_s* teamDef_s::onlyWeapon |
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().
What is the race of this team?
Definition at line 233 of file chr_shared.h.
Referenced by CHRSH_CharGenAbilitySkills(), CHRSH_CharGetBody(), CHRSH_CharGetHead(), CHRSH_IsTeamDefAlien(), CHRSH_IsTeamDefRobot(), CL_TeamDefInitMenu(), CL_UpdateCharacterValues(), G_UpdateCharacterSkills(), and GAME_IsArmourUseableForTeam().
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().
Does this team use weapons.
Definition at line 236 of file chr_shared.h.
Referenced by AI_CivilianCalcBestAction(), AI_SetEquipment(), Com_ParseTeam(), G_ClientGetWeaponFromInventory(), G_MoralePanic(), G_ReactionFireCanBeEnabled(), and I_EquipActor().