UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ui_main.h File Reference
#include "ui_data.h"
#include "ui_windows.h"

Go to the source code of this file.

Functions

void UI_Init (void)
 
void UI_Shutdown (void)
 Reset and free the UI data hunk. More...
 
void UI_Reinit (void)
 
void UI_ExecuteConfunc (const char *fmt,...) __attribute__((format(__printf__
 
void int UI_DebugMode (void)
 Get the current debug mode (0 mean disabled) More...
 

Function Documentation

void int UI_DebugMode ( void  )

Get the current debug mode (0 mean disabled)

See also
UI_DisplayNotice

Definition at line 52 of file ui_main.cpp.

References cvar_s::integer.

Referenced by UI_Draw(), and UI_GetNodeInTreeAtPosition().

void UI_ExecuteConfunc ( const char *  fmt,
  ... 
)
void UI_Reinit ( void  )

Reinit input and font

Definition at line 191 of file ui_main.cpp.

References UI_InitFonts(), UI_InvalidateMouse(), and UI_ReleaseInput().

Referenced by UI_Restart_f(), and VID_Restart_f().

void UI_Shutdown ( void  )

Reset and free the UI data hunk.

Note
Even called in case of an error when CL_Shutdown was called - maybe even before CL_InitLocal (and thus UI_Init) was called
See also
CL_Shutdown
UI_Init

Definition at line 205 of file ui_main.cpp.

References uiGlobal_s::adata, uiNode_t::behaviour, Cmd_Exists(), Cmd_RemoveCommand(), uiGlobal_s::components, uiNode_t::firstChild, i, Mem_Free, Mem_FreePool, uiNode_t::name, uiNode_t::next, uiGlobal_s::numWindows, OBJZERO, uiNode_t::parent, UI_FontShutdown(), UI_GetNodeBehaviour(), UI_ResetInput(), UI_ResetTimers(), UI_ShutdownLua(), and uiGlobal_s::windows.

Referenced by CL_Shutdown(), UILevel2Test::TearDownTestCase(), TEST_Shutdown(), and UI_Restart_f().