29#define UI_MAX_WINDOWS 128
30#define UI_MAX_COMPONENTS 128
31#define UI_MAX_WINDOWSTACK 32
32#define UI_MAX_ACTIONS 2*8192
33#define UI_MAX_VARIABLESTACK 64
49typedef struct uiGlobal_s {
104#define STRUCT_MEMORY_ALIGN 8
Atomic element to store UI scripts The parser use this atom to translate script action into many tree...
Global data shared into all UI code.
uiModel_t models[UI_MAX_MODELS]
uiNode_t * components[UI_MAX_COMPONENTS]
uiSprite_t sprites[UI_MAX_SPRITES]
uiSharedData_t sharedData[UI_MAX_DATAID]
Holds shared data.
uiKeyBinding_t keyBindings[UI_MAX_KEYBINDING]
uiAction_t actions[UI_MAX_ACTIONS]
uiValue_t variableStack[UI_MAX_VARIABLESTACK]
Local var for script function.
uiNode_t * windowStack[UI_MAX_WINDOWSTACK]
uiNode_t * windows[UI_MAX_WINDOWS]
Model that have more than one part (top and down part of an aircraft).
Atomic structure used to define most of the UI.
Type for uiAction_t It also contain type about type (for example EA_BINARYOPERATOR).
Data and interface to share data.
void * UI_AllocHunkMemory(size_t size, int align, bool reset)
#define UI_MAX_VARIABLESTACK
#define UI_MAX_COMPONENTS
#define UI_MAX_WINDOWSTACK
void UI_FinishWindowsInit(void)
Finish windows initialization.
void UI_FinishInit(void)
Finish initialization after everything was loaded.
memPool_t * ui_dynStringPool