undo/redo for edit/clear quest

This commit is contained in:
2025-06-12 15:17:08 -05:00
parent 9aa348e28d
commit 71629e45bd
8 changed files with 108 additions and 18 deletions

View File

@@ -21,6 +21,10 @@ public:
short bank1 = -1, bank2 = -1; // which job bank(s) this quest is in; -1 for none
std::string name;
std::string descr;
// For detecting actual changes to quests in the scenario editor
bool operator==(const cQuest& other);
bool operator!=(const cQuest& other) { return !(*this == other); }
};
class cJob {