An aircraft with all it's data. More...
#include <cp_aircraft.h>
An aircraft with all it's data.
Definition at line 163 of file cp_aircraft.h.
List of employees. i.e. current team for this aircraft
Definition at line 196 of file cp_aircraft.h.
Referenced by AIR_AddToAircraftTeam(), AIR_DestroyAircraft(), AIR_GetStorageRoom(), AIR_GetTeamSize(), AIR_IsInAircraftTeam(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_MoveEmployeeInventoryIntoStorage(), AIR_RemoveEmployees(), AIR_RemoveFromAircraftTeam(), AIR_ResetAircraftTeam(), AIR_SaveAircraftXML(), B_PackInitialEquipment(), CL_CleanupAircraftCrew(), CL_ResetSinglePlayerData(), CL_UpdateActorAircraftVar(), CP_SpawnRescueMission(), E_DeleteEmployee(), and GAME_CP_Spawn().
struct aircraft_s* aircraft_s::aircraftTarget |
Target of the aircraft (ufo or phalanx)
Definition at line 217 of file cp_aircraft.h.
Referenced by AIR_AircraftsNotifyUFORemoved(), AIR_AircraftsUFODisappear(), AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIRFIGHT_ExecuteActions(), CL_CampaignRunAircraft(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), UFO_CampaignCheckEvents(), UFO_CheckShootBack(), UFO_NotifyPhalanxAircraftRemoved(), UFO_SearchAircraftTarget(), and UFO_SendPursuingAircraft().
aliensTmp_t aircraft_s::alienCargo[MAX_CARGO] |
Cargo of aliens.
Definition at line 234 of file cp_aircraft.h.
How many types of aliens we collected.
Definition at line 235 of file cp_aircraft.h.
char* aircraft_s::building |
id of the building needed as hangar
Definition at line 211 of file cp_aircraft.h.
Current Hit Point of the aircraft
Definition at line 182 of file cp_aircraft.h.
Referenced by AII_RepairAircraft(), AII_UpdateAircraftStats(), AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_SaveAircraftXML(), AIRFIGHT_GetDamage(), AIRFIGHT_ProjectileHits(), MAP_DrawAircraftHealthBar(), and UFO_AddToGeoscape().
char* aircraft_s::defaultName |
Translatable default name for aircraft.
Definition at line 173 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_NewAircraft(), and AIR_ScriptSanityCheck().
Is the ufo detected by a radar? (note that a detected landed ufo has detected
set to qtrue and visible
set to qfalse: we can't see it on geoscape)
Definition at line 226 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), AIRFIGHT_ExecuteActions(), CP_CheckMissionVisibleOnGeoscape(), CP_CheckNewMissionDetectedOnGeoscape(), CP_MissionAddToGeoscape(), CP_SupplySetStayAtBase(), CP_UFORemoveFromGeoscape(), RADAR_SetRadarAfterLoading(), UFO_AddToGeoscape(), UFO_CampaignCheckEvents(), UFO_DetectNewUFO(), and UFO_IsUFOSeenOnGeoscape().
detected UFO number (for descriptions "UFO #4")
Definition at line 232 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), UFO_AircraftToIDOnGeoscape(), and UFO_DetectNewUFO().
Direction in which the aircraft is going on 3D geoscape (used for smoothed rotation).
Definition at line 185 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_SaveAircraftXML(), MAP_DrawMapMarkers(), and MAP_DrawMapOnePhalanxAircraft().
aircraftSlot_t aircraft_s::electronics[MAX_AIRCRAFTSLOT] |
Electronics assigned to aircraft
Definition at line 203 of file cp_aircraft.h.
Referenced by AII_GetAircraftSlotByIDX(), AII_InitialiseAircraftSlots(), AII_SelectAircraftSlot(), AII_SetAircraftInSlots(), AII_UpdateAircraftStats(), AII_UpdateInstallationDelay(), AIM_AircraftEquipSlotSelect_f(), AIM_DrawAircraftSlots(), AIR_CorrectAircraftSlotPointers(), AIR_DeleteAircraft(), AIR_GetSlotItems(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), AIR_ScriptSanityCheck(), and BS_SellAircraft_f().
int aircraft_s::fuel |
Current fuel amount.
Definition at line 181 of file cp_aircraft.h.
Referenced by AII_UpdateAircraftStats(), AIR_AircraftMakeMove(), AIR_AircraftSelect(), AIR_GetRemainingRange(), AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_Refuel(), AIR_SaveAircraftXML(), CL_CampaignRunAircraft(), MAP_GetAircraftText(), MAP_MapClick(), and UFO_CampaignRunUFOs().
This is the baseCapacities_t enum value which says in which hangar this aircraft is being parked in (CAP_AIRCRAFT_SMALL/CAP_AIRCRAFT_BIG).
Definition at line 192 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_NewAircraft(), and AIR_SaveAircraftXML().
Has the aircraft been moved.
Definition at line 188 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove().
struct base_s* aircraft_s::homebase |
Pointer to homebase for faster access.
Definition at line 207 of file cp_aircraft.h.
Referenced by AII_AutoAddAmmo(), AII_ReloadWeapon(), AII_UpdateInstallationDelay(), AII_UpdateOneInstallationDelay(), AIM_AircraftEquipAddItem_f(), AIM_AutoEquipAircraft(), AIM_CheckTechnologyIntoSlot(), AIM_SelectableCraftItem(), AIM_UpdateAircraftItemList(), AIR_Add(), AIR_AircraftHasEnoughFuel(), AIR_AircraftReturnToBase(), AIR_AircraftSelect(), AIR_AircraftStatusToName(), AIR_AssignInitial(), AIR_CanIntercept(), AIR_DeleteAircraft(), AIR_GetAircraftIDXInBase(), AIR_LoadAircraftXML(), AIR_LoadXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_NewAircraft(), AIR_Refuel(), AIR_RemoveEmployee(), AIR_RemoveFromAircraftTeam(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), AIRFIGHT_MissTarget(), AL_AddAliens(), B_PackInitialEquipment(), B_SellOrAddItems(), CL_CampaignRunAircraft(), CL_DisplayHomebasePopup(), CL_DisplayPopupAircraft(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_EquipSoldierState(), CL_GameAutoGo(), CL_PopupInterceptClick_f(), CL_PopupInterceptRClick_f(), CL_UpdateCharacterStats(), CL_UpdateEmployeeList(), CL_UpdateEquipmentMenuParameters_f(), CP_BaseAttackStartMission(), CP_MissionEnd(), CP_MissionEndActions(), CP_SpawnRescueMission(), CP_StartSelectedMission(), GAME_CP_Spawn(), PR_UpdateProductionList(), TR_TransferListSelect_f(), and TR_TransferSelect().
char* aircraft_s::id |
Internal id from script file.
Definition at line 171 of file cp_aircraft.h.
Referenced by AIR_AircraftReturnToBase(), AIR_AircraftSelect(), AIR_DestroyAircraft(), AIR_GetAircraftSilent(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), AIR_SaveXML(), AIR_ScriptSanityCheck(), AIR_UpdateHangarCapForAll(), BS_AddAircraftToMarket(), BS_BuyAircraft_f(), BS_BuyType(), BS_GetAircraftBuyingPrice(), BS_GetAircraftOnMarket(), BS_GetAircraftSellingPrice(), BS_GetMinMaxValueByItemID(), BS_GetStorageAmountInBase(), BS_InitMarket(), BS_MarketAircraftDescription(), BS_RemoveAircraftFromMarket(), BS_SellAircraft_f(), CL_DisplayPopupInterceptUFO(), CP_CreateBattleParameters(), CP_SpawnCrashSiteMission(), PR_AircraftInfo(), PR_ProductionFrame(), PR_SaveXML(), PR_UpdateProductionList(), RS_InitTree(), UFO_AddToGeoscape(), UFO_IsUFOSeenOnGeoscape(), UFO_RemoveFromGeoscape(), and US_StoreUFO().
int aircraft_s::idx |
Global index of this aircraft. See also ccs.numAircraft and AIRCRAFT_INVALID this index is also updated when AIR_DeleteAircraft was called for all the other aircraft. For aircraftTemplates[] aircraft this is the index in that array. this should be references only with the variable name aircraftIdx to let us find references all over the code easier
Definition at line 164 of file cp_aircraft.h.
Referenced by AIR_AircraftGetFromIDX(), AIR_AircraftReturnToBase(), AIR_LoadAircraftXML(), AIR_Move(), AIR_NewAircraft(), AIR_RemoveEmployee(), AIR_RemoveFromAircraftTeam(), AIR_SaveAircraftXML(), AIRFIGHT_SaveXML(), BS_SellAircraft_f(), CL_CleanupAircraftCrew(), CP_MissionEnd(), CP_SaveMissionsXML(), MAP_GetUFOAngle(), MAP_MapClick(), TR_NotifyAircraftRemoved(), and UFO_AddToGeoscape().
char* aircraft_s::image |
Image on geoscape.
Definition at line 174 of file cp_aircraft.h.
itemsTmp_t aircraft_s::itemcargo[MAX_CARGO] |
Cargo of items.
Definition at line 208 of file cp_aircraft.h.
Referenced by AII_CollectingItems(), AII_CollectItem(), AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), B_DumpAircraftToHomeBase(), and B_SellOrAddItems().
How many types of items we collected.
Definition at line 209 of file cp_aircraft.h.
Referenced by AII_CollectingItems(), AII_CollectItem(), AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), and B_SellOrAddItems().
Is ufo landed for a mission? This is used when a UFO lands (a UFO must have both detected
and visible
set to true to be actually seen on geoscape)
Definition at line 228 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), CP_BaseAttackMissionLeave(), CP_BuildBaseGovernmentLeave(), CP_BuildBaseMissionLeave(), CP_CheckMissionVisibleOnGeoscape(), CP_InterceptMissionLeave(), CP_ReconMissionGroundGo(), CP_ReconMissionLeave(), CP_SupplyMissionLeave(), CP_UFORemoveFromGeoscape(), UFO_AddToGeoscape(), UFO_CampaignCheckEvents(), UFO_CampaignRunUFOs(), UFO_IsUFOSeenOnGeoscape(), and UFO_UpdateAlienInterestForAllBasesAndInstallations().
date the UFO was detected last time
Definition at line 233 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), and UFO_DetectNewUFO().
Total number of electronics slots aboard this aircraft (empty or not)
Definition at line 204 of file cp_aircraft.h.
Referenced by AII_GetAircraftSlotByIDX(), AII_UpdateAircraftStats(), AII_UpdateInstallationDelay(), AIM_AircraftEquipSlotSelect_f(), AIM_CheckAirequipSelectedSlot(), AIM_DrawAircraftSlots(), AIR_AircraftSelect(), AIR_CorrectAircraftSlotPointers(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), AIR_ScriptSanityCheck(), and BS_SellAircraft_f().
Max amount of soldiers onboard.
Definition at line 195 of file cp_aircraft.h.
Referenced by AIR_AddEmployee(), AIR_AddToAircraftTeam(), AIR_AssignInitial(), AIR_CheckMoveIntoNewHomebase(), AIR_LoadAircraftXML(), AIR_RemoveFromAircraftTeam(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_UpdateActorAircraftVar(), CP_BaseAttackStartMission(), CP_CreateAlienTeam(), MAP_GetAircraftText(), and UP_AircraftDescription().
Total number of weapon slots aboard this aircraft (empty or not)
Definition at line 201 of file cp_aircraft.h.
Referenced by AII_GetAircraftSlotByIDX(), AII_ReloadAircraftWeapons(), AII_UpdateAircraftStats(), AII_UpdateInstallationDelay(), AIM_AircraftEquipSlotSelect_f(), AIM_AutoEquipAircraft(), AIM_CheckAirequipSelectedSlot(), AIM_DrawAircraftSlots(), AIR_AircraftSelect(), AIR_CorrectAircraftSlotPointers(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), AIR_ScriptSanityCheck(), AIRFIGHT_ExecuteActions(), BS_SellAircraft_f(), CL_CampaignRunAircraft(), CL_DisplayPopupInterceptUFO(), CP_InterceptNextStage(), CP_UFOProceedMission(), UFO_CampaignRunUFOs(), and UFO_SendPursuingAircraft().
struct mission_s* aircraft_s::mission |
The mission the aircraft is moving to if this is a PHALANX aircraft The mission the UFO is involved if this is a UFO
Definition at line 213 of file cp_aircraft.h.
Referenced by AIR_AircraftReturnToBase(), AIR_AircraftsNotifyMissionRemoved(), AIR_Move(), AIR_PostLoadInitMissions(), AIR_SaveAircraftXML(), AIR_SendAircraftToMission(), BDEF_AutoTarget(), CP_CheckNextStageDestination(), CP_MissionIsOverByUFO(), CP_SpawnCrashSiteMission(), CP_StartSelectedMission(), CP_UFOProceedMission(), UFO_AddToGeoscape(), UFO_CampaignRunUFOs(), and UFO_SearchAircraftTarget().
char* aircraft_s::missionID |
aircraft loaded before missions, we need this temporary as reference AIR_PostLoadInitMissions resolves the pointers after game loaded and frees this
Definition at line 215 of file cp_aircraft.h.
Referenced by AIR_LoadAircraftXML(), and AIR_PostLoadInitMissions().
char* aircraft_s::model |
Model used on geoscape
Definition at line 175 of file cp_aircraft.h.
Referenced by MAP_DrawMapMarkers(), MAP_DrawMapOnePhalanxAircraft(), MAP_UpdateGeoscapeDock(), and RS_InitTree().
char aircraft_s::name[MAX_VAR] |
Aircraft name (user can change this).
Definition at line 172 of file cp_aircraft.h.
Referenced by AII_UpdateOneInstallationDelay(), AIR_AircraftSelect(), AIR_AircraftUpdateList_f(), AIR_ChangeAircraftName_f(), AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_Refuel(), AIR_SaveAircraftXML(), AIR_ScriptSanityCheck(), AIR_SendAircraftPursuingUFO(), AIRFIGHT_ExecuteActions(), BaseSummary_Init(), BS_BuyType(), BS_MarketAircraftDescription(), CL_CampaignRunAircraft(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), MAP_GetAircraftText(), MAP_MapClick(), PR_AircraftInfo(), PR_ProductionFrame(), PR_ProductionIncrease_f(), PR_UpdateProductionList(), RS_InitTree(), TR_CargoList(), TR_TransferSelect(), UFO_AircraftToIDOnGeoscape(), UFO_CampaignCheckEvents(), and UFO_SearchAircraftTarget().
qboolean aircraft_s::notifySent[MAX_AIR_NOTIFICATIONS] |
Definition at line 224 of file cp_aircraft.h.
Referenced by AIR_Refuel().
don't let this aircraft appear ever on geoscape (e.g. ufo_carrier)
Definition at line 230 of file cp_aircraft.h.
Referenced by UFO_AddToGeoscape(), and UFO_IsUFOSeenOnGeoscape().
Number of points drawn so far during interpolation.
Definition at line 189 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove().
The old draw position of the aircraft ( (latitude and longitude).
Definition at line 187 of file cp_aircraft.h.
Referenced by MAP_DrawMapMarkers(), and MAP_DrawMapOnePhalanxAircraft().
struct employee_s* aircraft_s::pilot |
Current Pilot assigned to the aircraft.
Definition at line 198 of file cp_aircraft.h.
Referenced by AIM_AircraftStart_f(), AIM_PilotAssignedAircraft(), AIR_AutoAddPilotToAircraft(), AIR_CanIntercept(), AIR_CheckMoveIntoNewHomebase(), AIR_DestroyAircraft(), AIR_IsEmployeeInAircraft(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_RemoveEmployees(), AIR_RemovePilotFromAssignedAircraft(), AIR_SaveAircraftXML(), CL_AssignPilot_f(), CL_UpdateActorAircraftVar(), CP_SpawnRescueMission(), and E_DeleteEmployee().
Number of route points that has already been done when aircraft is moving
Definition at line 190 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_AircraftReturnToBase(), AIR_LoadAircraftXML(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), MAP_DrawMapOnePhalanxAircraft(), MAP_MapClick(), UFO_SendPursuingAircraft(), and UFO_SendToDestination().
Current position on the geoscape.
Definition at line 184 of file cp_aircraft.h.
Referenced by AB_UpdateStealthForOneBase(), AIR_AircraftHasEnoughFuel(), AIR_AircraftHasEnoughFuelOneWay(), AIR_AircraftMakeMove(), AIR_AircraftReturnToBase(), AIR_GetDestinationWhilePursuing(), AIR_LoadAircraftXML(), AIR_Move(), AIR_MoveAircraftIntoNewHomebase(), AIR_NewAircraft(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), AIRFIGHT_ActionsAfterAirfight(), AIRFIGHT_AddProjectile(), AIRFIGHT_BaseShoot(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_ExecuteActions(), AIRFIGHT_InstallationShoot(), AIRFIGHT_MissTarget(), AIRFIGHT_ProjectileReachedTarget(), BDEF_AutoTarget(), CL_CampaignRunAircraft(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CP_BaseAttackStartMission(), CP_InterceptNextStage(), CP_MissionAddToGeoscape(), CP_SpawnCrashSiteMission(), CP_SpawnRescueMission(), CP_UFOProceedMission(), CP_UFORemoveFromGeoscape(), MAP_DrawAircraftHealthBar(), MAP_DrawMapMarkers(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_GetGeoscapeAngle(), MAP_GetUFOAngle(), MAP_MapClick(), RADAR_AddDetectedUFOToEveryRadar(), RADAR_CheckUFOSensored(), RADAR_DrawInMap(), RADAR_UpdateWholeRadarOverlay(), TR_TransferAlienAfterMissionStart(), UFO_CampaignCheckEvents(), UFO_CampaignRunUFOs(), UFO_SearchAircraftTarget(), UFO_SendPursuingAircraft(), UFO_SendToDestination(), UFO_SetRandomPos(), UFO_UpdateAlienInterestForOneBase(), and UFO_UpdateAlienInterestForOneInstallation().
Price of this aircraft type at game start, it's evolving on the market.
Definition at line 180 of file cp_aircraft.h.
Referenced by B_SetUpFirstBase(), BS_AircraftIsOnMarket(), BS_InitMarket(), CL_StatsUpdate_f(), CP_NationHandleBudget(), PR_AircraftInfo(), PR_ProductionFrame(), and UR_DialogInitSell_f().
Projected position of the aircraft (latitude and longitude).
Definition at line 186 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove().
struct radar_s aircraft_s::radar |
Radar to track ufos
Definition at line 218 of file cp_aircraft.h.
Referenced by AB_UpdateStealthForOneBase(), AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), B_AircraftReturnedToHomeBase(), MAP_DrawMapOnePhalanxAircraft(), RADAR_AddDetectedUFOToEveryRadar(), RADAR_DeactivateRadarOverlay(), RADAR_NotifyUFORemoved(), RADAR_UpdateWholeRadarOverlay(), and UFO_CampaignCheckEvents().
Definition at line 206 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_AircraftReturnToBase(), AIR_GetDestinationWhilePursuing(), AIR_LoadAircraftXML(), AIR_Move(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), MAP_DrawMapMarkers(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_MapClick(), UFO_CampaignRunUFOs(), UFO_SendPursuingAircraft(), and UFO_SendToDestination().
Armour assigned to aircraft (1 maximum)
Definition at line 202 of file cp_aircraft.h.
Referenced by AII_GetAircraftSlotByIDX(), AII_InitialiseAircraftSlots(), AII_SelectAircraftSlot(), AII_SetAircraftInSlots(), AII_UpdateAircraftStats(), AII_UpdateInstallationDelay(), AIR_CorrectAircraftSlotPointers(), AIR_DeleteAircraft(), AIR_GetSlotItems(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), and BS_SellAircraft_f().
int aircraft_s::size |
Size of the aircraft used in capacity calculations.
Definition at line 183 of file cp_aircraft.h.
Referenced by AIR_CanIntercept(), AIR_GetCapacityByAircraftWeight(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_UpdateHangarCapForOne(), B_RemoveAircraftExceedingCapacity(), TR_CheckAircraft(), and UP_AircraftDescription().
int aircraft_s::stats[AIR_STATS_MAX] |
aircraft parameters for speed, damage and so on
Definition at line 219 of file cp_aircraft.h.
Referenced by AII_RepairAircraft(), AII_UpdateAircraftStats(), AIR_AircraftMakeMove(), AIR_AircraftSelect(), AIR_GetDestinationWhilePursuing(), AIR_GetOperationRange(), AIR_GetRemainingRange(), AIR_LoadAircraftXML(), AIR_LoadXML(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_Refuel(), AIR_SaveAircraftXML(), AIRFIGHT_GetDamage(), AIRFIGHT_ProbabilityToHit(), CL_DisplayPopupInterceptMission(), MAP_DrawAircraftHealthBar(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_GetUFOText(), UFO_AddToGeoscape(), UFO_CampaignRunUFOs(), and UP_AircraftDescription().
Status of this aircraft, see aircraftStatus_t.
Definition at line 178 of file cp_aircraft.h.
Referenced by AII_UpdateAircraftStats(), AIM_AircraftStart_f(), AIR_AircraftReturnToBase(), AIR_AircraftsNotifyMissionRemoved(), AIR_AircraftsNotifyUFORemoved(), AIR_AircraftStatusToName(), AIR_AircraftsUFODisappear(), AIR_IsAircraftInBase(), AIR_IsAircraftOnGeoscape(), AIR_LoadAircraftXML(), AIR_Move(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_Refuel(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), CL_CampaignRunAircraft(), CL_PopupAircraftClick_f(), CP_InterceptNextStage(), CP_SpawnRescueMission(), CP_UFOProceedMission(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_MapClick(), TR_TransferStart(), UFO_CampaignRunUFOs(), UFO_SearchAircraftTarget(), UFO_SendPursuingAircraft(), and UFO_SendToDestination().
link to the aircraft tech
Definition at line 222 of file cp_aircraft.h.
Referenced by AIR_AircraftSelect(), BS_BuyType(), BS_InitMarket(), BS_MarketAircraftDescription(), CL_CampaignRunMarket(), GAME_CP_DisplayItemInfo(), MAP_DrawMapMarkers(), PR_AircraftInfo(), PR_DecreaseProduction(), PR_DisassemblingFrame(), PR_DisassemblyInfo(), PR_IncreaseProduction(), PR_ProductionFrame(), PR_ProductionIncrease_f(), PR_ProductionListClick_f(), PR_ProductionListRightClick_f(), PR_QueueDelete(), PR_QueueNew(), PR_UpdateProductionList(), RS_InitTree(), UFO_AircraftToIDOnGeoscape(), UR_ProcessActive(), US_RemoveStoredUFO(), and US_StoreUFO().
int aircraft_s::time |
Elapsed seconds since aircraft started it's new route
Definition at line 191 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_AircraftReturnToBase(), AIR_LoadAircraftXML(), AIR_LoadXML(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), MAP_MapClick(), UFO_SendPursuingAircraft(), and UFO_SendToDestination().
struct aircraft_s* aircraft_s::tpl |
Self-link in aircraft_sample list (i.e. templates).
Definition at line 170 of file cp_aircraft.h.
Referenced by AII_UpdateAircraftStats(), AIR_CalculateHangarStorage(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_UpdateHangarCapForAll(), AIR_UpdateHangarCapForOne(), BaseSummary_Init(), BS_MarketAircraftDescription(), BS_MarketClick_f(), PR_ProductionFrame(), PR_UpdateProductionList(), TR_CheckAircraft(), and TR_EmptyTransferCargo().
Type of aircraft, see aircraftType_t.
Definition at line 176 of file cp_aircraft.h.
Referenced by AIR_CountTypeInBase(), AIR_ParseAircraft(), AIR_ScriptSanityCheck(), AIRFIGHT_ExecuteActions(), AIRFIGHT_ProjectileHits(), AIRFIGHT_SaveXML(), B_DumpAircraftToHomeBase(), B_SetUpFirstBase(), BS_AddAircraftToMarket(), BS_AircraftIsOnMarket(), BS_GetAircraftBuyingPrice(), BS_GetAircraftOnMarket(), BS_GetAircraftSellingPrice(), BS_RemoveAircraftFromMarket(), and UFO_AddToGeoscape().
interest level at which this ufo should be available on geoscape first
Definition at line 231 of file cp_aircraft.h.
Referenced by UFO_ShouldAppearOnGeoscape().
Type of UFO, see ufoType_t (UFO_MAX if craft is not a UFO).
Definition at line 177 of file cp_aircraft.h.
Referenced by AIR_ParseAircraft(), BaseSummary_Init(), CP_ChooseMap(), CP_CreateBattleParameters(), CP_InterceptMissionSet(), CP_MapIsSelectable(), PR_DisassemblingFrame(), PR_DisassemblyInfo(), PR_UpdateProductionList(), UFO_AddToGeoscape(), UFO_GetByType(), UR_DialogInit_f(), UR_DialogStartSell_f(), UR_DialogStartStore_f(), and UR_ProcessActive().
aircraftSlot_t aircraft_s::weapons[MAX_AIRCRAFTSLOT] |
Weapons assigned to aircraft
Definition at line 200 of file cp_aircraft.h.
Referenced by AII_GetAircraftSlotByIDX(), AII_InitialiseAircraftSlots(), AII_ReloadAircraftWeapons(), AII_SelectAircraftSlot(), AII_SetAircraftInSlots(), AII_UpdateAircraftStats(), AII_UpdateInstallationDelay(), AIM_AircraftEquipSlotSelect_f(), AIM_AutoEquipAircraft(), AIM_DrawAircraftSlots(), AIR_CorrectAircraftSlotPointers(), AIR_DeleteAircraft(), AIR_GetSlotItems(), AIR_LoadAircraftXML(), AIR_MoveAircraftIntoNewHomebase(), AIR_ParseAircraft(), AIR_SaveAircraftXML(), AIR_ScriptSanityCheck(), AIRFIGHT_ExecuteActions(), BS_SellAircraft_f(), CL_CampaignRunAircraft(), CL_DisplayPopupInterceptUFO(), CP_InterceptNextStage(), CP_UFOProceedMission(), UFO_CampaignRunUFOs(), and UFO_SendPursuingAircraft().