UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_model.h File Reference
#include "../ui_nodes.h"
#include "ui_node_abstractnode.h"
#include "../../cl_renderer.h"
Include dependency graph for ui_node_model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  uiModelNode
struct  uiModel_t
 Model that have more than one part (top and down part of an aircraft). More...
struct  modelExtraData_t
 extradata for the model node More...

Macros

#define UI_MAX_MODELS   128

Functions

uiModel_tUI_GetUIModel (const char *modelName)
 Returns pointer to UI model.
void UI_DrawModelNode (uiNode_t *node, const char *source)
void UI_RegisterModelNode (uiBehaviour_t *behaviour)
void UI_Model_SetModelSource (uiNode_t *node, const char *modelName)
void UI_Model_SetSkinSource (uiNode_t *node, const char *skinName)
void UI_Model_SetAnimationSource (uiNode_t *node, const char *animName)
void UI_Model_SetTagSource (uiNode_t *node, const char *tagName)

Macro Definition Documentation

◆ UI_MAX_MODELS

#define UI_MAX_MODELS   128

Definition at line 44 of file ui_node_model.h.

Referenced by UI_ParseUIModel().

Function Documentation

◆ UI_DrawModelNode()

◆ UI_GetUIModel()

uiModel_t * UI_GetUIModel ( const char * modelName)

Returns pointer to UI model.

Parameters
[in]modelNamemodel id from script files
Returns
uiModel_t pointer

Definition at line 61 of file ui_node_model.cpp.

References i, m, Q_streq, and ui_global.

Referenced by GAME_GetModelForItem(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), and UI_ParseUIModel().

◆ UI_Model_SetAnimationSource()

void UI_Model_SetAnimationSource ( uiNode_t * node,
const char * animName )

◆ UI_Model_SetModelSource()

void UI_Model_SetModelSource ( uiNode_t * node,
const char * modelName )

◆ UI_Model_SetSkinSource()

void UI_Model_SetSkinSource ( uiNode_t * node,
const char * skinName )

◆ UI_Model_SetTagSource()

void UI_Model_SetTagSource ( uiNode_t * node,
const char * tagName )

◆ UI_RegisterModelNode()