|
UFO: Alien Invasion
|
#include <chr_shared.h>

Data Structures | |
| struct | model_t |
Public Member Functions | |
| const char * | getActorSound (int gender, actorSound_t soundType) const |
Data Fields | |
| int | idx |
| char | id [MAX_VAR] |
| char | name [MAX_VAR] |
| char | tech [MAX_VAR] |
| char | footstepSound [MAX_VAR] |
| linkedList_t *const * | names |
| const int * | numNames |
| linkedList_t * | models [NAME_LAST] |
| int | numModels [NAME_LAST] |
| linkedList_t * | sounds [SND_MAX][NAME_LAST] |
| int | numSounds [SND_MAX][NAME_LAST] |
| int | team |
| bool | robot |
| bool | armour |
| bool | weapons |
| const objDef_t * | 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 |
| const BodyData * | bodyTemplate |
Definition at line 307 of file chr_shared.h.
| const char * teamDef_t::getActorSound | ( | int | gender, |
| actorSound_t | soundType ) const |
Referenced by CL_ActorPlaySound(), G_SplashDamage(), and Touch_HurtTrigger().
| bool teamDef_t::armour |
Does this team use armour.
Definition at line 334 of file chr_shared.h.
Referenced by CHRSH_IsArmourUseableForTeam(), Com_ParseTeam(), InventoryInterface::EquipActorNormal(), and TEST_F().
| const BodyData* teamDef_t::bodyTemplate |
Definition at line 350 of file chr_shared.h.
Referenced by AI_SetStats(), AM_CheckFire(), CL_ActorInjuryModifier(), CL_ActorWound(), Com_ParseTeam(), G_ActorGetInjuryPenalty(), G_BleedWounds(), G_ClientReadCharacter(), G_DamageActor(), G_IsActorWounded(), G_SendWoundStats(), G_TreatActor(), GAME_LoadCharacter(), GAME_NetSendCharacter(), GAME_SaveCharacter(), HOS_EntryWoundData(), HOS_GetInjuryLevel(), and HOS_HealWounds().
| const chrTemplate_t* teamDef_t::characterTemplates[MAX_TEMPLATES_PER_TEAM] |
Definition at line 347 of file chr_shared.h.
Referenced by CHRSH_CharGenAbilitySkills(), CHRSH_GetTemplateByID(), and Com_ParseTeam().
| char teamDef_t::deathTextureName[MAX_VAR] |
texture name for death of any member of this team
Definition at line 343 of file chr_shared.h.
Referenced by CL_AddActor(), and Com_ParseTeam().
| char teamDef_t::footstepSound[MAX_VAR] |
Definition at line 312 of file chr_shared.h.
Referenced by G_SendFootstepSound(), and LE_PlayFootStepSound().
| char teamDef_t::hitParticle[MAX_VAR] |
Particle id of what particle effect should be spawned if a unit of this type is hit.
Definition at line 342 of file chr_shared.h.
Referenced by LE_ActorBodyHit().
| char teamDef_t::id[MAX_VAR] |
id from script file.
Definition at line 309 of file chr_shared.h.
Referenced by AI_SetCharacterValues(), AIL_InitActor(), AM_CreateUnitChr(), CHRSH_CharGenAbilitySkills(), CL_TeamDefInitMenu(), Com_GetTeamDefinitionByID(), Com_GiveModel(), Com_GiveName(), Com_ParseActorModels(), Com_ParseTeam(), CP_ParseCampaignData(), InventoryInterface::EquipActorMelee(), GAME_AppendTeamMember(), GAME_CP_TeamIsKnown(), GAME_SaveCharacter(), RS_GetTechForTeam(), TEST_F(), and TEST_F().
| int teamDef_t::idx |
The index in the teamDef array.
Definition at line 308 of file chr_shared.h.
Referenced by Com_ParseTeam(), CP_ParseCampaignData(), G_EventActorAdd(), G_EventActorAppear(), GAME_CP_TeamIsKnown(), GAME_NetSendCharacter(), and RS_GetTechForTeam().
| linkedList_t* teamDef_t::models[NAME_LAST] |
Models list per gender.
Definition at line 325 of file chr_shared.h.
Referenced by CL_PrecacheCharacterModels(), Com_GiveModel(), Com_ParseActorModels(), and TEST_F().
| char teamDef_t::name[MAX_VAR] |
Translatable name.
Definition at line 310 of file chr_shared.h.
Referenced by CL_ActorAppear(), CL_TeamDefInitMenu(), Com_GetGender(), and InventoryInterface::EquipActorNormal().
| linkedList_t* const* teamDef_t::names |
Names list per gender.
Definition at line 314 of file chr_shared.h.
Referenced by Com_GiveName(), and Com_ParseTeam().
Amount of models in this list for all different genders.
Definition at line 326 of file chr_shared.h.
Referenced by CL_PrecacheCharacterModels(), Com_GetGender(), Com_GiveModel(), Com_ParseActorModels(), and TEST_F().
| const int* teamDef_t::numNames |
Amount of names in this list for all different genders.
Definition at line 315 of file chr_shared.h.
Referenced by Com_GetGender(), Com_GiveName(), and Com_ParseTeam().
Amount of sounds in this list for all different genders and soundtypes.
Definition at line 329 of file chr_shared.h.
Referenced by Com_ParseActorSounds().
| int teamDef_t::numTemplates |
Definition at line 348 of file chr_shared.h.
Referenced by CHRSH_CharGenAbilitySkills(), CHRSH_GetTemplateByID(), Com_ParseTeam(), and TEST_F().
| const objDef_t* teamDef_t::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 firedefinitions
Definition at line 336 of file chr_shared.h.
Referenced by AI_SetEquipment(), AM_CreateUnitChr(), Com_ParseTeam(), InventoryInterface::EquipActorMelee(), G_ReactionFireCanBeEnabled(), and GAME_AppendTeamMember().
| short teamDef_t::resistance[MAX_DAMAGETYPES] |
Resistance to damage
Definition at line 345 of file chr_shared.h.
Referenced by Com_ParseTeam(), and G_ApplyProtection().
| bool teamDef_t::robot |
Definition at line 333 of file chr_shared.h.
Referenced by CHRSH_CharGetHead(), CHRSH_IsTeamDefRobot(), CL_GetReactionFireHead(), CL_UpdateCharacterValues(), InventoryInterface::EquipActor(), G_UpdateCharacterExperience(), GAME_AppendTeamMember(), and Touch_HurtTrigger().
| actorSizeEnum_t teamDef_t::size |
What size is this unit on the field (1=1x1 or 2=2x2)?
Definition at line 341 of file chr_shared.h.
Referenced by Com_GetCharacterValues().
| linkedList_t* teamDef_t::sounds[SND_MAX][NAME_LAST] |
Sounds list per gender and per sound type.
Definition at line 328 of file chr_shared.h.
Referenced by Com_ParseActorSounds(), and TEST_F().
| int teamDef_t::team |
What is the race of this team?
Definition at line 331 of file chr_shared.h.
Referenced by CHRSH_CharGenAbilitySkills(), CHRSH_IsArmourUseableForTeam(), CHRSH_IsTeamDefAlien(), and CL_TeamDefInitMenu().
| char teamDef_t::tech[MAX_VAR] |
technology_t id from research.ufo
Definition at line 311 of file chr_shared.h.
Referenced by CP_ParseCampaignData().
| bool teamDef_t::weapons |
Does this team use weapons.
Definition at line 335 of file chr_shared.h.
Referenced by AI_CivilianCalcActionScore(), Com_ParseTeam(), InventoryInterface::EquipActor(), InventoryInterface::EquipActorNormal(), G_ClientGetWeaponFromInventory(), G_MoralePanic(), and G_ReactionFireCanBeEnabled().