#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. | |
void | UI_Reinit (void) |
void | UI_SetCvar (const char *name, const char *str, float value) |
void | UI_ExecuteConfunc (const char *fmt,...) __attribute__((format(__printf__ |
void int | UI_DebugMode (void) |
Variables | |
struct cvar_s * | mn_sequence |
struct cvar_s * | mn_hud |
Definition in file ui_main.h.
void int UI_DebugMode | ( | void | ) |
Definition at line 67 of file ui_main.c.
References cvar_s::integer.
Referenced by UI_Draw(), and UI_GetNodeInTreeAtPosition().
void UI_ExecuteConfunc | ( | const char * | fmt, | |
... | ||||
) |
void UI_Init | ( | void | ) |
Definition at line 326 of file ui_main.c.
References uiGlobal_s::adata, uiGlobal_s::adataize, byte, Cmd_AddCommand(), uiGlobal_s::curadata, CVAR_ARCHIVE, CVAR_DEVELOPER, Cvar_Get(), CVAR_LATCH, Mem_CreatePool, Mem_PoolAlloc, UI_HUNK_SIZE, UI_InitActions(), UI_InitData(), UI_InitDraw(), UI_InitNodes(), UI_InitWindows(), UI_Modify_f(), UI_ModifyWrap_f(), ui_sounds, and UI_Translate_f().
Referenced by CLMN_InitStartup().
void UI_Reinit | ( | void | ) |
Reinit input and font
Definition at line 258 of file ui_main.c.
References UI_InitFonts(), UI_InvalidateMouse(), and UI_ReleaseInput().
Referenced by VID_Restart_f().
void UI_SetCvar | ( | const char * | name, | |
const char * | str, | |||
float | value | |||
) |
[in] | name | Name of the cvar |
[in] | str | Might be NULL if you want to set a float value |
[in] | value | Float value to set |
Definition at line 82 of file ui_main.c.
References Com_Printf(), Cvar_FindVar(), Cvar_Set(), Cvar_SetValue(), cvar_s::name, and UI_CheckCvar().
Referenced by UI_AbstractOptionSetCurrentValue(), UI_BarNodeCapturedMouseMove(), UI_CheckBoxNodeActivate(), UI_NodeSetProperty(), UI_RadioButtonNodeActivate(), and UI_SpinnerNodeStep().
void UI_Shutdown | ( | void | ) |
Reset and free the UI data hunk.
Definition at line 272 of file ui_main.c.
References uiGlobal_s::adata, uiGlobal_s::adataize, uiNode_s::behaviour, Cmd_Exists(), Cmd_RemoveCommand(), uiNode_s::firstChild, Mem_Free, Mem_FreePool, uiNode_s::name, uiNode_s::next, uiGlobal_s::numWindows, uiNode_s::parent, UI_GetNodeBehaviour(), and uiGlobal_s::windows.
Referenced by CL_Shutdown().
Definition at line 36 of file ui_main.c.
Referenced by CL_HudRadarDown_f(), CL_HudRadarUp_f(), CL_Reset(), GAME_CP_Spawn(), GAME_StartBattlescape(), HUD_DisplayMessage(), Irc_Client_CmdPrivmsg(), and UI_GetActiveRenderRect().
struct cvar_s* mn_sequence |
Definition at line 35 of file ui_main.c.
Referenced by CL_SequenceStart_f().