mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
feat(editor): generator undo, quit confirmation, state cleanup
- All terrain generators now undoable: crater, mesa, hill, voronoi, dunes, detail noise, thermal erosion, canyon, island, ridge, road, river, perlin noise — all wrapped with recordGeneratorUndo/commit - Unsaved changes warning on quit: Save & Quit / Quit / Cancel dialog - createNewTerrain clears quest editor and path capture state - recordGeneratorUndo/commitGeneratorUndo helper methods snapshot all 256 chunks before/after any generator operation
This commit is contained in:
parent
86f1a7d109
commit
7e02db73df
4 changed files with 77 additions and 4 deletions
|
|
@ -135,6 +135,7 @@ private:
|
|||
float autoSaveTimer_ = 0.0f;
|
||||
float autoSaveInterval_ = 300.0f;
|
||||
bool autoSaveEnabled_ = true;
|
||||
bool showQuitConfirm_ = false;
|
||||
|
||||
// Toast notifications
|
||||
struct Toast { std::string msg; float timer; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue