mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 18:13:52 +00:00
feat(editor): unified Export Zone, quick-save, cursor world coords
- Ctrl+S quick-saves entire zone (ADT + WDT + creatures.json) to output/ - File > Export Zone dialog saves all data to chosen directory - exportZone() bundles ADT, WDT, and NPC spawns in one operation - Info panel shows cursor world coordinates for placement debugging - Info panel shows NPC count alongside object count - Save state indicator: "Saved" (green) vs "* Unsaved (Ctrl+S)" (yellow) - File menu reorganized: Quick Save + Export Zone replaces separate ADT/WDT
This commit is contained in:
parent
88abbfb564
commit
d28c5ec842
3 changed files with 69 additions and 23 deletions
|
|
@ -32,6 +32,8 @@ public:
|
|||
void createNewTerrain(const std::string& mapName, int tileX, int tileY, float baseHeight, Biome biome);
|
||||
void saveADT(const std::string& path);
|
||||
void saveWDT(const std::string& path);
|
||||
void exportZone(const std::string& outputDir);
|
||||
void quickSave();
|
||||
|
||||
void requestQuit();
|
||||
void resetCamera();
|
||||
|
|
@ -96,6 +98,7 @@ private:
|
|||
bool painting_ = false;
|
||||
bool objectsDirty_ = false;
|
||||
bool openContextMenu_ = false;
|
||||
std::string lastSavePath_;
|
||||
size_t lastObjectCount_ = 0;
|
||||
EditorMode mode_ = EditorMode::Sculpt;
|
||||
float waterHeight_ = 100.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue