Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

28 lines
544 B
C++

#if !defined(UNDOQUEUE_H)
#define UNDOQUEUE_H
#define MAX_UNDO 128
#include"stdafx.h"
#include"TCTTerrainData.h"
class UndoQueue
{
protected:
TCTTerrainData *Data[MAX_UNDO];
int Initalized;
int Current,Size,Filled,RedoTot;
public:
UndoQueue();
~UndoQueue();
void Initalize(int sze);
void UnInitalize();
void SetSize(int sze);
TCTTerrainData &Undo(TCTTerrainData &);
TCTTerrainData &Redo();
int Undoable() {return Filled;}
int Redoable() {return RedoTot;}
void SaveState(TCTTerrainData &);
};
#endif