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

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

#include <cp_installation.h>

Collaboration diagram for installation_t:
Collaboration graph

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

◆ alienInterest

float installation_t::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().

◆ batteries

◆ buildStart

int installation_t::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().

◆ idx

int installation_t::idx

◆ installationDamage

int installation_t::installationDamage

Hit points of installation

Definition at line 92 of file cp_installation.h.

Referenced by INS_Build(), and INS_LoadXML().

◆ installationStatus

◆ installationTemplate

◆ name

◆ numBatteries

◆ pos

◆ radar

struct radar_s installation_t::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().

◆ selected

bool installation_t::selected

current selected installation?

Definition at line 94 of file cp_installation.h.

Referenced by INS_SetCurrentSelectedInstallation().

◆ ufoCapacity


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