Sonar: drop the header status chips and legend lines, one row of four
main keys, TAS/VDS state only while it matters. Top bars show station
and clock only, the chart header only its scale. The submarine's threat
box shows only fresh threats (a triangle marks stale ones). Degrees as
°, whole-degree courses, turn radius only while turning. Fix the TMA
header overlap and the truncated submarine tab, tube and alarm lines.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013avduxLno5MbDHZbRz1ggf
Phase 10 of plan 1.3. Preferences.aa_lines (default off, options page 2)
routes chart and plot primitives through src/ui/lines.py, which uses
pygame.gfxdraw for one-pixel lines and polygon edges when enabled. The
chart water darkens in three stages from the game clock
(atmosphere.daylight_stage, theme.WATER_TINT) on the frigate, boat and
browser charts; rain and storms hatch the chart with dashed diagonals
(display only, both sides). src/ui/horizon.py is the shared horizon
renderer of the periscope and the new binoculars strip on the bridge
lookout page. Manual and catalogs updated; tests/test_graphics_1_3.py.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 9 of plan 1.3. Third Command page and second Mast & ESM page show
the periscope (uboot_scope.py): eyepiece with day/night light, haze,
horizon motion from the wave slope, true-bearing scale and crosshair;
arrows train the scope, Enter reads the stadimeter. Sightings come from
the frigate lookout's contrast model at periscope eye height and live in
the crew block (save v15 crew.orders: scope_rel_deg, sightings,
sightings_seen). The stadimeter range becomes a VISUAL fix on the boat's
sonar contact, usable like a ping fix. Snorkelling diesels raise the
radiated level, lower the quiet factor and add 50/100 Hz lines. Web:
scope projection, canvas view, uboot_scope_bearing/uboot_scope_mark
commands and a Chromium contract. Manual, help and catalogs updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Remote Crew roles "uboot" (command) and "uboot_sonar" bind the living
hostile submarine with the smallest id; the binding is transient (never
saved) and hands the boat back to the AI on release, load or reset.
- Manual Sub mode: course/speed/depth orders within the physics limits,
checked fire (arc, tubes, stores), decoy, active ping, emergency blow.
- SonarStation extracts the operator state; the boat gets its own full
sonar workstation (observer adapter, frigate acoustic source), audio
stream and projections with the frigate's shape, without towed array.
- Options page 2 chooses the uConsole side (frigate default, never saved;
only outside a mission); --play-sub for one launch.
- uConsole U-boat command station in the Bridge layout: shared chart
geography with the boat, its contacts and own torpedoes, threat bar,
Navigation (water column) and Weapons & contacts pages, boat log and
telemetry in the configured bottom band; chart zoom/follow/drag.
- Web: the boat's own torpedoes on the U-boat chart (own_weapons).
- Sonar view reads the active workstation's observer, never the frigate
truth, while the boat's sonar is shown.
- Tests: determinism with equal entity-id starts, truth guard while
drawing, chart/page controls, schema with own_weapons, web-host rooms
hold the nine frigate stations only. Manual EN/DE and help updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/core/plot.py: strict, bounded plot layer (64 objects, 24-char labels),
chart geometry (bearing/distance, DR position, CPA to own ship)
- uConsole: P toggles plot mode on the Bridge/Weapons/Helo map and OPZ chart;
M/R/B/C/D tools, arrows/click + Enter, Backspace (Shift: clear), Esc
- Remote Crew: common "plot" projection (field "shape"), plot_add/remove/
relabel/clear for every station, collapsible plot panel on the map
- Saved as the new root field "plot" (save v14 only; v13 rejected)
- Help, manual (reference chapter) and EN/DE catalogs updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- pygame: panel, overlay, selection, alarm and active-tab colours are theme
tokens (standard and high contrast); weather status colours follow the
theme at draw time.
- Web: every one-off hex colour is a named token; NATO affiliation colours
are shared tokens read by app.js; one heading scale for panel, card and
instrument titles; near-duplicate font sizes on the xs/sm/md scale.
- Regression test keeps the stylesheet token-only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Previously uncommitted work: the game always runs in real time (no pause
or time acceleration), web client fixes (plot smoothing, spectrum peak
labels shared with the uConsole), regenerated contact-analysis images,
docs and manual updates.
UI/realism review, phase 1 (no truth leaks):
- Sonar CIC domain follows only the operator classification; new TORPEDO class.
- Torpedo alarm from intercepts only (launch transient, HF seeker pulses),
used by Bridge, Autocrew and the web Bridge threat block.
- ASM cue from measured speed/altitude or a jamming strobe; CIWS/ESSM/ECM
resolve missiles through their own M- tracks.
- HFDF fixes publish no domain; lookout domain needs recognition.
- No "hostile ping"/"submarine sunk" reports: breaking-up noises on a
bearing; score only in the debrief.
- Helicopter layer shown only after the dome passed it; web Bridge gets
published rows only.
Phase 2 (uConsole screen and text):
- Status ticker (default) frees 158 px; F11 event log/telemetry overlay
(display only); docked band selectable in the options.
- Layout helpers fall back to catalog abbreviations (<key>.short) before
any ellipsis; feed wraps, ticker scrolls; zero truncations EN/DE.
- Localised telemetry and OPZ affiliation/domain codes, bounded map labels.
Web: role map and chart draw NATO affiliation frames with domain glyphs.
Tests: truth boundary, text fit, session-wide preferences isolation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lookout now reports sightings in up to three steps (Johnson criteria
with binocular gain, scaled by silhouette size): sighted, class (merchant,
warship, carrier, fishing vessel, speedboat, surfaced sub, airliner,
military aircraft) and type (cargo, tanker, passenger, tug, frigate,
destroyer, corvette; warship/military aircraft class name). Classes are
derived from existing catalog keys/categories, so v12 saves and the
catalog snapshot stay valid; the class rides on the saved lookout track
label and is validated on load.
Reports appear as AUSG feed lines ("Brücke/Ausguck: Fregatte ... in 040°"),
torpedo wakes and surfaced subs with a banner, "land in sight" per
landmass. OPZ and chart tooltips show "Lookout: ..."; the web bridge gets
visual_class/visual_type on tactical rows and a bounded sightings list.
Observations only: no operator classification or affiliation, no merchant
names, live traffic indistinguishable. Manual EN/DE, i18n, protocol docs
and tests updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Wrecks and underwater rocks are drawn on every chart (native map view,
OPZ basemap, web role map) as chart symbols with the depth of their top
when zoomed in and a chart tooltip; they are published as public chart
geography to Remote Crew.
- Wrecks now raise the seabed within half their length, like rocks, so
they are obstacles for grounding, submarines and weapons.
- An evading submarine near the frigate may creep to a charted wreck
within 8 NM and lie still on the bottom beside it (new WRACK state,
silent, no current drift, derived from saved fields so save v12 is
unchanged). A zero-Doppler echo in the same range cell and beam merges
with the wreck echo: hidden from CW (750 m cell), separable with LFM
(about 8 m).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>