ui_node_model.h File Reference

#include "../ui_nodes.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

struct  uiModel_s
 Model that have more than one part (top and down part of an aircraft). More...
struct  modelExtraData_s
 extradata for the model node More...

Defines

#define UI_MAX_MODELS   128

Typedefs

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

Functions

uiModel_tUI_GetUIModel (const char *modelName)
 Returns pointer to UI model.
void UI_DrawModelNode (struct uiNode_s *node, const char *source)
void UI_RegisterModelNode (struct uiBehaviour_s *behaviour)

Detailed Description

Definition in file ui_node_model.h.


Define Documentation

#define UI_MAX_MODELS   128

< include animState_t

Definition at line 31 of file ui_node_model.h.

Referenced by UI_ParseUIModel().


Typedef Documentation

extradata for the model node

typedef struct uiModel_s uiModel_t

Model that have more than one part (top and down part of an aircraft).


Function Documentation

void UI_DrawModelNode ( uiNode_t node,
const char *  source 
)
uiModel_t* UI_GetUIModel ( const char *  modelName  ) 

Returns pointer to UI model.

Parameters:
[in] modelName model id from script files
Returns:
uiModel_t pointer

Definition at line 57 of file ui_node_model.c.

References i, uiModel_s::id, m, MAX_VAR, uiGlobal_s::models, uiGlobal_s::numModels, and ui_global.

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

void UI_RegisterModelNode ( struct uiBehaviour_s behaviour  ) 

Generated by  doxygen 1.6.2