]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
changed uses of q3mmodel_t to q3dmodel_t because there are no actual differences...
[xonotic/darkplaces.git] / model_shared.h
index b73deb56646a4fa326824aeb2557380d5bb75eae..e2071a5175e0fef732031e49acf7b390e9895c4f 100644 (file)
@@ -216,6 +216,12 @@ typedef struct model_brush_s
        int num_surfaces;
        msurface_t *data_surfaces;
 
+       int num_brushes;
+       q3mbrush_t *data_brushes;
+
+       int num_brushsides;
+       q3mbrushside_t *data_brushsides;
+
        // pvs
        int num_pvsclusters;
        int num_pvsclusterbytes;
@@ -300,13 +306,7 @@ model_brushq2_t;
 typedef struct model_brushq3_s
 {
        int num_models;
-       q3mmodel_t *data_models;
-
-       int num_brushes;
-       q3mbrush_t *data_brushes;
-
-       int num_brushsides;
-       q3mbrushside_t *data_brushsides;
+       q3dmodel_t *data_models;
 
        // freed after loading!
        int num_vertices;
@@ -389,6 +389,9 @@ typedef struct model_s
        // range of surface numbers in this (sub)model
        int                             firstmodelsurface;
        int                             nummodelsurfaces;
+       // range of collision brush numbers in this (sub)model
+       int                             firstmodelbrush;
+       int                             nummodelbrushes;
        // list of surface numbers in this (sub)model
        int                             *surfacelist;
        // surface meshes are merged to a smaller set of meshes to allow reduced