]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DPatch.h
ported bobtoolz
[xonotic/netradiant.git] / contrib / bobtoolz / DPatch.h
index d1442ce45dd3e539c3979efa99b9ea9528510e1f..324391890c0e0c5132163a212879437e71e1be1a 100644 (file)
@@ -43,6 +43,7 @@ typedef struct {
 namespace scene
 {
   class Node;
+  class Instance;
 }
 
 #define MAX_PATCH_WIDTH 16
@@ -59,8 +60,9 @@ public:
        DPatch* MergePatches(patch_merge_t merge_info, DPatch* p1, DPatch* p2);
        patch_merge_t IsMergable(DPatch* other);
   bool ResetTextures(const char *oldTextureName, const char *newTextureName);
+  scene::Node* QER_entity;
        scene::Node* QER_brush;
-       void LoadFromBrush(scene::Node& brush);
+       void LoadFromPatch(scene::Instance& patch);
        void BuildInRadiant(scene::Node* entity = NULL);
        void SetTexture(const char* textureName);
        char texture[256];