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. More... | |
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_s::aircraftCurrent, cgi, Com_sprintf(), CP_UpdateActorAircraftVar(), cgame_import_s::Cvar_Set(), aircraft_s::damage, EMPL_SOLDIER, ERR_DROP, aircraft_s::fuel, aircraft_s::homebase, aircraft_s::id, aircraft_s::maxElectronics, aircraft_s::maxWeapons, technology_s::mdl, aircraft_s::name, Q_strcat(), aircraft_s::stats, aircraft_s::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 cgi.
Referenced by AIR_InitStartup().
Definition at line 431 of file cp_aircraft_callbacks.cpp.
References cgi.
Referenced by AIR_Shutdown().