Commit Graph
321 Commits
Author SHA1 Message Date
Claude dd59cd412a Merge branch 'work/manual-e' into claude/project-thread-vth5vz
# Conflicts:
#	data/manual/00-quickstart.de.md
#	data/manual/00-quickstart.en.md
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.de.md
#	docs/manual/manual.en.md
#	docs/manual/manual.en.pdf
2026-10-03 21:20:49 +00:00
Claude 33358352f5 Restructure the manual into 21 chapters (quickstart, stations, submarine, reference)
Split the old quickstart/reference walls into Quickstart, Menu, Options,
nine station chapters (Purpose, Pages, Displays, Keys, Mouse, Standard
procedure, Tips, Not modelled), Submarine, Scenarios, Multiplayer, After the
mission, Tools, Editors, Language model, Reference and Glossary. Fix outdated
statements against the code; reader digits 0-9 open the quickstart and the
station chapters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:59:10 +00:00
Claude 5cd365da3e Merge origin/main; fixes become 1.3.189
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 20:07:18 +00:00
Claude 8e67a41462 Server mode: crew follows the leader's unit; top bar keeps Add station readable (1.3.188)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 19:11:55 +00:00
Claude 29de403647 Merge remote-tracking branch 'origin/main' into claude/project-thread-vth5vz
# Conflicts:
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
2026-10-03 18:56:08 +00:00
Claude 7b410ed723 Merge branch 'work/mouse-c1' into claude/project-thread-vth5vz
# Conflicts:
#	data/i18n/de.json
#	data/i18n/en.json
#	docs/station-shortcuts.de.pdf
2026-10-03 18:43:03 +00:00
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 d1679d2142 Merge branch 'work/keys-help' into claude/project-thread-vth5vz
# Conflicts:
#	data/i18n/de.json
#	data/i18n/en.json
#	docs/station-shortcuts.de.pdf
2026-10-03 18:05:08 +00:00
Claude 2be94a995b Server mode docs, release 1.3.186, lobby without the role rail
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:01:57 +00:00
Claude 3bda344987 Keys and help: one key, one meaning (audit 2026-10-03, P-02..P-19)
- Submarine F (fire by bearing): Enter confirms the distance, only
  Ctrl+Enter fires; the keypad's Enter cell is Ctrl+Enter in that entry.
- F1 page 0 shows the submarine's own global keys on the boat side and
  the menu keys in menus (help.py _UBOOT_GLOBAL_HELP, _MENU_HELP; manual
  markers keys:uboot_global, keys:menu).
- Submarine ESM: C (Shift+C back) classifies, arrows kept.
- Helicopter W: waypoint on the selected contact, as the patrol aircraft.
- W/R/F act only on the main menu and the scenario pages; the real
  sector moves with [ / ], page keys scroll the lists.
- Radio Tasks page: Enter accepts the selected task.
- OPZ page 5: Backspace resets the row, Shift+Backspace every row.
- Submarine order keys ignore Shift/Ctrl unless they have a variant;
  Shift+A at Command sends the active ping.
- Help: OPZ page-3 keys say "Page 3:", "S / L (OPZ: L = fusion)",
  logbook footer with every key (clickable).
- Remove dead STATION_COMMAND_HINTS and its control.hint.* texts.
- Tests for all of the above; manual and shortcut sheet regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 17:58:55 +00:00
Claude 83c60416aa Merge branch 'work/core-stability' into claude/project-thread-vth5vz 2026-10-03 17:58:52 +00:00
Claude ed2627efa3 Core stability: same-seed draws, checked saves, DR objective line, dead thresholds
- C16: stateless draws keyed on the entity's saved sensor_seed instead of the
  process-global entity id (MPA MAD/radar, helicopter radar, sub radar alert,
  frigate HF/DF noise, raid, scope phase, sub contact report, boat ESM level),
  so a second game with the same seed in one process runs identically.
