UFO: Alien Invasion
|
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... | |
Get the current debug mode (0 mean disabled)
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, |
... | |||
) |
Definition at line 278 of file ui_main.cpp.
References uiGlobal_s::adata, uiGlobal_s::adataize, Cmd_AddCommand(), Com_Printf(), uiGlobal_s::curadata, CVAR_ARCHIVE, CVAR_DEVELOPER, Cvar_Get(), cvar_s::integer, Mem_CreatePool, Mem_PoolAllocTypeN, OBJZERO, UI_InitActions(), UI_InitData(), UI_InitDraw(), UI_InitLua(), UI_InitNodes(), UI_InitWindows(), UI_Restart_f(), and ui_sounds.
Referenced by CL_InitLocal(), ParticleTest::SetUpTestCase(), UILevel2Test::SetUpTestCase(), ScriptTest::SetUpTestCase(), FootStepTest::SetUpTestCase(), MapDefStatsTest::SetUpTestCase(), MapDefTest::SetUpTestCase(), MapDefMassRMATest::SetUpTestCase(), CampaignTest::SetUpTestCase(), and UI_Restart_f().
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().
Reset and free the UI data hunk.
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().