|
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 [DateTime::MONTHS_PER_YEAR] |
| int | maxFunding |
| int | maxSoldiers |
| int | maxScientists |
| int | maxWorkers |
| int | maxPilots |
Nation definition.
Definition at line 46 of file cp_nation.h.
| vec4_t nation_t::color |
The color this nation uses in the color-coded earth-map
Definition at line 51 of file cp_nation.h.
| const char* nation_t::id |
Unique ID of this nation.
Definition at line 47 of file cp_nation.h.
Referenced by CL_ParseNations(), CP_CreateCivilianTeam(), and GEO_PositionFitsTCPNTypes().
| int nation_t::idx |
position in the nations array
Definition at line 49 of file cp_nation.h.
Referenced by CL_ParseNations(), and CP_UpdateNationXVIInfection().
| int nation_t::maxFunding |
How many (monthly) credits.
Definition at line 60 of file cp_nation.h.
Referenced by NAT_GetFunding().
| int nation_t::maxPilots |
How many (monthly) pilots.
Definition at line 64 of file cp_nation.h.
| int nation_t::maxScientists |
How many (monthly) scientists.
Definition at line 62 of file cp_nation.h.
| int nation_t::maxSoldiers |
How many (monthly) soldiers.
Definition at line 61 of file cp_nation.h.
| int nation_t::maxWorkers |
How many (monthly) workers.
Definition at line 63 of file cp_nation.h.
| const char* nation_t::name |
Full name of the nation.
Definition at line 48 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_t::pos |
Nation position on geoscape.
Definition at line 52 of file cp_nation.h.
| nationInfo_t nation_t::stats[DateTime::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 54 of file cp_nation.h.
Referenced by CL_ParseNations(), NAT_GetCurrentMonthInfo(), NAT_GetFunding(), NAT_LoadXML(), and NAT_SetHappiness().