UFO: Alien Invasion
cp_popup.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool CL_DisplayHomebasePopup (aircraft_t *aircraft, bool alwaysDisplay)
 Display the popup_homebase. More...
 
void CL_PopupInit (void)
 Initialise popups. More...
 
void CL_DisplayPopupInterceptUFO (aircraft_t *ufo)
 Display the popup_intercept. More...
 
void CL_DisplayPopupInterceptMission (struct mission_s *mission)
 
void CP_Popup (const char *title, const char *text,...) __attribute__((format(__printf__
 

Function Documentation

◆ CL_DisplayHomebasePopup()

bool CL_DisplayHomebasePopup ( aircraft_t aircraft,
bool  alwaysDisplay 
)

Display the popup_homebase.

Parameters
[in]aircraftPointer to aircraft we want to change homebase.
[in]alwaysDisplayFalse if popup should be displayed only if at least one base is available.
Returns
true if popup is displayed.

< 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, uiNode_t::selectedColor, cgame_import_t::UI_PopupList(), and VectorSet.

Referenced by AIR_ShowChangeHomebaseAircraft_f(), and CL_PopupChangeHomebase_f().

◆ CL_DisplayPopupInterceptMission()

void CL_DisplayPopupInterceptMission ( struct mission_s *  mission)

◆ CL_DisplayPopupInterceptUFO()

◆ CL_PopupInit()

void CL_PopupInit ( void  )

◆ CP_Popup()

void CP_Popup ( const char *  title,
const char *  text,
  ... 
)