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:
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];