UFO: Alien Invasion
|
Describes a rank that a recruit can gain. More...
#include <cp_rank.h>
Data Fields | |
const char * | id |
const char * | name |
const char * | shortname |
const char * | image |
int | type |
int | mind |
int | killedEnemies |
int | killedOthers |
float | factor |
int | level |
float rank_s::factor |
const char* rank_s::id |
Unique identifier as parsed from the ufo files.
Definition at line 30 of file cp_rank.h.
Referenced by CL_GetRankIdx(), and CL_ParseRanks().
const char* rank_s::image |
Image to show in menu
Definition at line 33 of file cp_rank.h.
Referenced by CL_ParseRanks(), and GAME_CP_CharacterCvars().
int rank_s::killedEnemies |
needed amount of enemies killed
Definition at line 36 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
int rank_s::killedOthers |
needed amount of other actors killed
Definition at line 37 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
int rank_s::level |
rank level for given employee type
Definition at line 40 of file cp_rank.h.
Referenced by CL_ParseRanks(), and Employee::salary().
int rank_s::mind |
character mind attribute needed
Definition at line 35 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
const char* rank_s::name |
Rank name (Captain, Squad Leader)
Definition at line 31 of file cp_rank.h.
Referenced by CHAR_UpdateStats(), CL_ParseRanks(), GAME_CP_CharacterCvars(), and HOS_GetRank().
const char* rank_s::shortname |
Rank shortname (Cpt, Sqd Ldr)
Definition at line 32 of file cp_rank.h.
Referenced by CL_ParseRanks(), CP_TEAM_FillBDEFEmployeeList_f(), GAME_CP_CharacterCvars(), TR_CargoList(), and TR_FillEmployees().
int rank_s::type |
employeeType_t
Definition at line 34 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank(), and CL_ParseRanks().