29 #ifndef __MODEL_MD3_H__
30 #define __MODEL_MD3_H__
42 #define MD3_IDENT (('3'<<24)+('P'<<16)+('D'<<8)+'I')
43 #define MD3_VERSION 15
46 #define SHADER_MAX_VERTEXES 1000
47 #define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)
50 #define MD3_MAX_LODS 4
51 #define MD3_MAX_TRIANGLES 8192 // per surface
52 #define MD3_MAX_VERTS 4096 // per surface
53 #define MD3_MAX_SHADERS 256 // per surface
54 #define MD3_MAX_FRAMES 1024 // per model
55 #define MD3_MAX_SURFACES 32 // per model
56 #define MD3_MAX_TAGS 16 // per frame
57 #define MAX_MD3PATH 64 // from quake3
60 #define MD3_XYZ_SCALE (1.0/64)
struct md3Frame_s md3Frame_t
const idMaterial * shader
struct md3Surface_s md3Surface_t
struct md3Header_s md3Header_t