r_model_md3.c File Reference

md3 alias model loading More...

#include "r_local.h"
Include dependency graph for r_model_md3.c:

Go to the source code of this file.

Functions

void R_ModLoadAliasMD3Model (model_t *mod, byte *buffer, int bufSize)
 Load MD3 models from file.

Detailed Description

md3 alias model loading

Definition in file r_model_md3.c.


Function Documentation

void R_ModLoadAliasMD3Model ( model_t mod,
byte buffer,
int  bufSize 
)

Load MD3 models from file.

Note:
Some Vic code here not fully used

Definition at line 38 of file r_model_md3.c.

References AddPointToBounds(), model_s::alias, mAliasTagOrientation_s::axis, byte, ClearBounds(), Com_Error(), ERR_DROP, mAliasModel_s::frames, i, dmd3mesh_t::id, IDMD3HEADER, mAliasMesh_s::indexes, LittleFloat(), LittleLong(), LittleShort(), mAliasCoord_t, mAliasFrame_s::maxs, model_s::maxs, MD3_ALIAS_VERSION, MD3_MAX_FRAMES, MD3_MAX_MESHES, MD3_MAX_PATH, MD3_MAX_SHADERS, MD3_MAX_TAGS, MD3_MAX_TRIANGLES, MD3_MAX_VERTS, MD3_XYZ_SCALE, Mem_PoolAlloc, mAliasModel_s::meshes, dmd3mesh_t::meshsize, mAliasFrame_s::mins, model_s::mins, mod_alias_md3, MODEL_MAX_PATH, image_s::name, mAliasSkin_s::name, dmd3skin_t::name, dmd3mesh_t::name, mAliasMesh_s::name, mAliasTag_s::name, model_s::name, mAliasVertex_s::normal, dmd3_t::num_frames, mAliasModel_s::num_frames, dmd3_t::num_meshes, mAliasModel_s::num_meshes, dmd3mesh_t::num_skins, mAliasMesh_s::num_skins, dmd3_t::num_tags, mAliasModel_s::num_tags, dmd3mesh_t::num_tris, mAliasMesh_s::num_tris, dmd3mesh_t::num_verts, mAliasMesh_s::num_verts, dmd3_t::ofs_frames, dmd3_t::ofs_meshes, dmd3mesh_t::ofs_skins, dmd3_t::ofs_tags, dmd3mesh_t::ofs_tcs, dmd3mesh_t::ofs_tris, dmd3mesh_t::ofs_verts, mAliasTag_s::orient, mAliasTagOrientation_s::origin, mAliasVertex_s::point, Q_strncpyz(), qtrue, R_AliasModelGetSkin(), R_ModLoadArrayData(), mAliasFrame_s::radius, model_s::radius, mAliasSkin_s::skin, mAliasMesh_s::skins, dmd3coord_t::st, mAliasMesh_s::stcoords, mAliasModel_s::tags, mAliasFrame_s::translate, model_s::type, dmd3_t::version, mAliasMesh_s::vertexes, and vid_modelPool.

Referenced by LoadModel(), and R_ModForName().


Generated by  doxygen 1.6.2