|
UFO: Alien Invasion
|
Detailed information about the nation relationship (currently per month, but could be used elsewhere). More...
#include <cp_nation.h>

Data Fields | |
| bool | inuse |
| float | happiness |
| int | xviInfection |
Detailed information about the nation relationship (currently per month, but could be used elsewhere).
Definition at line 35 of file cp_nation.h.
| float nationInfo_t::happiness |
percentage (0.00 - 1.00) of how the nation appreciates PHALANX. 1.00 is the maximum happiness
Definition at line 39 of file cp_nation.h.
Referenced by CP_BuildBaseGovernmentLeave(), CP_ChangeNationHappiness_f(), CP_CheckLostCondition(), CP_CheckTriggerEvent(), CP_HandleNationData(), NAT_GetCurrentHappinessString(), NAT_GetFunding(), NAT_HandleBudget(), NAT_LoadXML(), NAT_SaveXML(), NAT_SetHappiness(), NAT_UpdateHappinessForAllNations(), and UR_DialogInitSell_f().
| bool nationInfo_t::inuse |
Is this entry used?
Definition at line 36 of file cp_nation.h.
Referenced by CL_ParseNations(), NAT_LoadXML(), and NAT_SaveXML().
| int nationInfo_t::xviInfection |
Increase by one each time a XVI spread is done in this nation.
Definition at line 40 of file cp_nation.h.
Referenced by AB_BaseSearchedByNations(), CP_CheckTriggerEvent(), CP_ChooseNation(), CP_GetAverageXVIRate(), GEO_DrawMarkers(), NAT_LoadXML(), NAT_SaveXML(), and UR_DialogInitSell_f().