- C18: save slots, autosave and the crash recovery autosave check the JSON
  text with the loader's size limit and strict validator before writing; a
  rejected document keeps the previous file, is recorded in the crash log and
  flashes a save error.
- C20: the crewed boat's objective lines (custom reach, breakthrough, strait,
  swimmers, homecoming, pickup, datum) use the dead-reckoned position.
- C22: drop thresholds that never trigger (HEARD_S, SUB_REPORT_CONTACT_S);
  manual states the effective 4 minutes for AI contact reports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 16:57:30 +00:00
Claude c5fcd00e34 Merge remote-tracking branch 'origin/main' into claude/project-thread-ol70df
# Conflicts:
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.en.pdf
2026-10-03 15:29:58 +00:00
Claude 69bb713c31 Manual: browser repair-team cards (EN/DE)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 15:04:43 +00:00
Claude 24fdf6e1b9 Merge main (1.3.182), retake manual pictures; release as 1.3.183
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 15:03:31 +00:00
Claude a445901a5e UI grid stage 3c: damage-control selection page in three columns, clickable submarine ESM rows (1.3.182)
The damage-control "Selection & teams" page now shows compartment cards
on the left (state stripe, water and fire lamps, teams on scene), the
selected compartment in the middle and the three repair teams on the
right (destination, on the way with seconds left, on scene or standing
by). A click selects a compartment or a team; Enter still sends it. On
the submarine's Mast & ESM page a click on an emitter row selects it.

