41 #define MD5_VERSION_STRING "MD5Version"
42 #define MD5_MESH_EXT "md5mesh"
43 #define MD5_ANIM_EXT "md5anim"
44 #define MD5_CAMERA_EXT "md5camera"
45 #define MD5_VERSION 10
51 #define GL_INDEX_TYPE GL_UNSIGNED_INT
56 #define GL_INDEX_TYPE GL_UNSIGNED_SHORT
204 virtual void Reset() = 0;
224 virtual const char *
Name()
const = 0;
227 virtual void Print()
const = 0;
230 virtual void List()
const = 0;
233 virtual int Memory()
const = 0;
307 virtual int NearestJoint(
int surfaceNum,
int a,
int c,
int b )
const = 0;
int numShadowIndexesNoFrontCaps
virtual srfTriangles_t * AllocSurfaceTriangles(int numVerts, int numIndexes) const =0
virtual idRenderModel * InstantiateDynamicModel(const struct renderEntity_s *ent, const struct viewDef_s *view, idRenderModel *cachedModel)=0
virtual void SetLevelLoadReferenced(bool referenced)=0
virtual int Memory() const =0
virtual void PartialInitFromFile(const char *fileName)=0
virtual bool IsStaticWorldModel() const =0
virtual void Print() const =0
virtual void FinishSurfaces()=0
virtual void TouchData()=0
virtual bool IsLevelLoadReferenced()=0
const idMaterial * shader
virtual void FreeSurfaceTriangles(srfTriangles_t *tris) const =0
virtual void AddSurface(modelSurface_t surface)=0
bool facePlanesCalculated
virtual const char * Name() const =0
virtual void ReadFromDemoFile(class idDemoFile *f)=0
virtual bool IsReloadable() const =0
virtual void FreeVertexCache()=0
struct vertCache_s * ambientCache
virtual void PurgeModel()=0
struct srfTriangles_s * ambientSurface
virtual dynamicModel_t IsDynamicModel() const =0
virtual void InitEmpty(const char *name)=0
virtual const idMD5Joint * GetJoints(void) const =0
float normalizationScale[3]
virtual const char * GetJointName(jointHandle_t handle) const =0
virtual void WriteToDemoFile(class idDemoFile *f)=0
struct modelSurface_s modelSurface_t
virtual void List() const =0
const idMD5Joint * parent
srfTriangles_t * geometry
const int SHADOW_CAP_INFINITE
virtual const modelSurface_t * Surface(int surfaceNum) const =0
struct dominantTri_s dominantTri_t
virtual const idJointQuat * GetDefaultPose(void) const =0
struct vertCache_s * lightingCache
shadowCache_t * shadowVertexes
virtual int NearestJoint(int surfaceNum, int a, int c, int b) const =0
struct vertCache_s * shadowCache
GLubyte GLubyte GLubyte a
virtual void LoadModel()=0
virtual idBounds Bounds(const struct renderEntity_s *ent=NULL) const =0
virtual ID_TIME_T Timestamp() const =0
idList< srfTriangles_t * > idTriList
int numShadowIndexesNoCaps
virtual void InitFromFile(const char *fileName)=0
virtual jointHandle_t GetJointHandle(const char *name) const =0
virtual bool IsDefaultModel() const =0
virtual bool IsLoaded()=0
virtual int NumBaseSurfaces() const =0
virtual int NumJoints(void) const =0
struct srfTriangles_s * nextDeferredFree
virtual srfTriangles_t * ShadowHull() const =0
struct shadowCache_s shadowCache_t
struct vertCache_s * indexCache
struct srfTriangles_s srfTriangles_t
struct lightingCache_s lightingCache_t
virtual float DepthHack() const =0
virtual int NumSurfaces() const =0
dominantTri_t * dominantTris