X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_shared.h;h=6bec208f3c3594331a4eceb8f593616de15163e9;hb=4596c46213ae652af1b2e4bc6b691076cff2c416;hp=43cadd1aec10b868e2edead6285c7f51e5922afc;hpb=8975282c766a46aa0da84f14a0ba278f62c9c8df;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.h b/model_shared.h index 43cadd1a..6bec208f 100644 --- a/model_shared.h +++ b/model_shared.h @@ -33,7 +33,7 @@ m*_t structures are in-memory */ -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 { @@ -73,9 +73,9 @@ typedef struct shadowmesh_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; @@ -172,6 +172,8 @@ typedef struct model_s int *surfacevisframes; int *surfacepvsframes; msurface_t *surfacepvsnext; + surfmesh_t *entiremesh; + surfmesh_t *surfmeshes; int numsurfedges; int *surfedges;