UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
installation_s Struct Reference

A installation with all it's data. More...

#include <cp_installation.h>

Data Fields

int idx
 
char name [MAX_VAR]
 
const installationTemplate_tinstallationTemplate
 
vec3_t pos
 
installationStatus_t installationStatus
 
float alienInterest
 
struct radar_s radar
 
baseWeapon_t batteries [MAX_INSTALLATION_BATTERIES]
 
int numBatteries
 
capacities_t ufoCapacity
 
int installationDamage
 
int buildStart
 
bool selected
 

Detailed Description

A installation with all it's data.

Definition at line 73 of file cp_installation.h.

Field Documentation

float installation_s::alienInterest

How much aliens know this installation (and may attack it)

Definition at line 83 of file cp_installation.h.

Referenced by INS_Build(), INS_LoadXML(), and UFO_UpdateAlienInterestForOneInstallation().

int installation_s::buildStart

Date when the installation building started

Definition at line 93 of file cp_installation.h.

Referenced by CreateInstallation(), INS_Build(), INS_FillUFOYardData_f(), INS_LoadXML(), and INS_SelectInstallation().

int installation_s::idx
int installation_s::installationDamage

Hit points of installation

Definition at line 92 of file cp_installation.h.

Referenced by INS_Build(), and INS_LoadXML().

struct radar_s installation_s::radar

Radar of the installation (for radar towers)

Definition at line 85 of file cp_installation.h.

Referenced by GEO_DrawMapOneInstallation(), INS_Build(), INS_LoadXML(), and RADAR_UpdateInstallationRadarCoverage().

bool installation_s::selected

current selected installation?

Definition at line 94 of file cp_installation.h.


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