]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
optimizing R_DrawSurfaces and WorldNode functions
[xonotic/darkplaces.git] / model_shared.h
index d0280aa50086c37ee258f098bc28a93f41d9ffc0..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,7 +154,7 @@ typedef struct model_s
        dclipnode_t             *clipnodes;
 
        int                             nummarksurfaces;
-       msurface_t              **marksurfaces;
+       int                             *marksurfaces;
 
        hull_t                  hulls[MAX_MAP_HULLS];