history.h

changeset 93
92682e6369e9
parent 92
586d294ca83f
child 96
2f175b3d8211
--- a/history.h	Wed Apr 10 04:34:19 2013 +0300
+++ b/history.h	Wed Apr 10 13:24:35 2013 +0300
@@ -20,6 +20,7 @@
 #define HISTORY_H
 
 #include "common.h"
+#include "ldtypes.h"
 
 #define IMPLEMENT_HISTORY_TYPE(N) \
 	virtual ~N##History (); \
@@ -112,6 +113,20 @@
 // =============================================================================
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
+class QuadSplitHistory : public HistoryEntry {
+public:
+	IMPLEMENT_HISTORY_TYPE (QuadSplit)
+	
+	std::vector<ulong> ulaIndices;
+	std::vector<LDQuad*> paQuads;
+	
+	QuadSplitHistory (std::vector<ulong> ulaIndices, std::vector<LDQuad*> paQuads) :
+		ulaIndices (ulaIndices), paQuads (paQuads) {}
+};
+
+// =============================================================================
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+// =============================================================================
 namespace History {
 	extern std::vector<HistoryEntry*> entries;
 	

mercurial