On macOS the window format carries an alpha channel and a plain
pygame.Surface inherits it, so the canvas did too. The translucent veils
and panels of every menu then left most canvas pixels partly transparent
and the Mac window flickered behind an open menu. The canvas is now
created as explicit 32-bit RGB without alpha (make_canvas).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013u1oXwwTuhZygKXyDP5TKv
main's Tests failed on #219's merge: an 8 s cold first frame on the runner
starved the local mixer once before the stream ran, so 1.3.285 never
released. The soak now takes its baseline 2 s after the first frame
(--warmup); a stall later in the run still fails it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tk5v1FfvkLKPYqPVE98DaY
Save/load and quit questions answer by key chips, the F1 manual gets
chapter buttons and chip hints, F4 and the debrief get chip footers (the
wheel steps debrief events), plot mode gets a toolbar at the chart foot
instead of the hint line over the position readout, and F8 gets assign
and clear buttons. The chip guard test now covers these overlays.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tk5v1FfvkLKPYqPVE98DaY
"Volle Fahrt voraus" by the talk key reached the executive officer as a
question; the model repeated it back as done ("30 kn are being set") while
nothing was set. A question that reads as an order (helm, engine, depth or
weapon order, no question mark or question word) is now answered by the
game itself with "Not carried out" and where orders are given instead,
without asking the model and without counting as advisor help. The
question prompt also tells the officer never to confirm an order.
Version 1.3.271.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xRzy1rfrYr4fpd43PyBa8
Options rows change on click and get < > step buttons, the hint keys are
chips, live-traffic rows toggle or open their fields, a left click closes
the splash, lobby and Remote Crew host/port rows step back from their left
third, and the admission window has a close cross.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tk5v1FfvkLKPYqPVE98DaY
Clicks into the executive officer's and language model's windows no
longer reach the station behind. A second click on an editor row opens
the field. LOFAR/DEMON cursor and TMA hypothesis chips press their keys,
the helicopter's waypoint chips steer it, the submarine's status line
opens the log like F11, and the boat's sonar array readout shows no key.
A guard test checks that every key chip on every station is clickable.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tk5v1FfvkLKPYqPVE98DaY
Every Remote Crew chart (bridge, weapons, OPZ, helicopter, submarine
stations) now zooms from the whole sea area down to 0.5 NM across the
shorter side instead of stopping at about 16 NM. The wheel zooms about
the pointer, a two-finger pinch zooms on touch screens, the NM grid gets
finer down to 0.1 NM and the view width shows decimals.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WamBtiwcZJTuoVgpaKUbiV
Shift+Space at any station of both sides (and in the browser) records a
question, an OpenAI-compatible /audio/transcriptions service turns it into
text and the executive officer answers it as an ordinary question; the
answer shows in a bubble over the station and is spoken by the XO voice.
A KI button in the top bar opens the chat directly. Speech input is set up
on a new page 5 of the Sprachmodell options (off by default, key only in
~/.u-jagd/stt_key or U_JAGD_STT_KEY). The talk key only asks, never orders,
and the noise discipline never hears it. Version 1.3.259.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xRzy1rfrYr4fpd43PyBa8
The test failed twice on main (1.3.247, 1.3.250) as ('holding', None):
the probe was still waiting when the host loop gave up, so it never said
why, and no release was published for either merge.
- The probe's waits now fit inside the host's budget after the request,
so a failure always carries its own message.
- Losing the station before the prompt is reported as such.
- The 15 s presence lease is lifted for this test: a browser starved on a
loaded runner must not lose the station before the request reaches it
(lease expiry has its own tests).
- The failure message lists the page dataset and both sessions' lease and
request on weapons.
- page_dataset also treats a dropped DevTools WebSocket as "no read yet".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVnJn1auJiS3FRATib8EGp
Every role (crew, officer, test, log) now sends the same calm speaking
style that also asks for no laughing, sighing or mood changes; seed -1
draws one seed per launch instead of a new random voice per sentence;
log entries and crew calls go out as one request; units and short forms
(kn, sm/NM, m, s, min, Hz, dB, %, degrees, positions, Rtg/brg, Dst, ~)
are said in full in the listener's language.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GAPVboqd9w9mnoSRCLTHt
The language model's voice now also reads the own side's log (F11):
after the executive officer and the crew's calls, stale entries dropped,
crew callouts not read twice. Options page 2, new page 4 Reports, has a
master switch, one switch per station of the log and each station's
count of the last 5 minutes; the F11 log has per-station mute buttons.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GAPVboqd9w9mnoSRCLTHt
pygame's AudioDevice.pause()/close() call SDL while holding the GIL; SDL
takes the device lock its audio thread holds while the Python capture
callback waits for the GIL, so stopping mid-block deadlocked (the macOS
build's self-test hung in Microphone.stop()). Microphone.stop() now closes
the device through ctypes on pygame's own loaded SDL2, which releases the
GIL, then lets pygame forget the closed id. The build self-test requires
that path and reports the stop time; a regression test stops mid-callback
in a child process.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M71fEE9AZBEtnDjkemtxPb
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