X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=model_shared.h;h=c54472a429f0c500873d11ae6ea6b3c94f016f08;hp=b73deb56646a4fa326824aeb2557380d5bb75eae;hb=03e040262964d69c24733989c189dc60f40d2db2;hpb=8914bb86d1438fc76e721b925700813983ed1a49 diff --git a/model_shared.h b/model_shared.h index b73deb56..c54472a4 100644 --- a/model_shared.h +++ b/model_shared.h @@ -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; @@ -302,12 +308,6 @@ 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; - // freed after loading! int num_vertices; float *data_vertex3f; @@ -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