]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
physics: fix and refactor unsticking
[xonotic/darkplaces.git] / model_shared.h
index 072d61f9397ca512cedabec3c321204eaaf355f6..39572b5408315dc02d7dd7a8bba25a8483849620 100644 (file)
@@ -404,6 +404,9 @@ typedef struct msurface_s
        int num_firstcollisiontriangle; // q3bsp only
        int num_collisiontriangles; // number of triangles (if surface has collisions enabled)
        int num_collisionvertices; // number of vertices referenced by collision triangles (if surface has collisions enabled)
+
+       // used by Mod_Mesh_Finalize when building sortedmodelsurfaces
+       qbool included;
 }
 msurface_t;
 
@@ -439,7 +442,7 @@ typedef struct model_s
        // all models use textures...
        rtexturepool_t  *texturepool;
        // EF_* flags (translated from the model file's different flags layout)
-       int                             effects;
+       unsigned                                effects;
        // number of QC accessible frame(group)s in the model
        int                             numframes;
        // number of QC accessible skin(group)s in the model