|
UFO: Alien Invasion
|
Header file for menu related console command callbacks. More...

Go to the source code of this file.
Functions | |
| void | AIR_AircraftSelect (aircraft_t *aircraft) |
| Sets aircraftCurrent and updates related cvars and menutexts. | |
| void | AIR_InitCallbacks (void) |
| void | AIR_ShutdownCallbacks (void) |
Header file for menu related console command callbacks.
Definition in file cp_aircraft_callbacks.h.
| void AIR_AircraftSelect | ( | aircraft_t * | aircraft | ) |
Sets aircraftCurrent and updates related cvars and menutexts.
| [in] | aircraft | Pointer to given aircraft that should be selected in the menu. |
Definition at line 171 of file cp_aircraft_callbacks.cpp.
References _, AC_ITEM_ELECTRONICS, AC_ITEM_SHIELD, AC_ITEM_WEAPON, AIR_AircraftMenuStatsValues(), AIR_BaseHasAircraft(), AIR_ForeachFromBase, AIR_GetOperationRange(), AIR_GetSlotItems(), AIR_IsAircraftInBase(), AIR_STATS_DAMAGE, AIR_STATS_FUELSIZE, AIR_STATS_SPEED, base_t::aircraftCurrent, cgi, Com_sprintf(), CP_UpdateActorAircraftVar(), aircraft_t::damage, EMPL_SOLDIER, ERR_DROP, aircraft_t::fuel, aircraft_t::homebase, aircraft_t::id, aircraft_t::maxElectronics, aircraft_t::maxWeapons, aircraft_t::name, Q_strcat(), aircraft_t::stats, aircraft_t::tech, and TEXT_AIRCRAFT_INFO.
Referenced by AIM_AircraftReturnToBase_f(), AIM_SelectAircraft_f(), and CL_PopupInterceptRClick_f().
Definition at line 426 of file cp_aircraft_callbacks.cpp.
References aircraftCallbacks, and cgi.
Referenced by AIR_InitStartup().
Definition at line 431 of file cp_aircraft_callbacks.cpp.
References aircraftCallbacks, and cgi.
Referenced by AIR_Shutdown().