Simulator::cScenarioEditHistory class

Class that manages the undo/redo history of the adventure editor.

The history is made up by a vector of "entries" (IScenarioEditHistoryEntry), which are individual actions that can be undone/redone.

Public static functions

static auto Get() -> cScenarioEditHistory*

Public variables

eastl::vector<IScenarioEditHistoryEntryPtr> mEntries
int mCurrentIndex
Index that points to the current entry in mEntries
int field_18
int field_1C
bool mIsNotEditing
False if there is a history entry that is being edited and needs to be commited.
IScenarioEditHistoryEntryPtr mEditingEntry
In progress entry being edited, nullptr when there is no editing action in progress.