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

#include <cp_installation.h>

Collaboration diagram for installationTemplate_t:
Collaboration graph

Data Fields

char * id
char * name
char * description
installationType_t type
int cost
int radarRange
int trackingRange
int maxBatteries
int maxUFOsStored
int maxDamage
int buildTime
char * model
char * image
struct technology_s * tech
bool once

Detailed Description

Definition at line 52 of file cp_installation.h.

Field Documentation

◆ buildTime

int installationTemplate_t::buildTime

Time to build the installation, in days.

Definition at line 64 of file cp_installation.h.

Referenced by CreateInstallation(), INS_FillTypes_f(), INS_FillUFOYardData_f(), INS_SelectInstallation(), and INS_SelectType_f().

◆ cost

int installationTemplate_t::cost

Price of the installation.

Definition at line 58 of file cp_installation.h.

Referenced by INS_BuildInstallation_f(), INS_FillTypes_f(), and INS_SelectType_f().

◆ description

char* installationTemplate_t::description

Short description in build dialog

Definition at line 55 of file cp_installation.h.

Referenced by INS_SetInstallationTitle().

◆ id

char* installationTemplate_t::id

◆ image

char* installationTemplate_t::image

Image used on 2D geoscape

Definition at line 66 of file cp_installation.h.

Referenced by GEO_DrawMapOneInstallation().

◆ maxBatteries

int installationTemplate_t::maxBatteries

The maximum number of battery slots that can be used in an installation.

Definition at line 61 of file cp_installation.h.

Referenced by AII_InstallationCanShoot(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_InitialiseInstallationSlots(), CL_PopupInterceptBaseClick_f(), GEO_DrawMapOneInstallation(), INS_FinishInstallation(), and INS_LoadXML().

◆ maxDamage

int installationTemplate_t::maxDamage

The maximum amount of damage an installation can sustain before it is destroyed.

Definition at line 63 of file cp_installation.h.

Referenced by INS_Build().

◆ maxUFOsStored

int installationTemplate_t::maxUFOsStored

The maximum number of ufos that can be stored in an installation.

Definition at line 62 of file cp_installation.h.

Referenced by INS_FinishInstallation(), and INS_LoadXML().

◆ model

char* installationTemplate_t::model

Model used on 3D geoscape

Definition at line 65 of file cp_installation.h.

Referenced by GEO_DrawMapOneInstallation().

◆ name

char* installationTemplate_t::name

Name of the installation (as you see it ingame).

Definition at line 54 of file cp_installation.h.

Referenced by CP_SpawnUFOCarrier_f(), INS_FillTypes_f(), and INS_SetInstallationTitle().

◆ once

bool installationTemplate_t::once

Definition at line 68 of file cp_installation.h.

Referenced by INS_FillTypes_f(), and INS_SelectType_f().

◆ radarRange

int installationTemplate_t::radarRange

The range of the installation's radar. Units is the angle of the two points from center of earth.

Definition at line 59 of file cp_installation.h.

Referenced by INS_FinishInstallation(), INS_LoadXML(), and RADAR_UpdateInstallationRadarCoverage().

◆ tech

struct technology_s* installationTemplate_t::tech

Link to the installation-technology.

Definition at line 67 of file cp_installation.h.

Referenced by INS_FillTypes_f(), INS_LinkTechnologies(), and INS_SelectType_f().

◆ trackingRange

int installationTemplate_t::trackingRange

The tracking range of the installation's radar. Units are degrees.

Definition at line 60 of file cp_installation.h.

Referenced by INS_FinishInstallation(), INS_LoadXML(), and RADAR_UpdateInstallationRadarCoverage().

◆ type


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