Commit Graph
2 Commits
Author SHA1 Message Date
Claude 0f3dab9df3 Mouse: game menu, overlay close boxes and key chips for key-only orders
- Top bar (frigate and submarine): a menu icon beside the theme switch opens
  a compact game menu (help, options, save/load, weather, plot, autocrew,
  crew assist, simlog, XO, analyzer, Remote Crew, nations, quit); each row
  calls what its key calls. The open menu owns the pointer ("popup" layer);
  a click beside it or any key closes it.
- Every overlay (help, options, save/load, quit, nations, live traffic,
  weather 0, autocrew F3, simlog F4) has a close box acting as Esc; the
  F3/0/F4 overlays now pass clicks to the pointer targets.
- Sonar: chips C/T/G/M/Y/Shift+Y under the contact cards (boat: C/T/M).
- OPZ target page: chips M, G, left/right; group page: Y F H X W Shift+A
  Shift+W hints clickable. ESSM and consort ASROC stay keys (fire by click
  only at station 3).
- Submarine weapons: chips Shift+M, Ctrl+M, V; tube lamps load (M) or
  flood (Shift+M), only at the weapons station.
- help.py, manual EN/DE, station shortcut sheet, catalogs; tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 18:05:19 +00:00
Claude d59cf8fa63 Fix theme switch and submarine contact-card clicks (1.3.179)
Pointer actions are called with the canvas position; the top-bar theme
switch registered a bound method without it and the submarine weapons
contact cards took the position as the contact. Both raised a TypeError
on click. A regression test checks every registered action of the drawn
frames accepts the position.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 12:27:05 +00:00