From 9a6d6431b8e111428e47839b726830ed86713bfe Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Fri, 29 Nov 2013 16:13:47 -0800 Subject: #6069: Remove md4 model support. --- src/renderergl1/tr_local.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/renderergl1/tr_local.h') diff --git a/src/renderergl1/tr_local.h b/src/renderergl1/tr_local.h index 0cba2dfe..3b024ec2 100644 --- a/src/renderergl1/tr_local.h +++ b/src/renderergl1/tr_local.h @@ -474,7 +474,6 @@ typedef enum { SF_TRIANGLES, SF_POLY, SF_MD3, - SF_MD4, SF_MDR, SF_IQM, SF_FLARE, @@ -733,7 +732,6 @@ typedef enum { MOD_BAD, MOD_BRUSH, MOD_MESH, - MOD_MD4, MOD_MDR, MOD_IQM } modtype_t; @@ -746,7 +744,7 @@ typedef struct model_s { int dataSize; // just for listing purposes bmodel_t *bmodel; // only if type == MOD_BRUSH md3Header_t *md3[MD3_MAX_LODS]; // only if type == MOD_MESH - void *modelData; // only if type == (MOD_MD4 | MOD_MDR | MOD_IQM) + void *modelData; // only if type == (MOD_MDR | MOD_IQM) int numLods; } model_t; @@ -1394,9 +1392,8 @@ ANIMATED MODELS // void R_MakeAnimModel( model_t *model ); haven't seen this one really, so not needed I guess. void R_AddAnimSurfaces( trRefEntity_t *ent ); -void RB_SurfaceAnim( md4Surface_t *surfType ); void R_MDRAddAnimSurfaces( trRefEntity_t *ent ); -void RB_MDRSurfaceAnim( md4Surface_t *surface ); +void RB_MDRSurfaceAnim( mdrSurface_t *surface ); qboolean R_LoadIQM (model_t *mod, void *buffer, int filesize, const char *name ); void R_AddIQMSurfaces( trRefEntity_t *ent ); void RB_IQMSurfaceAnim( surfaceType_t *surface ); -- cgit