|
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_t::factor |
| const char* rank_t::id |
Unique identifier as parsed from the ufo files.
Definition at line 30 of file cp_rank.h.
Referenced by CL_ParseRanks().
| const char* rank_t::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_t::killedEnemies |
needed amount of enemies killed
Definition at line 36 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
| int rank_t::killedOthers |
needed amount of other actors killed
Definition at line 37 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
| int rank_t::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_t::mind |
character mind attribute needed
Definition at line 35 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank().
| const char* rank_t::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_t::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_t::type |
Definition at line 34 of file cp_rank.h.
Referenced by CHAR_ShouldUpdateSoldierRank(), and CL_ParseRanks().