|
UFO: Alien Invasion
|

Go to the source code of this file.
Functions | |
| bool | CL_DisplayHomebasePopup (aircraft_t *aircraft, bool alwaysDisplay) |
| Display the popup_homebase. | |
| void | CL_PopupInit (void) |
| Initialise popups. | |
| void | CL_DisplayPopupInterceptUFO (aircraft_t *ufo) |
| Display the popup_intercept. | |
| void | CL_DisplayPopupInterceptMission (struct mission_s *mission) |
| void | CP_Popup (const char *title, const char *text,...) __attribute__((format(__printf__ |
| bool CL_DisplayHomebasePopup | ( | aircraft_t * | aircraft, |
| bool | alwaysDisplay ) |
Display the popup_homebase.
| [in] | aircraft | Pointer to aircraft we want to change homebase. |
| [in] | alwaysDisplay | False if popup should be displayed only if at least one base is available. |
< Set color for selected entry.
Definition at line 67 of file cp_popup.cpp.
References _, AIR_CheckMoveIntoNewHomebase(), B_GetNext(), cgi, Com_sprintf(), CP_GameTimeStop(), GEO_SelectAircraft(), aircraft_t::homebase, base_t::idx, INVALID_BASE, LIST_Add(), MAX_VAR, base_t::name, popupListData, popupListNode, popupNum, and VectorSet.
Referenced by AIR_ShowChangeHomebaseAircraft_f(), and CL_PopupChangeHomebase_f().
| void CL_DisplayPopupInterceptMission | ( | struct mission_s * | mission | ) |
| void CL_DisplayPopupInterceptUFO | ( | aircraft_t * | ufo | ) |
Display the popup_intercept.
Definition at line 238 of file cp_popup.cpp.
References _, AII_BaseCanShoot(), AII_InstallationCanShoot(), AIR_AircraftHasEnoughFuel(), AIR_AircraftStatusToName(), AIR_CanIntercept(), AIR_ForeachSorted, AIR_GetTeamSize(), AIR_SortByDistance(), AIRFIGHT_ChooseWeapon(), AIRFIGHT_WEAPON_CAN_NEVER_SHOOT, B_GetNext(), cgi, Com_sprintf(), CP_GameTimeStop(), DEBUG_CLIENT, INS_Foreach, base_t::name, POPUP_INTERCEPT_MAX_AIRCRAFT, popupIntercept, aircraft_t::pos, TEXT_AIRCRAFT_LIST, TEXT_BASE_LIST, and va().
Referenced by UFO_GeoSelectUFO_f().
Initialise popups.
Definition at line 458 of file cp_popup.cpp.
References cgi, CL_PopupChangeHomebase_f(), CL_PopupInterceptBaseClick_f(), CL_PopupInterceptClick_f(), CL_PopupInterceptRClick_f(), OBJZERO, and popupIntercept.
Referenced by CP_CampaignInit().
| void CP_Popup | ( | const char * | title, |
| const char * | text, | ||
| ... ) |
References __attribute__, and format().