doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs
Model_md3.h File Reference

Go to the source code of this file.

Classes

struct  md3Frame_s
 
struct  md3Tag_s
 
struct  md3Surface_s
 
struct  md3Shader_t
 
struct  md3Triangle_t
 
struct  md3St_t
 
struct  md3XyzNormal_t
 
struct  md3Header_s
 

Macros

#define MD3_IDENT   (('3'<<24)+('P'<<16)+('D'<<8)+'I')
 
#define MD3_VERSION   15
 
#define SHADER_MAX_VERTEXES   1000
 
#define SHADER_MAX_INDEXES   (6*SHADER_MAX_VERTEXES)
 
#define MD3_MAX_LODS   4
 
#define MD3_MAX_TRIANGLES   8192
 
#define MD3_MAX_VERTS   4096
 
#define MD3_MAX_SHADERS   256
 
#define MD3_MAX_FRAMES   1024
 
#define MD3_MAX_SURFACES   32
 
#define MD3_MAX_TAGS   16
 
#define MAX_MD3PATH   64
 
#define MD3_XYZ_SCALE   (1.0/64)
 

Typedefs

typedef struct md3Frame_s md3Frame_t
 
typedef struct md3Tag_s md3Tag_t
 
typedef struct md3Surface_s md3Surface_t
 
typedef struct md3Header_s md3Header_t
 

Macro Definition Documentation

#define MAX_MD3PATH   64

Definition at line 57 of file Model_md3.h.

#define MD3_IDENT   (('3'<<24)+('P'<<16)+('D'<<8)+'I')

Definition at line 42 of file Model_md3.h.

#define MD3_MAX_FRAMES   1024

Definition at line 54 of file Model_md3.h.

#define MD3_MAX_LODS   4

Definition at line 50 of file Model_md3.h.

#define MD3_MAX_SHADERS   256

Definition at line 53 of file Model_md3.h.

#define MD3_MAX_SURFACES   32

Definition at line 55 of file Model_md3.h.

#define MD3_MAX_TAGS   16

Definition at line 56 of file Model_md3.h.

#define MD3_MAX_TRIANGLES   8192

Definition at line 51 of file Model_md3.h.

#define MD3_MAX_VERTS   4096

Definition at line 52 of file Model_md3.h.

#define MD3_VERSION   15

Definition at line 43 of file Model_md3.h.

#define MD3_XYZ_SCALE   (1.0/64)

Definition at line 60 of file Model_md3.h.

#define SHADER_MAX_INDEXES   (6*SHADER_MAX_VERTEXES)

Definition at line 47 of file Model_md3.h.

#define SHADER_MAX_VERTEXES   1000

Definition at line 46 of file Model_md3.h.

Typedef Documentation

typedef struct md3Frame_s md3Frame_t
typedef struct md3Header_s md3Header_t
typedef struct md3Surface_s md3Surface_t
typedef struct md3Tag_s md3Tag_t