Commit Graph
116 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 ae817c6d6d Modern UI contract: session.advance
The desk's kickoff as a command: the calendar runs to the next human desk,
the season end desk or the end of the career (matches without live view for
now). A missing desk decision or a failed step answers decision_pending or
advance_failed and leaves the state as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:45:07 +01:00
ClaudeandClaude Opus 5.5 a1590a34ef Modern UI contract: bank read and bank.commit
The bank read lists account, fixed deposit, credit line, investments, the 12
stocks with their price history and the offered funds as Money. bank.commit
moves money to or from the fixed deposit and buys or sells shares and fund
units through the desk's own checks. Credits follow; the stock tip draws a
random number and will be a quote.request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:44:02 +01:00
ClaudeandClaude Opus 5.5 43ae1ab510 Modern UI contract: a refused command also restores the opened line-up board
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:42:30 +01:00
ClaudeandClaude Opus 5.5 78b827a0e6 Modern UI contract: lineup, tactics and training reads and commands
lineup.commit takes the squad order and swaps rows into place after opening
the board as the desk does; tactics.commit sets the eight values through the
board's checks; training.commit initializes the plan when needed and applies
decreases before increases so every step stays within the limits. Each is one
revision and is rolled back as a whole when the engine refuses a step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:39:41 +01:00
ClaudeandClaude Opus 5.5 99a48a463d Modern UI contract: camps read and the first command, camp.book
ModernSession::ui_command checks careerId, expectedRevision and owner, runs
the engine action and answers command_result or error. A refused command
restores the state and both generators; a repeated requestId gets the stored
answer, a different command under the same id duplicate_request. The camps
read lists maps and camps with a binding, draw-free quote per camp, focus and
the season's stays. Tests cover stale revision, foreign owner, unknown camp,
booking, repeat, conflict and a refused second booking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:25:54 +01:00
ClaudeandClaude Opus 5.5 fec4c6c7e7 Modern UI contract: squad read and contract tests
The squad read lists a squad (own club, any league club or a national team
with a nominated squad) with ids, positions, values, absences and, for the
manager's own club, monthly salary and remaining contract months.
modern_ui_contract_tests checks envelope, identities, money, errors and
that reads leave the state unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:19:55 +01:00
ClaudeandClaude Opus 5.5 3336d01004 Modern UI contract: envelope, career and manager ids, session and desktop reads
First engine delivery for the Modern interface handoff (docs/new_ui/integration,
issue #15): ModernSession::ui_read answers in the draft envelope with careerId,
worldId, stateRevision, date, season, scope and Money in minor units. Careers and
human managers get persistent ids (saved in state/modern.json, older saves get
them on load). Reads: session and desktop. Engine decisions on the P0 points in
docs/new_engine/ui-anbindung.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:17:18 +01:00
Codex 9061123c7e Map QA selector input through public RmlUI projection (by Codex) 2026-10-27 07:30:46 +01:00
Codex 950d79d529 Render typed bilingual news and preserve historical journal scope (by Codex) 2026-10-27 05:46:07 +01:00
Codex 1eb5e99847 Port scoped National UI routes and isolated dummy planning (by Codex) 2026-10-27 05:07:23 +01:00
Codex c39b02f289 Preserve native portrait and small pitch fits with active locked cards (by Codex) 2026-10-27 04:02:35 +01:00
Codex 4903e79476 Keep saved national coach labels independent of the current viewer (by Codex) 2026-10-27 03:46:40 +01:00
Codex 9dd8731c66 Present fixed live ticker settings while preserving all stored options (by Codex) 2026-10-27 03:46:40 +01:00
Codex e710937ca9 Reset new demo careers while retaining confirmed user choices (by Codex) 2026-10-27 03:46:40 +01:00
Codex 8e3d9f83e0 Add a read-only native live-ticker demo with finite fixtures (by Codex) 2026-10-27 03:39:32 +01:00
Codex d085697bb9 Port career setup, manager hub and context-aware native UI (by Codex) 2026-10-27 01:57:58 +01:00
Codex d88bf2872a Model native demo career roles, manager handover and separate indoor boards (by Codex) 2026-10-27 01:57:58 +01:00
Codex b02ee52dee Prepare native office main-menu layout and contained Almanac icon (by Codex) 2026-10-27 00:27:46 +01:00
Codex a207b0129e Fix Super-Stadion full-upgrade image selection (by Codex) 2026-10-26 20:39:14 +01:00
Codex 8b3b51de55 Show only the calibrated picture and navigation in stadium periphery (by Codex) 2026-10-26 18:59:25 +01:00
Codex bfcf9a07bf Implement calibrated Modern stadium periphery preview and staged upgrades (by Codex) 2026-10-26 18:48:31 +01:00
Codex fff2cc2f0b Unify Modern dropdown menus with Gold layout and safe keyboard selection (by Codex) 2026-10-26 13:45:19 +01:00
Codex e81ecf95f2 Complete Modern season preparation with persistent draw progress (by Codex) 2026-10-26 11:10:25 +01:00
Codex 967520190d Complete Modern game setup and manager selection with staged confirmation (by Codex) 2026-10-26 09:50:22 +01:00
Codex a0bb8b47dc Verify exact mod membership names after case-only renames (by Codex) 2026-10-26 09:03:33 +01:00
Codex 6bcd95d668 Complete the Modern main menu and persistent mod library (by Codex) 2026-10-26 08:46:36 +01:00
Codex ab4a962a39 Initialize desktop before binding directly opened file dialogs (by Codex) 2026-10-26 00:38:15 +01:00
Codex 3891706023 Bridge file clock durations across standard libraries (by Codex) 2026-10-26 00:27:45 +01:00
Codex 246e63a550 Normalize portable file times and explicit export base aliases (by Codex) 2026-10-26 00:16:23 +01:00
Codex 31bcf93205 Complete Modern desktop widgets and file libraries (by Codex) 2026-10-26 00:08:50 +01:00
Codex 73d5a19ef2 Split the settings catalogue into MSVC-safe literals (by Codex) 2026-10-25 21:47:01 +01:00
Codex adb4166a80 Port settings and automation to the Modern UI (by Codex) 2026-10-25 21:36:18 +01:00
Codex 8222926d9c Avoid the Windows small macro in the news widget (by Codex) 2026-10-25 20:25:57 +01:00
Codex a45217c362 Port statistics and the news tablet to the Modern UI (by Codex) 2026-10-25 20:10:57 +01:00
Codex 349c416f3a Port stadium blocks and facilities without periphery construction (by Codex) 2026-10-25 15:51:35 +01:00
ClaudeandClaude Opus 5.5 0f36b507d4 Modern: national teams play with squads of their nationality (M9)
A Modern layout gives every national team after no_team 24 squad slots.
On each national team day, after the German nomination, the strongest fit
players of each nationality (quotas 3/5/7/5, the German strength measure)
fill its squad and get a computer line-up; a nation without a goalkeeper
or with fewer than 14 nominees keeps its drawn rating. The shared match
core asks fields_players() instead of 'league club or no_team', which is
the same set in Classic. National squads get no cards or injuries, their
players develop after the match like Germany's, and the almanac records
their line-ups.

Diamond data 1.5: 24 of 61 nations play with players. Classic regression
(game 1 and two-player) unchanged, Classic-data season identical, save
round trip identical, ctest passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:02:50 +01:00
Codex 96e88c9579 Port achievements and player rankings to the Modern UI (by Codex) 2026-10-25 13:51:36 +01:00
ClaudeandClaude Opus 5.5 d419943e86 Almanac format 3: matches column by column, line-ups against the previous one
Each match field of a season is stored as its own column and every player
of a line-up as his slot in the club's previous line-up. Deflate then
finds the repeats: a half season shrinks from 294 to 218 KB in the save.
Versions 1 and 2 are still read; tests cover a hand-built version 2 season
and a reordered line-up with a new player.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:48:00 +01:00
ClaudeandClaude Opus 5.5 ddaebec183 Almanac: record the matches of the German national team
The German national team shares its team number 357 with no_team, and the
recorder skipped it as a placeholder, so no international match of Germany
reached the almanac. Its line-up comes from the national squad while a
human is the national coach, as in the match engine. modern_season_sim
MODERN_ALMANAC_TEAM=<name> lists a team's recorded matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:43:54 +01:00
ClaudeandClaude Opus 5.5 ad1968420b Console: show the three stages of the traffic access
ListPeriphery called the traffic access built only at stage 3 (condition
byte 171 and above, the offer limit) and hid stages 1 and 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:40:19 +01:00
Codex cdfcb641b4 Give lineup names and the squad table more space (by Codex) 2026-10-25 11:54:33 +01:00
Codex f41823ef6b Expand the lineup pitch and show three squad statuses (by Codex) 2026-10-25 11:10:05 +01:00
Codex d533f260a0 Avoid the Windows SDK small macro in lineup controls (by Codex) 2026-10-25 10:38:32 +01:00
Codex d6df7e0c8a Hide unresolved country identifiers in the lineup (by Codex) 2026-10-25 10:34:42 +01:00
Codex bf3f910437 Port lineup and transfer market to the native Modern UI (by Codex) 2026-10-25 10:23:53 +01:00
ClaudeandClaude Opus 5.5 ec1d804d08 Give added players their nation index 32-61 (sixth nationality bit)
The engine's nationality is six bits: w368 bits 27-31 plus bit 7 of the
player bonus (0-63). The expansion wrote only the five low bits and
sent every nation from index 32 on (Brazil, Argentina, USA, Japan, ...)
to 31, Wales. Added players now get their index with the high bit;
nations without an original index get 63, a code no nation or national
team uses. Data set 1.4: 80 players without an original index (223
before). Data format F11 lists two duplicate nations for revision 1.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 09:34:13 +01:00
ClaudeandClaude Opus 5.5 0cace5a984 Lower the exclusive sponsor to 1.5 times the best regular offer
Measured with twice the offer, four boards brought a top club about 5 million a year and the dearest camp paid off clearly on average; at 150 % it is about 3.8-4 million, roughly break-even for Dubai with luck on top. Default sponsor_bonus is now 150 (data format F4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 09:25:17 +01:00
ClaudeandClaude Opus 5.5 77d1f93e8f Exclusive sponsor from training camp stays (Modern)
The Middle East camps share their grades but differ in price; a stay
can now bring an exclusive sponsor: 15 / 30 / 45 % per stay (Doha /
Abu Dhabi / Dubai), a shirt (about every third offer) or four boards at
twice the club's best regular offer for 12 months. Accepted on a free
place it starts at once, otherwise it is queued and starts at a month
change once the place is free. The offer goes through the regular
advertising acceptance.

Camp fields sponsor_chance / sponsor_bonus / sponsor_months (data
format F4, editable; built-in values for the Middle East camps), state
saved in state/modern.json, read query {kind: "sponsor"}, session action
dispatch_exclusive_sponsor, tests in modern_camp_tests, SIM_SPONSOR=1.
Sponsor artwork does not exist yet (asset: null, documented).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 09:15:38 +01:00
ClaudeandClaude Opus 5.5 44a7a77915 Accept data revision 1.4: real ages for all players (M5)
Revision 1.4 of the Modern data set brings birth dates for every
player, the camp catalogue with its maps and 100 referees. The
expansion now takes the age from a birth date for the original players
as well (WorldPlayer::born); before, only the added players kept their
data age. The yearly aging stops at 47, the most the age bits hold, so
real ages (a goalkeeper of 40) cannot run into the bits above. The
season sim counts second referee assignments per day.

Two seasons and ten seasons run through; the save round trip is
identical; second referee assignments drop to about 7 a season.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:54:21 +01:00
Codex 7de6f644f2 Support playable Modern data worlds in the editor (by Codex) 2026-10-25 08:23:02 +01:00