Commit Graph
93 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 2a59d398fb Keep data set ages, fix camp booking, measure camp effect (M7)
- Players of the data set keep their age and seven skills at the career
  start; the original draws new ones (and OR-ed ages produced players
  of 46 and a crash once the draws were skipped).
- Training camps: the session allowed only resorts 0-7; the manager's
  club was read as a signed byte (clubs above 127 crashed); at the
  national coach's desk no camp can be booked.
- SIM_CAMP=<resort> in the season sim; the human club's final place is
  taken from the almanac. Twelve seeds: five stars +1.7 places, six
  stars +2.5 (about +0.8 over five stars at three times the price), so
  the six-star rules stay as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:06:51 +02:00
ClaudeandClaude Opus 5.5 4f6ec1e240 Rank Modern clubs by the data set's player values (M7)
The original draws new values for every league player at the career
start, so the data set's values were never calibrated for play; taken
as they are they give clubs far outside their league's strength
(spread 14-21 instead of about 6, 3.3 goals per match). In a Modern
world the clubs of a league now take the places of the league's
strength band in the order of the data set, and their players keep
their distances to the club level, compressed to the spread of
generated players. The human club and swapped clubs move as a whole.
Two seasons: 2.77 goals per match (original 2.67), plausible tables.

MODERN_SPREAD=1 prints the club strengths per league at the start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:41:06 +02:00
ClaudeandClaude Opus 5.5 0a6be70046 Hand the data revision 1.4 task package to the data migration (M5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:16:52 +02:00
ClaudeandClaude Opus 5.5 7742d014f9 Add statistics queries for the Modern game statistics menu
ModernSession::read_statistics answers JSON requests evaluated from the
almanac: the competitions with results, the winners of every
competition by season, and player statistics per competition and season
or all-time (goals, assists, yellow, second yellow and red cards,
appearances). Replays of postponed league matches are now recorded as
matches of their league and original matchday. Engine texts with code
page 437 umlauts convert to UTF-8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:16:10 +02:00
ClaudeandClaude Opus 5.5 7c08e39607 Keep final tables and competition winners in the almanac
At the start of the season transition, before promotion moves the
clubs, the almanac stores the final table of every league (rank, games,
wins, draws, defeats, goals, points) and each league's champion and
runner-up. Every decided cup (national cup, European cups, supercup,
play-off, national tournaments, each indoor tournament and the Masters)
is noted with its date, last stage and runner-up. Almanac format
version 2; version 1 seasons are still read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:01:52 +02:00
Codex d42c855843 Add read-only Almanac desktop and match history views (by Codex) 2026-10-24 04:04:33 +02:00
Codex af60e499a2 Center fixture rows around scores and inner crests (by Codex) 2026-10-24 01:32:59 +02:00
Codex 9a93c4fcc8 Port planning menus and indoor tables (by Codex) 2026-10-24 00:38:12 +02:00
Codex 13461c693a Port report menu package and club/player profiles (by Codex) 2026-10-23 23:56:03 +02:00
ClaudeandClaude Opus 5.5 201eef88e4 Record every match in a football almanac (Modern, M8)
Modern careers keep every match they play: season, date, competition
type, league or cup stage, matchday, both clubs by world id with their
human managers, result with extra time and shoot-out, referee,
attendance, weather, both line-ups and all events (goals with assists
and kind, misses, cards, injuries, substitutions, shoot-out kicks).
Events come from the group event log the engine keeps for every match,
substitutions from the players on the pitch after each minute; nothing
draws random numbers (a 60-turn Modern run is unchanged).

Player indices reused for a new person get a new stable id. Saves hold
finished seasons as immutable history/season-<year>.bin files plus the
running season; modern-state@1.1 adds league names and the id counter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:49:13 +02:00
ClaudeandClaude Opus 5.5 57d75ab2f5 Read the referee pool from the world (M5, data format F9)
Referees are staff rows with role referee. Imported ones keep their
original property byte; added ones (attributes strictness and the new
perception, 0-3 each) follow the 49 originals in table order, up to 255.
The matchday draw uses the pool size; a second match per day remains the
fallback when the pool runs out. The season sim gains
MODERN_EXTRA_REFEREES=N for testing before data revision 1.4 exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:28:43 +02:00
ClaudeandClaude Opus 5.5 28b59d9890 Save and load Modern careers (M6)
Modern saves (save_profile modern-career-v1) name their world by id and
data revision and hold the career only; loading reinstalls the world
dimensions. Club names now follow promotion and relegation. The season
sim gains MODERN_SAVE_CHECK for a save/load round trip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:22:13 +02:00
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
Codex 13bdc56f04 Widen training names and center row controls and options (by Codex) 2026-10-23 22:15:16 +02:00
Codex 3a31a18c15 Document continuous server-side menu capture QA (by Codex) 2026-10-23 21:22:49 +02:00
Codex de8b53fce2 Port native season calendar and harden menu input QA (by Codex) 2026-10-23 21:21:31 +02:00
Codex 79bf38aa78 Port native Training and Tactics from the HTML reference (by Codex) 2026-10-23 20:41:19 +02:00
Codex c737c17870 Fix native UI compilation on Windows and macOS (by Codex) 2026-10-23 20:22:17 +02:00
Codex 400872c55f Run native control regression on Linux Windows and macOS (by Codex) 2026-10-23 19:44:54 +02:00
Codex 42b728d4ea Center native controls and preserve dropdown editing and focus (by Codex) 2026-10-23 19:43:15 +02:00
Codex 11a6356c1e Add opt-in native Modern UI foundation and first desktop flow (by Codex) 2026-10-23 18:51:02 +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
Codex badd08f05e Document the small anchored ticket-price popover (by Codex) 2026-10-23 17:27:06 +02:00
Codex 2f743e607d Document the compact desktop entry-price slider (by Codex) 2026-10-23 17:09:18 +02:00
Codex 96203aea20 Separate Modern GUI artwork from world-owned assets (by Codex) 2026-10-23 17:05:40 +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
Codex d8ccf7b364 Document content-driven Modern transfer panel sizes (by Codex) 2026-10-23 16:04:15 +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
Codex fc5fcca757 Document Modern transfer filter spacing for 0.3 (by Codex) 2026-10-23 15:51:30 +02:00
Codex b594696e2b Document Modern desktop and all training camps for 0.3 (by Codex) 2026-10-23 15:36:42 +02:00
Codex 6a3e51038c Correct large-window dropdown QA capture bounds (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
editor-v0.5.5
2026-10-23 14:51:41 +02:00
Codex 354baf2e6f Center editor dropdown chevrons and release 0.5.5 (by Codex) 2026-10-23 14:49:13 +02:00
Codex fe307dea41 Add editor browser navigation, idle rendering and Modern pickers (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
editor-v0.5.4
2026-10-23 13:48:32 +02:00
Codex 245e213cca Integrate current main with editor and Windows fixes (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
Prepare release packages / build (push) Blocked by required conditions
Build without game data / build (linux-x64, ubuntu-24.04) (push) Blocked by required conditions
Build without game data / build (macos-arm64, macos-14) (push) Blocked by required conditions
Build without game data / build (windows-x64, windows-2022) (push) Blocked by required conditions
editor-v0.5.3 v0.2.1
2026-10-23 11:03:38 +02:00
Codex f21247a244 Add read-only image previews and linked asset navigation (by Codex) 2026-10-23 11:03:32 +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
Codex e306c2c4a2 Add league-to-squad navigation and preserve Windows CPU dispatch (by Codex) 2026-10-23 10:10:23 +02:00
Codex 06e846416a Keep stadium pixels intact with the Direct3D TGA loader (by Codex) 2026-10-23 10:01:44 +02:00
Codex 678fce47f6 Decode Windows WebP images without an AVX requirement (by Codex) 2026-10-23 09:55:01 +02:00
Codex a7aa1d3713 Show readable editor startup errors in native dialogs (by Codex) 2026-10-23 09:08:26 +02:00
Codex 500354cc39 Keep startup reporting independent of renderer headers (by Codex) 2026-10-23 08:52:10 +02:00
Codex 856d38cc0c Support Windows Server GUI startup with Direct3D and WARP (by Codex) 2026-10-23 08:52:10 +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
Codex 9f1928bd9e Add read-only game and league regulations to editor 0.5.2 (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
editor-v0.5.2
2026-10-23 06:28:12 +02:00
Codex 221478b629 Add sortable editor ratings and payroll comparisons (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run
editor-v0.5.1
2026-10-23 05:26:10 +02:00