|
UFO: Alien Invasion
|
#include <cp_installation.h>

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 |
Definition at line 52 of file cp_installation.h.
| 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().
| 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().
| char* installationTemplate_t::description |
Short description in build dialog
Definition at line 55 of file cp_installation.h.
Referenced by INS_SetInstallationTitle().
| char* installationTemplate_t::id |
id of the installation.
Definition at line 53 of file cp_installation.h.
Referenced by INS_FillTypes_f(), INS_GetInstallationTemplateByID(), INS_LinkTechnologies(), INS_ParseInstallations(), INS_SelectType_f(), and INS_SetCurrentSelectedInstallation().
| char* installationTemplate_t::image |
Image used on 2D geoscape
Definition at line 66 of file cp_installation.h.
Referenced by GEO_DrawMapOneInstallation().
| 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().
| 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().
| 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().
| char* installationTemplate_t::model |
Model used on 3D geoscape
Definition at line 65 of file cp_installation.h.
Referenced by GEO_DrawMapOneInstallation().
| 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().
| bool installationTemplate_t::once |
Definition at line 68 of file cp_installation.h.
Referenced by INS_FillTypes_f(), and INS_SelectType_f().
| 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().
| 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().
| 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().
| installationType_t installationTemplate_t::type |
the type of the installation
Definition at line 56 of file cp_installation.h.
Referenced by INS_BuildInstallation_f(), INS_FillTypes_f(), INS_FillUFOYardData_f(), INS_GetInstallationTemplateByType(), INS_ParseInstallations(), INS_SelectInstallation(), and INS_SelectType_f().