]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
no need to update lightmaps if using r_vertexsurfaces
[xonotic/darkplaces.git] / model_shared.h
index d35e06a5a38bb103e4669ca4a244f858f93ca981..d58fc9bc4aeb52d242525a93776ae97da4d34e49 100644 (file)
@@ -143,6 +143,9 @@ typedef struct model_s
 
        int                             numsurfaces;
        msurface_t              *surfaces;
+       int                             *surfacevisframes;
+       int                             *surfacepvsframes;
+       msurface_t              *surfacepvsnext;
 
        int                             numsurfedges;
        int                             *surfedges;
@@ -151,12 +154,12 @@ typedef struct model_s
        dclipnode_t             *clipnodes;
 
        int                             nummarksurfaces;
-       msurface_t              **marksurfaces;
+       int                             *marksurfaces;
 
        hull_t                  hulls[MAX_MAP_HULLS];
 
        int                             numtextures;
-       texture_t               **textures;
+       texture_t               *textures;
 
        qbyte                   *visdata;
        qbyte                   *lightdata;