Split the window program into files by topic
struct App moves out of main.cpp into app/app.hpp (state and declarations; the return types are spelled out now, taken from the compiler) and its 94 member functions into app_run.cpp handle() and run(): wiring, title screen, event loop app_live.cpp live match, interventions, event animations, reality mode app_transfer.cpp offers, decisions, market sales, loan returns, poaching app_season.cpp season end and start: tax, promotion, highscore, cup draw app_services.cpp timers and deadlines served between inputs app_club.cpp the club dialogs app_sportschau.cpp the Sportschau app_notices.cpp notices and questions over a screen main.cpp keeps main(): game data, window, sound (238 lines instead of 4,550). The function bodies moved unchanged. docs/DIFFERENCES.md is regenerated (a marker moved to app_run.cpp). Verified: 211 of 211 tests; careers, UI walk and robot (234 commands) identical; long robot run (52 kick-offs to April of the season, indoor tournament included): every desk picture identical. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
c8dee2c377
commit
8a37be898a
12 files changed
+4523
-4433
No files matched your search
+1
-1
@@ -5,8 +5,8 @@ Generated from source comment markers by `tools/public_release/collect_differenc
|
||||
See [Compatibility decisions](COMPATIBILITY.md) for the overall policy. These entries
|
||||
describe deliberate changes; they are not a list of every known compatibility limit.
|
||||
|
||||
- [src/app/app_run.cpp](../src/app/app_run.cpp): display the repository-owned title at its native resolution until a complete left/right click, without loading balls.
|
||||
- [src/app/career_session.cpp](../src/app/career_session.cpp): supports designated set-piece record initialization and validation.
|
||||
- [src/app/main.cpp](../src/app/main.cpp): display the repository-owned title at its native resolution until a complete left/right click, without loading balls.
|
||||
- [src/app/quit_confirmation.hpp](../src/app/quit_confirmation.hpp): confirms application exit with a localized native dialog, with cancellation selected by default.
|
||||
- [src/game/career.cpp](../src/game/career.cpp): skips reserved calendar positions when assigning a joining manager to a club.
|
||||
- [src/game/career.hpp](../src/game/career.hpp): uses the supported player-generation ranges and excludes reserved calendar positions when assigning managers.
|
||||
|
||||
Reference in new issue
Block a user