mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
feat(editor): open terrain format integrated into export workflow
- File > Export Open Format (.wot/.whm) menu item for standalone export - Every zone export (Ctrl+S, Export Zone) now also writes .wot/.whm alongside the ADT/WDT — dual format output - Export package now contains: ADT + WDT + WOT + WHM + JSON files - Both Blizzard-compatible (for existing servers) and open format (for wowee-native loading and redistribution)
This commit is contained in:
parent
7177463df1
commit
c28d3f8a99
3 changed files with 19 additions and 0 deletions
|
|
@ -158,6 +158,8 @@ void EditorUI::renderMenuBar(EditorApp& app) {
|
|||
app.quickSave();
|
||||
if (ImGui::MenuItem("Export Zone...", nullptr, false, app.hasTerrainLoaded()))
|
||||
showSaveDialog_ = true;
|
||||
if (ImGui::MenuItem("Export Open Format (.wot/.whm)", nullptr, false, app.hasTerrainLoaded()))
|
||||
app.exportOpenFormat("output");
|
||||
if (ImGui::MenuItem("Export Content Pack (.wcp)", nullptr, false, app.hasTerrainLoaded())) {
|
||||
std::string wcpPath = "output/" + app.getLoadedMap() + ".wcp";
|
||||
app.exportContentPack(wcpPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue