UFO: Alien Invasion
aircraftSlot_t Struct Reference

slot of aircraft More...

#include <cp_aircraft.h>

Collaboration diagram for aircraftSlot_t:
Collaboration graph

Data Fields

int idx
 
struct base_s * base
 
struct installation_s * installation
 
struct aircraft_s * aircraft
 
aircraftItemType_t type
 
const objDef_titem
 
const objDef_tammo
 
itemWeight_t size
 
int ammoLeft
 
int delayNextShot
 
int installationTime
 
const objDef_tnextItem
 
const objDef_tnextAmmo
 
itemPos_t pos
 

Detailed Description

slot of aircraft

Definition at line 78 of file cp_aircraft.h.

Field Documentation

◆ aircraft

struct aircraft_s* aircraftSlot_t::aircraft

◆ ammo

◆ ammoLeft

◆ base

struct base_s* aircraftSlot_t::base

A link to the base. (if defined by aircraftItemType_t)

Definition at line 80 of file cp_aircraft.h.

Referenced by AII_AutoAddAmmo(), AII_InitialiseSlot(), AII_ReloadWeapon(), AIM_CheckTechnologyIntoSlot(), AIM_SelectableCraftItem(), AIR_CorrectAircraftSlotPointers(), and BDEF_AutoTarget().

◆ delayNextShot

◆ idx

int aircraftSlot_t::idx

self link

Definition at line 79 of file cp_aircraft.h.

Referenced by AII_AddItemToSlot().

◆ installation

struct installation_s* aircraftSlot_t::installation

A link to the installation. (if defined by aircraftItemType_t)

Definition at line 81 of file cp_aircraft.h.

Referenced by AII_InitialiseSlot(), AII_ReloadWeapon(), AIR_CorrectAircraftSlotPointers(), and BDEF_AutoTarget().

◆ installationTime

◆ item

◆ nextAmmo

const objDef_t* aircraftSlot_t::nextAmmo

◆ nextItem

◆ pos

itemPos_t aircraftSlot_t::pos

Position of the slot on the aircraft

Definition at line 95 of file cp_aircraft.h.

Referenced by AIM_AircraftEquipSlotSelect_f(), AIM_DrawAircraftSlots(), AIR_ParseAircraft(), and AIR_ScriptSanityCheck().

◆ size

itemWeight_t aircraftSlot_t::size

◆ type

aircraftItemType_t aircraftSlot_t::type

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