rank_s Struct Reference

Describes a rank that a recruit can gain. More...

#include <cp_rank.h>

Data Fields

char * id
char name [MAX_VAR]
char shortname [8]
char * image
int type
int mind
int killedEnemies
int killedOthers
float factor

Detailed Description

Describes a rank that a recruit can gain.

Definition at line 31 of file cp_rank.h.


Field Documentation

a factor that is used to e.g. increase the win probability for auto missions

Definition at line 40 of file cp_rank.h.

Referenced by CP_GetWinProbabilty().

char* rank_s::id

Unique identifier as parsed from the ufo files.

Definition at line 32 of file cp_rank.h.

Referenced by CL_GetRankIdx(), and CL_ParseRanks().

Image to show in menu

Definition at line 35 of file cp_rank.h.

Referenced by GAME_CP_CharacterCvars().

needed amount of enemies killed

Definition at line 38 of file cp_rank.h.

Referenced by CL_ShouldUpdateSoldierRank().

needed amount of other actors killed

Definition at line 39 of file cp_rank.h.

Referenced by CL_ShouldUpdateSoldierRank().

character mind attribute needed

Definition at line 37 of file cp_rank.h.

Referenced by CL_ShouldUpdateSoldierRank().

char rank_s::name[MAX_VAR]

Rank name (Captain, Squad Leader)

Definition at line 33 of file cp_rank.h.

Referenced by CL_ParseRanks(), CL_UpdateCharacterStats(), GAME_CP_CharacterCvars(), and HOS_UpdateMenu().

Rank shortname (Cpt, Sqd Ldr)

Definition at line 34 of file cp_rank.h.

Referenced by CL_ParseRanks(), TR_CargoList(), TR_CheckEmployee(), and TR_TransferSelect().

employeeType_t

Definition at line 36 of file cp_rank.h.

Referenced by CL_ParseRanks(), and CL_ShouldUpdateSoldierRank().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2