UFO: Alien Invasion
|
Header file for menu callback functions used for base and aircraft equip menu. More...
Go to the source code of this file.
Functions | |
aircraftSlot_t * | AII_SelectAircraftSlot (aircraft_t *aircraft, aircraftItemType_t type) |
Returns a pointer to the selected slot. More... | |
void | AIM_InitCallbacks (void) |
void | AIM_ShutdownCallbacks (void) |
Header file for menu callback functions used for base and aircraft equip menu.
Definition in file cp_fightequip_callbacks.h.
aircraftSlot_t* AII_SelectAircraftSlot | ( | aircraft_t * | aircraft, |
aircraftItemType_t | type | ||
) |
Returns a pointer to the selected slot.
[in] | aircraft | Pointer to the aircraft |
[in] | type | Type of slot we want to select |
Definition at line 86 of file cp_fightequip_callbacks.cpp.
References AC_ITEM_AMMO, AC_ITEM_ELECTRONICS, AC_ITEM_SHIELD, AC_ITEM_WEAPON, AIM_CheckAirequipSelectedSlot(), airequipSelectedSlot, cgi, aircraft_s::electronics, aircraft_s::shield, and aircraft_s::weapons.
Referenced by AIM_AircraftEquipAddItem_f(), AIM_AircraftEquipMenuUpdate(), AIM_AircraftEquipRemoveItem_f(), AIM_AircraftEquipZoneSelect_f(), and AIM_UpdateItemDescription().
Definition at line 941 of file cp_fightequip_callbacks.cpp.
References cgi.
Referenced by CP_AddCampaignCallbackCommands().
Definition at line 946 of file cp_fightequip_callbacks.cpp.
References cgi.
Referenced by CP_RemoveCampaignCallbackCommands().