feat(editor): heightmap export, help overlay, keyboard reference

- Export Heightmap: File > Export Heightmap saves terrain as 16-bit
  RAW grayscale (129x129) for use in external terrain editors or
  as a backup. Configurable max height scale.
- Help overlay (F1 or Help menu): lists all keyboard shortcuts
  organized by category (navigation, editing, object transform, view)
- Round-trip heightmap workflow: import → edit → export
This commit is contained in:
Kelsi 2026-05-05 04:52:36 -07:00
parent 2f96f112bd
commit 89312120f4
5 changed files with 85 additions and 1 deletions

View file

@ -205,6 +205,7 @@ void EditorApp::processEvents() {
auto sc = event.key.keysym.scancode;
if (sc == SDL_SCANCODE_F3) setWireframe(!isWireframe());
if (sc == SDL_SCANCODE_F5) saveBookmark("");
// F1 handled by UI (showHelp_ toggle)
// Transform shortcuts (Blender-style)
if (objectPlacer_.getSelected()) {
if (sc == SDL_SCANCODE_G) startGizmoMode(TransformMode::Move);