int numtextures;
texture_t **textures;
- byte *visdata;
- byte *lightdata;
+ qbyte *visdata;
+ qbyte *lightdata;
char *entities;
int numportals;
animscene_t *animscenes; // [numframes]
- // Q2 model information
-// md2triangle_t *md2data_tris;
- // FIXME: redesign to use triangle mesh
- int *md2data_glcmds;
-
- float *mdldata_texcoords;
- int *mdldata_indices;
-
+ // Q1 and Q2 models are the same after loading
+ int *mdlmd2data_indices;
+ float *mdlmd2data_texcoords;
md2frame_t *mdlmd2data_frames;
trivertx_t *mdlmd2data_pose;
// model loading
extern model_t *loadmodel;
-extern byte *mod_base;
+extern qbyte *mod_base;
// sky/water subdivision
extern cvar_t gl_subdivide_size;
// texture fullbrights
void Mod_UnloadModel (model_t *mod);
mleaf_t *Mod_PointInLeaf (float *p, model_t *model);
-byte *Mod_LeafPVS (mleaf_t *leaf, model_t *model);
+qbyte *Mod_LeafPVS (mleaf_t *leaf, model_t *model);
void Mod_ClearUsed(void);
void Mod_PurgeUnused(void);