A installation with all it's data. More...
#include <cp_installation.h>
Data Fields | |
int | idx |
char | name [MAX_VAR] |
installationTemplate_t * | installationTemplate |
qboolean | founded |
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 |
qboolean | selected |
A installation with all it's data.
Definition at line 74 of file cp_installation.h.
How much aliens know this installation (and may attack it)
Definition at line 85 of file cp_installation.h.
Referenced by CP_InterceptChooseInstallation(), INS_LoadXML(), INS_SaveXML(), INS_SetUpInstallation(), and UFO_UpdateAlienInterestForOneInstallation().
baseWeapon_t installation_s::batteries[MAX_INSTALLATION_BATTERIES] |
Missile/Laser batteries assigned to this installation. For Sam Sites only.
Definition at line 89 of file cp_installation.h.
Referenced by AII_InstallationCanShoot(), AII_UpdateInstallationDelay(), AIRFIGHT_CampaignRunBaseDefence(), BDEF_AutoSelectTarget(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_ChangeAutoFire(), BDEF_GetInstallationSlotByIDX(), BDEF_InitialiseInstallationSlots(), BDEF_ReloadBaseWeapons(), CL_PopupInterceptBaseClick_f(), INS_LoadXML(), INS_SaveXML(), MAP_DrawMapOneInstallation(), and UFO_IsTargetOfInstallation().
Date when the installation building started
Definition at line 95 of file cp_installation.h.
Referenced by INS_LoadXML(), INS_SaveXML(), INS_SelectInstallation(), INS_SetUpInstallation(), and INS_UpdateInstallationData().
The template used for the installation. already founded?
Definition at line 80 of file cp_installation.h.
Referenced by AII_InstallationCanShoot(), CP_InterceptAttackInstallation(), CP_InterceptMissionLeave(), INS_BuildInstallation_f(), INS_DestroyInstallation(), INS_FinishInstallation(), INS_GetFoundedInstallationByIDX(), INS_LoadXML(), INS_SaveXML(), INS_SetCurrentSelectedInstallation(), INS_SetUpInstallation(), RADAR_NotifyUFORemoved(), RADAR_UpdateInstallationRadarCoverage(), and RADAR_UpdateStaticRadarCoverage().
Self link. Index in the global installation-list.
Definition at line 75 of file cp_installation.h.
Referenced by CP_SaveMissionsXML(), INS_DestroyInstallation(), INS_DestroyInstallation_f(), INS_LoadXML(), INS_SelectInstallation(), INS_SetUpInstallation(), US_LoadXML(), and US_SaveXML().
Hit points of installation
Definition at line 94 of file cp_installation.h.
Referenced by INS_LoadXML(), INS_SaveXML(), and INS_SetUpInstallation().
the current installation status
Definition at line 83 of file cp_installation.h.
Referenced by AII_InstallationCanShoot(), BDEF_BaseDefenceMenuUpdate_f(), INS_FinishInstallation(), INS_LoadXML(), INS_SaveXML(), INS_SelectInstallation(), INS_SetUpInstallation(), INS_UpdateInstallationData(), RADAR_NotifyUFORemoved(), RADAR_UpdateInstallationRadarCoverage(), and RADAR_UpdateStaticRadarCoverage().
Definition at line 78 of file cp_installation.h.
Referenced by AII_InstallationCanShoot(), AII_UpdateInstallationDelay(), AIRFIGHT_CampaignRunBaseDefence(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_InitialiseInstallationSlots(), CL_PopupInterceptBaseClick_f(), INS_FinishInstallation(), INS_GetType(), INS_LoadXML(), INS_SaveXML(), INS_SelectInstallation(), INS_SetCurrentSelectedInstallation(), INS_SetUpInstallation(), INS_UpdateInstallationData(), MAP_DrawMapOneInstallation(), and RADAR_UpdateInstallationRadarCoverage().
char installation_s::name[MAX_VAR] |
Name of the installation
Definition at line 76 of file cp_installation.h.
Referenced by AII_UpdateOneInstallationDelay(), CL_DisplayPopupInterceptUFO(), CL_StatsUpdate_f(), CP_InterceptGoToInstallation(), INS_BuildInstallation_f(), INS_ChangeInstallationName_f(), INS_DestroyInstallation(), INS_LoadXML(), INS_SaveXML(), INS_SetCurrentSelectedInstallation(), INS_SetInstallationTitle(), INS_SetUpInstallation(), INS_UpdateInstallationData(), MAP_DrawMapOneInstallation(), MAP_MapClick(), PR_DisassemblyInfo(), UFO_CampaignCheckEvents(), UR_DialogInitStore_f(), UR_DialogStartStore_f(), and UR_ProcessActive().
how many batteries are installed?
Definition at line 90 of file cp_installation.h.
Referenced by BDEF_AutoSelectTarget(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_ChangeAutoFire(), BDEF_GetInstallationSlotByIDX(), BDEF_ReloadBaseWeapons(), INS_FinishInstallation(), INS_LoadXML(), INS_SaveXML(), INS_SetUpInstallation(), and UFO_IsTargetOfInstallation().
pos on geoscape
Definition at line 81 of file cp_installation.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_InstallationShoot(), BDEF_AutoTarget(), CP_InterceptAttackInstallation(), CP_InterceptGoToInstallation(), CP_InterceptMissionLeave(), INS_BuildInstallation_f(), INS_LoadXML(), INS_SaveXML(), INS_SetUpInstallation(), MAP_DrawMapOneInstallation(), MAP_GetGeoscapeAngle(), MAP_MapClick(), PR_CalculateProductionPercentDone(), RADAR_AddDetectedUFOToEveryRadar(), RADAR_CheckRadarSensored(), RADAR_UpdateStaticRadarCoverage(), UFO_CampaignCheckEvents(), UFO_UpdateAlienInterestForOneInstallation(), and US_GetClosestStoredUFO().
struct radar_s installation_s::radar |
Radar of the installation (for radar towers)
Definition at line 87 of file cp_installation.h.
Referenced by INS_LoadXML(), INS_SetUpInstallation(), MAP_DrawMapOneInstallation(), RADAR_AddDetectedUFOToEveryRadar(), RADAR_DeactivateRadarOverlay(), RADAR_NotifyUFORemoved(), RADAR_UpdateInstallationRadarCoverage(), RADAR_UpdateStaticRadarCoverage(), and UFO_CampaignCheckEvents().
current selected installation?
Definition at line 96 of file cp_installation.h.
Referenced by INS_GetCurrentSelectedInstallation(), and INS_SetCurrentSelectedInstallation().
Capacity of UFO Yard.
Definition at line 92 of file cp_installation.h.
Referenced by INS_DestroyInstallation(), INS_FinishInstallation(), INS_GetFirstUFOYard(), INS_LoadXML(), INS_SetUpInstallation(), UR_DialogInitStore_f(), UR_DialogStartStore_f(), US_LoadXML(), US_RemoveStoredUFO(), US_RemoveUFOsExceedingCapacity(), and US_StoreUFO().