Manual (EN/DE), PDFs, station shortcuts, README, changelog and
screenshots updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 14:26:15 +00:00
Claude c70dab4a78 Merge main (1.3.180), retake manual pictures; release as 1.3.181
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 14:00:59 +00:00
Claude a987949587 Stage 3b: three columns for EW, radio room and frigate weapons (WIP, not pushed until #151 merges)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 12:34:17 +00:00
Claude d87c16d2ad Merge main (1.3.177 three-column stations); manual becomes 1.3.178
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 12:17:32 +00:00
Claude f5388a4770 Stage 3a: three-column grid for sonar, OPZ and submarine weapons (1.3.177)
Sonar and OPZ get a contacts/tracks card column left, the main display
in the centre and details/controls right. The submarine weapons page
shows contact cards, a fire-control plate and the tube grid. Web
submarine depth canvas no longer overlaps its labels.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 11:07:35 +00:00
Claude 33fd94c037 Merge main (1.3.176 colour themes); manual becomes 1.3.177
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 10:03:00 +00:00
Claude e78fd11d55 Manual: figures of every station on uConsole and web (WIP, 1.3.176)
Screenshots are retaken after the redesign lands.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 08:53:24 +00:00
Claude 01158bf464 Colour themes: Tactical Night and Tactical Day with shared tokens (1.3.175)
One set of semantic colour tokens (src/ui/theme.py) drives the uConsole
and, generated into tokens.css, the Remote Crew browser. Night (default),
day (light, paper LOFARgram waterfall) and high contrast; a Dark/Light pill
in the top bar and the Options row switch it, red light forces night. The
theme is a preference only, saves stay v50. Panels are rounded with an
accent title mark, tabs are pills and key hints chips.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 08:51:39 +00:00
Claude 7d7cf1aa8a WIP manual figures 2026-10-03 08:48:26 +00:00
Claude 95203f6602 Merge main (1.3.173 macOS update check); operational log becomes 1.3.174
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 07:16:07 +00:00
Claude a7e439ccea Merge main (1.3.172 microphone); operational log becomes 1.3.173
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 07:06:15 +00:00
Claude ff7f193580 Merge main (1.3.172 microphone); macOS update fix becomes 1.3.173
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
2026-10-03 06:47:51 +00:00
Claude 940201e076 macOS app: verify HTTPS with bundled root certificates, show failed update checks (1.3.172)
The app's built-in Python looked for root certificates in the build
machine's Python folder, so every update check failed verification and no
notice appeared. Windows and macOS programs now bundle certifi and add it
(and macOS /etc/ssl/cert.pem) to the default store for the update check,
the language model and live traffic. A failed check now shows its reason
on the start screen and main menu; U checks again. CI runs --tls-self-test
on both programs, on macOS with OpenSSL's default paths pointed nowhere.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
2026-10-03 06:43:52 +00:00
Claude 3a25b0dcf7 Merge main (1.3.171 OPZ chart); operational log becomes 1.3.172
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 06:38:15 +00:00
Claude 846c60407a Merge main (1.3.171) and take 1.3.172 for the microphone fix
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
2026-10-03 06:18:02 +00:00
Claude c5b5adfd86 Merge main (1.3.170) and release the operational log as 1.3.171
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 05:50:15 +00:00
Claude 9e4bdd03fe Merge main (1.3.170) and take 1.3.171 for the microphone fix
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
2026-10-03 05:50:10 +00:00
Claude 5567d1bb92 Merge main (1.3.170 quieter bow and hull); OPZ release becomes 1.3.171
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:50:08 +00:00
Claude 52dfc17cf1 Merge main (1.3.169 ship position in the lookout); OPZ release becomes 1.3.170
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:46:01 +00:00
Claude 34d6b07ad2 Merge main (1.3.169) and take 1.3.170 for the microphone fix
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
2026-10-03 05:44:15 +00:00
Claude 44181d86b4 Make the noise-discipline microphone work on uConsole, Windows, macOS and in the browser (1.3.169)
The SDL capture was opened with devicename=None, which pygame 2.6 refuses,
so the microphone never opened. It now opens the default input, names the
cause when it cannot (status message, Options page 2), the macOS app asks
for microphone access and the builds self-test the capture. The crew page
on plain HTTP shows why the browser refuses the microphone and offers the
host's HTTPS page.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
2026-10-03 05:43:30 +00:00
Claude fc46a75b91 Merge main (1.3.169) and take 1.3.170
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KpQbYfnun2SpQfTdk2uweV
2026-10-03 05:25:32 +00:00
Claude 5995ea168f Merge main (1.3.169) and release the operational log as 1.3.170
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 05:25:31 +00:00
Claude 15350d1fa4 Show the uConsole's F11 log in the web operational log (1.3.169)
The Remote Crew "Einsatzprotokoll" only ever carried a few browser alerts
(damage, threat, mission end, proposals) and so looked empty. Every station
now gets its side's F11 log: the frigate's event feed for the frigate's
stations, the crewed boat's log for the submarine's, numbered once by the
bridge, with time stamp and category tag, up to 200 entries like F11.
Unchanged logs are not re-encoded; the browser keeps rows already shown.
The open log drawer has a fixed height, so a long log scrolls inside it
instead of pushing the chart away. On the uConsole, F11 now opens the
boat log on the submarine side too (with wheel scrolling).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 05:13:24 +00:00
Claude e44f276f14 Switch the bow slam off entirely (Dominik's call)
No hull_slam sound any more: removed the trigger, its synthesis, config
and the browser cue; the regression test checks a heavy head sea stays
silent. Manual, changelog and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KpQbYfnun2SpQfTdk2uweV
2026-10-03 05:12:37 +00:00
Claude fe50146311 OPZ: radar on/off switches on the chart (uConsole and browser)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:06:59 +00:00
Claude 5bf595d336 OPZ: richer chart and a Display page of settings (1.3.169)
Page 5 (Display) sets track trails, vector length, labels, a bearing
scale with the own course, range rings, bearing lines, furthest-on
circles, depths and grid, radar afterglow and the selected track's CPA.
Arrow keys or clicks set them, chips under the chart switch layers on
every page, and settings.json keeps them. The browser OPZ gets the same
buttons and drawing (trails from the chart history in the projection).
Display only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:02:44 +00:00
Claude 042186257d Ships in the eyepieces float below the horizon close aboard (1.3.169)
The lookout's binoculars, horizon strip, periscope, hit picture, Remote
Crew cards and phone lookout drew every ship with its waterline on the
horizon line, however close, and in list order, so a far ship could hide
a near one. Each eyepiece row now carries the observer's own range
estimate (lookout's measured range, stadimeter range); a ranged ship floats
as far below the horizon as the eye sees the water at that range, and the
rows are drawn back to front. Bearing and angle on the bow were checked
and were already right (new tests pin both).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HaYcGzqfx98ZAgZ28YYCaa
2026-10-03 04:53:56 +00:00
Claude b30a642313 Quieter bow slams and hull creaks: not on every wave or check (1.3.169)
The frigate's bow slammed on nearly every wave in a heavy head sea (every
5 to 18 s at every station); after a slam the next now waits 30 to 90 s.
The submarine's hull creaked every 4 s at test depth; it now rests 12 to
28 s after each creak. Stateless detrand draws, sound cues only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KpQbYfnun2SpQfTdk2uweV
2026-10-03 04:51:14 +00:00
Claude 78b2fa3414 The hunter no longer pings more often against a shallow submarine
Fairness with every submarine habit known: the faster ping cycle let the
frigate win scenario 17 five of six times (0.9 still five). Against a boat
above the layer the hunter now sprints and drifts, as against periscope
depth; the submarine wins again (4 of 24 against 6 of 24 without habits).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-03 03:36:32 +00:00
Claude 40a85e9fb7 Merge branch 'worktree-agent-a78cbc6ef751485a3' into claude/project-thread-xd4r0v 2026-10-02 23:58:22 +00:00
Claude 124fd51a8f Add a macOS app built and released like the Windows program
The release workflow (windows.yml) now also builds U-Jagd.app with
PyInstaller (packaging/macos) natively for arm64 (macos-latest) and
x86_64 (macos-15-intel), since pygame and NumPy publish no universal2
wheels, self-tests it (mission + Remote Crew, the bundle swap, and the
zip as the in-game updater unpacks it) and zips it with ditto as
U-Jagd-macOS-<arch>.zip. A single final publish job creates the release
and uploads the Windows exe and both zips, then prunes older releases,
so the builds never race.

The frozen macOS app updates itself: it downloads the zip for its
processor (size and SHA-256 checked), unpacks it safely beside the
bundle (confined paths and links, bounded size, modes 755/644) into
<app>.update, and a detached sh script swaps the bundle after the game
quits (old bundle renamed aside, restored on failure, deleted only once
the new one is in place) and reopens it. Translocated or unwritable
bundles open the release page. ~/.u-jagd is never touched.

Remote Crew on macOS: SIOCGIFADDR is Linux-only, so the LAN address now
comes from the routing table there (and whenever no private interface
address was found).

README (EN/DE) gains a macOS app section with the first-start step;
the quickstart manual chapter mentions the macOS update.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 23:45:13 +00:00
Claude 19b6d551f8 Merge origin/main (1.3.163) into the branch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 22:28:04 +00:00
Claude 719b135b6e Logbook page shows what the enemy knows (L switches learning); manual chapter
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 21:56:21 +00:00
Claude 6b7b394a99 Click status lamps, key hints and readings to trigger their keys (1.3.163)
Status lamps, key hints in station text, page tabs, list rows and the
bottom status line readings now act on a mouse click on both sides, by
sending the same key event as the keyboard (fire stays clickable only at
the weapons station). The submarine's sonar takes clicks, the element
under the mouse gets a thin frame, and Remote Crew sonar, helicopter and
engine lamps press their buttons. Manual, help, shortcut sheet,
changelog and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017N4wRun1ibqyXWHJDrTqVv
2026-10-02 21:52:00 +00:00