UFO: Alien Invasion
Loading...
Searching...
No Matches
nationInfo_t Struct Reference

Detailed information about the nation relationship (currently per month, but could be used elsewhere). More...

#include <cp_nation.h>

Collaboration diagram for nationInfo_t:
Collaboration graph

Data Fields

bool inuse
float happiness
int xviInfection

Detailed Description

Detailed information about the nation relationship (currently per month, but could be used elsewhere).

Todo
Maybe we should also move the "funding" stuff (see nation_t) in here? It is static right now though so i see no reason to do that yet.

Definition at line 35 of file cp_nation.h.

Field Documentation

◆ happiness

◆ inuse

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().

◆ xviInfection

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().


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