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_s::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_s::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_s::description |
Short description in build dialog
Definition at line 55 of file cp_installation.h.
Referenced by INS_SetInstallationTitle().
char* installationTemplate_s::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_s::image |
Image used on 2D geoscape
Definition at line 66 of file cp_installation.h.
Referenced by GEO_DrawMapOneInstallation().
int installationTemplate_s::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_s::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_s::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_s::model |
Model used on 3D geoscape
Definition at line 65 of file cp_installation.h.
Referenced by GEO_DrawMapOneInstallation().
char* installationTemplate_s::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(), INS_ParseInstallations(), and INS_SetInstallationTitle().
bool installationTemplate_s::once |
Definition at line 68 of file cp_installation.h.
Referenced by INS_FillTypes_f(), and INS_SelectType_f().
int installationTemplate_s::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_s::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_s::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_s::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().