]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DPatch.h
* removed todo entry
[xonotic/netradiant.git] / contrib / bobtoolz / DPatch.h
index 4d85e90939f70c2426235003d85f7debecba4d5b..6bdf8e60803f07dcce4e11a1a632243d580d7ebb 100644 (file)
@@ -36,20 +36,6 @@ typedef struct
        int pos2;
 } patch_merge_t;
 
-typedef struct {
-       float xyz[3];
-       float st[2];
-       float normal[3];
-  float lightmap[2];
-} drawVert_t;
-
-class Patch;
-
-#define MAX_PATCH_WIDTH 16
-#define MAX_PATCH_HEIGHT 16
-#define MIN_PATCH_WIDTH 3
-#define MIN_PATCH_HEIGHT 3
-
 class DPatch  
 {
 public:
@@ -60,8 +46,9 @@ public:
        patch_merge_t IsMergable(DPatch* other);
   bool ResetTextures(const char *oldTextureName, const char *newTextureName);
        void RemoveFromRadiant(void);
-       scene::Node* QER_brush;
-       void LoadFromBrush(scene::Node* brush);
+       brush_t* QER_brush;
+       void LoadFromBrush_t(brush_t* brush);
+       patchMesh_t* QER_patch;
        void BuildInRadiant(void* entity = NULL);
        void SetTexture(const char* textureName);
        char texture[256];