UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_main.h File Reference
#include "ui_data.h"
#include "ui_windows.h"
Include dependency graph for ui_main.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.
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).

Function Documentation

◆ UI_DebugMode()

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_t::integer.

Referenced by UI_Draw(), UI_ExecuteConfunc(), and UI_GetNodeInTreeAtPosition().

◆ UI_ExecuteConfunc()

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

◆ UI_Init()

◆ UI_Reinit()

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().

◆ UI_Shutdown()

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 uiNode_t::behaviour, Cmd_Exists(), Cmd_RemoveCommand(), uiNode_t::firstChild, i, Mem_Free, Mem_FreePool, uiNode_t::name, uiNode_t::next, OBJZERO, uiNode_t::parent, ui_dynPool, ui_dynStringPool, UI_FontShutdown(), UI_GetNodeBehaviour(), ui_global, UI_ResetInput(), UI_ResetTimers(), UI_ShutdownLua(), and ui_sysPool.

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