*/
-typedef enum {mod_invalid, mod_brush, mod_sprite, mod_alias} modtype_t;
+typedef enum {mod_invalid, mod_brush, mod_sprite, mod_alias, mod_brushq2, mod_brushq3} modtype_t;
typedef struct animscene_s
{
struct shadowmesh_s *next;
int numverts, maxverts;
int numtriangles, maxtriangles;
- float *verts;
- int *elements;
- int *neighbors;
+ float *vertex3f;
+ int *element3i;
+ int *neighbor3i;
// these are NULL after Mod_ShadowMesh_Finish is performed, only used
// while building meshes
shadowmeshvertexhash_t **vertexhashtable, *vertexhashentries;
int *surfacevisframes;
int *surfacepvsframes;
msurface_t *surfacepvsnext;
+ surfmesh_t *entiremesh;
+ surfmesh_t *surfmeshes;
int numsurfedges;
int *surfedges;