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