]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DBrush.h
- Radiant is now Vista compatible (Aero must be disabled)
[xonotic/netradiant.git] / contrib / bobtoolz / DBrush.h
index 9915d0f90ca5277b61cc06189963ef3525b5ed6c..112f22940791136057d3bee51a2a65b0db5a6df3 100644 (file)
@@ -41,6 +41,7 @@ class _QERFaceData;
 namespace scene
 {
   class Node;
+  class Instance;
 }
 
 #define POINT_IN_BRUSH 0
@@ -88,7 +89,7 @@ public:
        
        void CutByPlane(DPlane* cutPlane, DBrush** newBrush1, DBrush** newBrush2);
 
-       void LoadFromBrush(scene::Node& brush, bool textured);
+       void LoadFromBrush(scene::Instance& brush, bool textured);
        void AddPoint(vec3_t pnt);
 
        DPlane* FindPlaneWithClosestNormal( vec_t* normal );
@@ -100,6 +101,7 @@ public:
        bool operator== (DBrush* other);
 
 //     members
+  scene::Node* QER_entity;
   scene::Node* QER_brush;
        std::list<DPlane*> faceList;
        std::list<DPoint*> pointList;