A long answer is sent as separate sentences (the first one alone), so the
first plays while the rest is being made. The worker decodes the WAV
answer as it arrives (WavStream, seamless Resampler) and hands it on in
0.25 s pieces; the main loop queues them on the voice channel behind the
playing one. Non-streaming servers behave as before.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
431 becomes "vier drei eins" / "four three one", a decimal comma or
point is said as "Komma" / "point", using the crew callouts' digit
words of the game's language. Applies to the executive officer, the
coach, crew reports and the voice test, with or without text clean-up.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
Keeps one close cross and one click handler per tab, row and key button
on F7 and the language model settings. The key buttons now use the
German key names from main (Eingabe, Rücktaste) and size themselves to
their text so no label is cut.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152VRqFK8nC9K2XsdzFVCrr
- OPZ, weapons, engine and sonar docks list their controls before the read
tables; every read table folds under its heading.
- From 1800 px these docks are wide enough for two card columns.
- The weapons page shows the tubes once (on the stage).
- The damage page lists damaged compartments first.
- Manual: new section "Not in the browser" (EN/DE); regenerated manual
export, station shortcuts and Remote Crew screenshots.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The voice release made the language model settings three pages with their
own tab and row clicks; this keeps those single handlers and puts the key
buttons (including Tab for the page) under every page.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152VRqFK8nC9K2XsdzFVCrr
- Sonar: CW/LFM pulse (W) and TMA method (Shift+T) in the browser, same keys
as the uConsole; the uConsole's W goes through set_sonar_pulse.
- Station keys follow the uConsole's help rows (parity test against help.py);
+ / - is the telegraph everywhere, docks/log move to Alt+, Alt+. Alt+L,
[ ] no longer step stations; radio, damage and ELOKA get keys; key chips
are re-marked after each render.
- Radio room: own-call state (on air / waiting / ready, with why) and the
HF/DF cross-fix chart with error ellipses.
- Host surface: the service record (logbook, awards, known habits) and the
training lessons (solo only; server mode answers use_lobby).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A third settings page 'Sound': sampling for speech services that take it
(Qwen-TTS behind the OpenAI-compatible address; never sent to OpenAI, a
server that refuses it is asked without), and a switch that removes
emojis, Markdown, links, laughter and stage directions before speaking.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
An OpenAI-compatible /audio/speech service, set up on a second page of the
language model's settings (address, speech model, voice, key in
~/.u-jagd/tts_key or the model's key on the same server). The executive
officer speaks his answers and coach tips, the spoken crew reports use the
same voice instead of espeak-ng (espeak-ng when the service fails). Requests
and WAV decoding run on a worker; clips play on their own reserved mixer
channel beside the sonar tone. Off by default: the game is unchanged
without it. The settings pages take mouse clicks (tabs, rows, close box).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
The F7 page and the model's settings page took no clicks at all: their
event owner returned before any mouse handling and drew no pointer targets.
Tabs, blue key buttons (send, give/discard order, older/newer, close),
settings rows, a close box and the wheel now work by mouse, and clicks never
reach the station behind. Up/Down scroll from the first step and also while
an order waits for confirmation.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152VRqFK8nC9K2XsdzFVCrr
The browser reported "1 order(s) given" even when the station command was
never sent (station not ready) or the host dropped it after a world step.
It now waits until the station can send, waits for the host's result and
resends a dropped command (at most three tries); anything else counts as
not carried out.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Slot saves and autosaves detach the document with pickle and leave JSON,
validation and the atomic write (now with a folder fsync) to the worker;
the save menu closes or quits only after success; stale staged files are
removed at start. Waterfall rows interpolate vectorised (bit-identical),
ELOKA group sizes are computed once per pass, the feed shade and desktop
scaling surfaces are kept. A wall-time frame watch drops the picture to
the low level below 14 FPS for 5 s, shown by an ECO lamp with a hover
note; the graphics row cycles each level with and without auto. The hull
safety test no longer works out coast normals it does not need.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Footer page 0 keeps the four main switches; the + chip pages through the
other keys of the sonar page (frigate and U-Boot, no towed-array keys
aboard). Sonar geometry is now localized so hit and draw widths match.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3tXxmJcADkJ8r7XDY1dq8
A click on a contact row at the frigate's sonar station and in the
submarine's sonar room selected the contact but left the listening beam
where it was, so the waterfall and the sound did not change. The click now
selects the contact and trains the beam on it, like Up/Down then Enter; a
contact not heard for more than 2 s is only selected.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QBAtCVPqfnZMhT76Cjjnuk
The F11 log kept the night colours (FEED_CATEGORIES captured config.COLOR_*
at import), so lines were pale on the light "Tactical Day" scheme, and the
station showed through its translucent ground. Feed categories (and the
other module-level colour tables: debrief, campaign map, U-boat threat and
radio pages, lookout, weather station, SimLog) now resolve their colour when
drawn. The log is opaque, has a close cross, and a pointer blocker keeps
every click, hover and lamp note on it from reaching the station behind.
In the browser the dimmed backdrop around an open sheet takes the click and
closes the sheet.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019qjxcbV9CMLtJjU6pPHW28