Commit Graph
19 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 6f55622307 Load Modern worlds and add Modern training camps (M3, M4)
M3 - Modern world loader:
- modern/content/world: typed view of the world tables (leagues, clubs,
  players, nations, league dates, training camp catalogue).
- modern/content/world_package: opens a Modern world (runtime:modern-v1, or
  editor:world-v1 until data revision 1.4), reads only the engine entries and
  decodes the Classic payload (import: load_classic_payload).
- modern/content/world_expand: turns the Classic start into the world: club
  ids in the order of the world's leagues, per-club tables remapped (added
  clubs copy an original club of their league), added players from their
  attributes, 24 squad slots per league club, pools kept, layout, league
  sizes and league dates installed; UTF-8 names and OBW ids in ModernState.
- Fixes found by playing the Modern data set: referee pool exhausted on days
  with German and larger international leagues (Modern deviation), card
  table per league club grown, slot-to-team lookup via WorldLayout, form
  history stride from the layout, remaining slot literals.
- Classic UI projections used by the session read the layout instead of
  executable constants (Classic values unchanged).
- modern_season_sim opens .obw worlds; MODERN_DEBUG / MODERN_WATCH tracing.

M4 - training camps:
- Catalogue in ModernState (built-in 18 fictional camps on three maps, or the
  world's extended catalogue); price, booking and effect use it.
- Six-star grades: step index capped, limit +1 from pitch 5 and +1 with pitch
  and fitness 6, catering 6 one more point of condition, lodging 6 one week
  less injury. Classic data behaves as before. modern_camp_tests.

Verified: 190 tests pass; Classic replay regression identical to the M0
baseline; season_sim and modern_season_sim identical with Classic data; the
Modern data set plays full seasons (leagues 34/38/34 rounds).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:43:25 +02:00
ClaudeandClaude Opus 5.5 a4a37f1cb2 Modern: fixture table per league size, league dates and finished leagues (M2)
- schedule: kLeagueTablesPerLeague lets every league use the table of its own
  size (international leagues of 20 and 18 side by side); Classic leaves it off.
- Modern: a league that has played all its rounds sits out the remaining dates
  of its calendar group.
- modern/game/world_calendar: season days of ISO dates and placing a league
  group's dates in the season calendar around special days, with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:24:43 +02:00
ClaudeandClaude Opus 5.5 f2fcb28f65 Fork the Classic season core into src/modern and add the world layout (M1)
- src/modern/game: the season modules as bmh::modern, working on ModernState
  (a GameState). Data types stay shared with Classic; Modern code calls its
  season functions qualified (modern::...), so a missing Modern function is a
  compile error instead of a silent call into Classic.
- src/modern/app/modern_session: the session on the Modern core. It still uses
  the Classic UI projections until the Modern projections exist.
- SeasonHooks: the shared match core reaches player statistics and the table
  prediction of the season core that owns the game (Classic: unchanged).
- WorldLayout: team ranges, squad slots and pools of the running world. Shared
  code and the Modern fork read them; Classic keeps the original numbers.
- Transfer list views moved to game/transfer_offer_view.hpp (shared).
- tools/modern/check_fork_calls.sh, modern_season_sim and world_layout_tests.

Verified: Classic tests and replay regression unchanged; season_sim and
modern_season_sim produce identical output with Classic data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:08:54 +02:00
ClaudeandClaude Opus 5.5 d6a929534b Place training camps by map and x/y instead of geographic coordinates
Every resort names its map (Germany, Europe, Middle East) and carries x/y on
that map; coordinates stay null until the interface defines the map sizes.
Maps are their own list so further maps can be added later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:15:04 +02:00
ClaudeandClaude Opus 5.5 d856000780 Document the OBW changes of the Modern engine for the editor
New docs/new_engine/datenformat.md lists format changes F1-F8 (modern
runtime requirement, league sizes and generators, date-list calendars,
extended training camp rule, names, squads, finances, saves) with the
editor work each needs and the shared Modern validation rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:09:53 +02:00
ClaudeandClaude Opus 5.5 0e708f2b63 Document the Modern engine plan for 0.3 in docs/new_engine
Modern starts as a fork of the Classic season core under src/modern/ and
shares formats, GameState (with a world layout) and the match core; Classic
stays unchanged. Covers the fixed Classic sizes to resolve, phases M0-M7
with acceptance criteria, the training camp catalogue with a bounded six-star
tier, and the session interface the Modern UI builds against.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:00:18 +02:00
ClaudeandClaude Opus 5.5 cb0ba33cd2 Merge main into 0.3 before the Modern engine work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:00:17 +02:00
ClaudeandClaude Opus 5.5 59be8b0b21 List --export-midi in the openbmh_sound usage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 10:43:44 +02:00
ClaudeandClaude Opus 5.5 814583e482 Export the Original music as MIDI for remastering
openbmh_sound --original DATA --export-midi 0..2 OUT.mid [--loops N] [--map FILE]
runs the sequencer offline and records every started note through a new note
observer. One MIDI track per song track (track 9 = samples on the GM drum
channel), sixteenth-note steps, tempo from the IRQ0 divisor, pitches from the
note table of the user's executable, loop markers. Programs and drum notes are
guessed from pitch range, chords and the samples' sound, and written to an
editable OUT.map.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 10:43:21 +02:00
ClaudeandClaude Opus 5.5 d9d05f83b4 Engine split: OBW-only saves for all variants; backporting is a working idea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 08:49:14 +02:00
ClaudeandClaude Opus 5.5 c1121da116 Engine split: Classic Extended backports Modern features into Classic
Classic Extended is the Classic season engine plus Modern features ported
back one at a time where the bitmap interface can present them. Modern
features are written against small ports in a shared feature library so
they can be backported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 08:39:30 +02:00
ClaudeandClaude Opus 5.5 906cce902d Add the engine split concept: shared match engine, three season engines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:17:45 +02:00
ClaudeandClaude Opus 5.5 65b087c1d0 OBW: store composed player portraits as a frozen part recipe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:24:54 +02:00
ClaudeandClaude Opus 5.5 4fb8b2f551 Point repository links to the renamed account
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:35:16 +02:00
ClaudeandClaude Opus 5.5 f1a31c9940 Add the OBW data format concept for roadmap 0.2-0.4
Versioned ZIP+JSON container for worlds, saves, content packs and RmlUi
themes: typed entities, generic competition stages (league phase, groups,
knockout, nations-league tiers), 32-league engine limit, BMH/FLTD import,
asset keys for high-resolution crests and photos, gettext languages and
TrueType/OpenType fonts. Match engine out of scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:34:54 +02:00
ClaudeandClaude Opus 5.5 b45e0867cf Ship the Linux package in 0.1 and mark it as untested by hand
Build without game data / build (windows-x64, windows-2022) (push) Canceled after 0s
Build without game data / build (macos-arm64, macos-14) (push) Canceled after 0s
Build without game data / build (linux-x64, ubuntu-24.04) (push) Canceled after 0s
Prepare release packages / build (push) Canceled after 0s
Prepare release packages / draft (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:22:13 +02:00
ClaudeandClaude Opus 5.5 66d01beef8 Name the 0.1 binary platforms and the macOS Gatekeeper step in the release notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:18:14 +02:00
ClaudeandClaude Opus 5.5 54831b8b2d Accept project bot addresses in the public history check
The co-author trailer and the Claude project identity are bot addresses,
not personal data; the check only accepted the Codex identity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:00:56 +02:00
ClaudeandClaude Opus 5.5 baa3562eab Fix two data tests and the Windows package allowlist for 0.1
- ui_series_records_tests installs the authored fixture tables, since the
  public tree no longer carries built-in schedule tables (uncaught throw).
- training_camp_app_tests no longer compares against the removed built-in
  resort constants; it checks that the content comes from the EXE.
- make_package.py accepts the api-ms-win-core forwarders that the
  app-local UCRT redist installs (Windows CI packaging failure).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:57:42 +02:00