mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
feat(editor): WCP shortcut, help panel overhaul, active path restore
- Ctrl+Shift+E keyboard shortcut for WCP content pack export - Help panel expanded: object tools (snap/align/flatten/scatter/select by type), all terrain generators, stamp save/load, export shortcuts - ObjectPlacer::loadFromFile restores activePath_ from loaded objects so users can continue placing the same type after loading - WCP export menu item now shows Ctrl+Shift+E hint
This commit is contained in:
parent
7473728360
commit
d00ddd1c73
3 changed files with 29 additions and 6 deletions
|
|
@ -310,6 +310,10 @@ void EditorApp::processEvents() {
|
|||
}
|
||||
if (sc == SDL_SCANCODE_S && (event.key.keysym.mod & KMOD_CTRL))
|
||||
quickSave();
|
||||
if (sc == SDL_SCANCODE_E && (event.key.keysym.mod & KMOD_CTRL) &&
|
||||
(event.key.keysym.mod & KMOD_SHIFT) && terrain_.isLoaded()) {
|
||||
exportContentPack("output/" + loadedMap_ + ".wcp");
|
||||
}
|
||||
if (sc == SDL_SCANCODE_N && (event.key.keysym.mod & KMOD_CTRL))
|
||||
ui_.openNewTerrainDialog();
|
||||
if (sc == SDL_SCANCODE_O && (event.key.keysym.mod & KMOD_CTRL))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue