|
UFO: Alien Invasion
|
Structure of all stats collected for an actor over time. More...
#include <chr_shared.h>

Public Member Functions | |
| chrScoreGlobal_s () | |
Data Fields | |
| int | experience [SKILL_NUM_TYPES+1] |
| int | skills [SKILL_NUM_TYPES] |
| int | initialSkills [SKILL_NUM_TYPES+1] |
| int | kills [KILLED_NUM_TYPES] |
| int | stuns [KILLED_NUM_TYPES] |
| int | assignedMissions |
| int | rank |
Structure of all stats collected for an actor over time.
Definition at line 119 of file chr_shared.h.
|
inline |
Definition at line 133 of file chr_shared.h.
References assignedMissions, experience, initialSkills, kills, OBJZERO, rank, skills, and stuns.
| int chrScoreGlobal_t::assignedMissions |
Number of missions this soldier was assigned to.
Definition at line 129 of file chr_shared.h.
Referenced by CHAR_ParseData(), CHAR_UpdateData(), CHAR_UpdateStats(), chrScoreGlobal_s(), G_ClientReadCharacter(), G_SendCharacterData(), GAME_CP_CharacterCvars(), GAME_LoadCharacter(), GAME_NetSendCharacter(), and GAME_SaveCharacter().
| int chrScoreGlobal_t::experience[SKILL_NUM_TYPES+1] |
Array of experience values for all skills, and health.
Definition at line 120 of file chr_shared.h.
Referenced by AM_UpdateSurivorsAfterBattle(), CHAR_ParseData(), CHAR_UpdateData(), CHAR_UpdateSkills(), chrScoreGlobal_s(), CHRSH_CharGenAbilitySkills(), CL_SwapSkill(), G_ClientReadCharacter(), G_SendCharacterData(), G_UpdateCharacterExperience(), GAME_LoadCharacter(), GAME_NetSendCharacter(), and GAME_SaveCharacter().
| int chrScoreGlobal_t::initialSkills[SKILL_NUM_TYPES+1] |
Array of initial skills and abilities. This is the value generated at character generation time.
Definition at line 123 of file chr_shared.h.
Referenced by CHAR_UpdateSkills(), chrScoreGlobal_s(), CHRSH_CharGenAbilitySkills(), CL_CharacterSkillAndScoreCvars(), CL_SwapSkill(), GAME_LoadCharacter(), and GAME_SaveCharacter().
| int chrScoreGlobal_t::kills[KILLED_NUM_TYPES] |
Count of kills (aliens, civilians, teammates)
Definition at line 126 of file chr_shared.h.
Referenced by AM_CheckFire(), CHAR_ParseData(), CHAR_ShouldUpdateSoldierRank(), CHAR_UpdateData(), chrScoreGlobal_s(), G_ClientReadCharacter(), G_SendCharacterData(), G_UpdateCharacterBodycount(), GAME_CP_CharacterCvars(), GAME_LoadCharacter(), GAME_NetSendCharacter(), and GAME_SaveCharacter().
| int chrScoreGlobal_t::rank |
Index of rank (in ccs.ranks).
Definition at line 131 of file chr_shared.h.
Referenced by CHAR_UpdateStats(), chrScoreGlobal_s(), E_CreateEmployee(), GAME_CP_CharacterCvars(), GAME_LoadCharacter(), GAME_SaveCharacter(), and HOS_GetRank().
| int chrScoreGlobal_t::skills[SKILL_NUM_TYPES] |
Array of skills and abilities. This is the total value.
Definition at line 122 of file chr_shared.h.
Referenced by AI_SetEquipment(), AIR_PilotSurvivedCrash(), AIRFIGHT_ActionsAfterAirfight(), AIRFIGHT_ProbabilityToHit(), CHAR_ShouldUpdateSoldierRank(), CHAR_UpdateSkills(), chrScoreGlobal_s(), CHRSH_CharGenAbilitySkills(), CHRSH_UpdateCharacterWithEffect(), CL_CharacterSkillAndScoreCvars(), CL_DoSwapSkills(), CL_GetHitProbability(), CL_SwapSkill(), CL_UGVCvars(), InventoryInterface::EquipActorNormal(), G_ActorCalculateMaxTU(), G_ActorInvMove(), G_CalcEffectiveSpread(), G_ClientAssignDefaultActorValues(), G_ClientReadCharacter(), G_ClientReadInventory(), G_EventActorAppear(), G_GetEarnedExperience(), G_Morale(), G_MoraleBehaviour(), G_TreatActor(), GAME_GetChrMaxLoad(), GAME_LoadCharacter(), GAME_NetSendCharacter(), GAME_SaveCharacter(), HOS_HealCharacter(), HUD_UpdateActorLoad_f(), INV_UpdateActorLoad_f(), and InventoryInterface::PackAmmoAndWeapon().
| int chrScoreGlobal_t::stuns[KILLED_NUM_TYPES] |
Count of stuns(aliens, civilians, teammates)
Definition at line 127 of file chr_shared.h.
Referenced by CHAR_ParseData(), CHAR_UpdateData(), chrScoreGlobal_s(), G_ClientReadCharacter(), G_SendCharacterData(), G_UpdateCharacterBodycount(), GAME_LoadCharacter(), GAME_NetSendCharacter(), and GAME_SaveCharacter().