Add tile detail drawer, click-to-focus-camera, and occupied tile click redirect

- Right-side slide-in drawer shows tile coords, affinity, base1/base2, ruin,
  and occupant name when any tile is clicked in NONE mode; auto-closes on mode change
- New 'Focus camera when clicking a tile' setting (Settings.click_to_focus_camera),
  toggled in in-game settings panel, tweens camera to clicked tile
- Clicking a tile occupied by a unit now redirects to that unit in both NONE
  and UNIT_SELECTED modes, so you no longer need to hit the unit mesh exactly

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-28 17:36:01 -04:00
co-authored by Claude Happy
parent 2e3e284023
commit cb601abd00
5 changed files with 176 additions and 3 deletions
@@ -120,7 +120,7 @@ func _build_fields(r: Dictionary) -> void:
# Board template picker — populate from BoardTemplateCache (GUID values, not labels).
var tmpl_key := "boardTemplateIdOverride"
var cur_tmpl_id := get_s.call(tmpl_key, "")
var cur_tmpl_id : Variant = get_s.call(tmpl_key, "")
var custom_tmpls : Array = BoardTemplateCache.get_templates_for_custom()
var tmpl_hbox := HBoxContainer.new()
var tmpl_lbl := Label.new()