- std::list<DPatch> SplitRows();
- std::list<DPatch> SplitCols();
- std::list<DPatch> Split();
- void Transpose();
- void Invert();
- 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 LoadFromPatch(scene::Instance& patch);
- void BuildInRadiant(scene::Node* entity = NULL);
- void SetTexture(const char* textureName);
- char texture[256];
- int width, height;
- drawVert_t points[MAX_PATCH_WIDTH][MAX_PATCH_HEIGHT];
- DPatch();
- virtual ~DPatch();
+std::list<DPatch> SplitRows();
+std::list<DPatch> SplitCols();
+std::list<DPatch> Split();
+void Transpose();
+//DPatch* TransposePatch(DPatch* p1);
+//void DebugPrint();
+void Invert();
+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 LoadFromPatch( scene::Instance& patch );
+void BuildInRadiant( scene::Node* entity = NULL );
+void SetTexture( const char* textureName );
+char texture[256];
+int width, height;
+drawVert_t points[MAX_PATCH_WIDTH][MAX_PATCH_HEIGHT];
+DPatch();
+virtual ~DPatch();