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 33 of file cp_nation.h.
float nationInfo_s::happiness |
percentage (0.00 - 1.00) of how the nation appreciates PHALANX. 1.00 is the maximum happiness
Definition at line 37 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_s::inuse |
Is this entry used?
Definition at line 34 of file cp_nation.h.
Referenced by CL_ParseNations(), NAT_LoadXML(), and NAT_SaveXML().
int nationInfo_s::xviInfection |
Increase by one each time a XVI spread is done in this nation.
Definition at line 38 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().