UFO: Alien Invasion
|
Nation definition. More...
#include <cp_nation.h>
Data Fields | |
const char * | id |
const char * | name |
int | idx |
vec4_t | color |
vec2_t | pos |
nationInfo_t | stats [MONTHS_PER_YEAR] |
int | maxFunding |
int | maxSoldiers |
int | maxScientists |
int | maxWorkers |
int | maxPilots |
Nation definition.
Definition at line 44 of file cp_nation.h.
vec4_t nation_s::color |
The color this nation uses in the color-coded earth-map
Definition at line 49 of file cp_nation.h.
const char* nation_s::id |
Unique ID of this nation.
Definition at line 45 of file cp_nation.h.
Referenced by CL_ParseNations(), CP_CreateCivilianTeam(), and GEO_PositionFitsTCPNTypes().
int nation_s::idx |
position in the nations array
Definition at line 47 of file cp_nation.h.
Referenced by CL_ParseNations(), and CP_UpdateNationXVIInfection().
int nation_s::maxFunding |
How many (monthly) credits.
Definition at line 58 of file cp_nation.h.
Referenced by NAT_GetFunding().
int nation_s::maxPilots |
How many (monthly) pilots.
Definition at line 62 of file cp_nation.h.
int nation_s::maxScientists |
How many (monthly) scientists.
Definition at line 60 of file cp_nation.h.
int nation_s::maxSoldiers |
How many (monthly) soldiers.
Definition at line 59 of file cp_nation.h.
int nation_s::maxWorkers |
How many (monthly) workers.
Definition at line 61 of file cp_nation.h.
const char* nation_s::name |
Full name of the nation.
Definition at line 46 of file cp_nation.h.
Referenced by B_BuildBase_f(), CP_MissionGetMessage(), INS_BuildInstallation_f(), INS_FillUFOYardData_f(), MIS_GetName(), NAT_SetHappiness(), NAT_UpdateHappinessForAllNations(), UR_DialogStartSell_f(), and US_FillUFOTransfer_f().
vec2_t nation_s::pos |
Nation position on geoscape.
Definition at line 50 of file cp_nation.h.
nationInfo_t nation_s::stats[MONTHS_PER_YEAR] |
Detailed information about the history of this nations relationship toward PHALANX and the aliens. The first entry [0] is the current month - all following entries are stored older months. Combined with the funding info below we can generate an overview over time.
Definition at line 52 of file cp_nation.h.
Referenced by CL_ParseNations(), NAT_GetCurrentMonthInfo(), NAT_GetFunding(), NAT_LoadXML(), and NAT_SetHappiness().