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>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-23 23:22:13 +02:00
1 parent 6f55622307
commit 28b59d9890
11 files changed
+265 -14

No files matched your search

+1
View File
@@ -343,6 +343,7 @@ add_subdirectory(src/import)
# uses the Classic UI projections until the Modern projections exist (docs/new_engine).
# Modern world packages: the world tables and the Classic payload of a Modern data set.
add_library(bmh_modern_content STATIC src/modern/content/world.cpp src/modern/content/world_package.cpp
src/modern/content/world_save.cpp
src/modern/content/world_expand.cpp)
target_link_libraries(bmh_modern_content PUBLIC bmh_content bmh_season_modern PRIVATE bmh_miniz)
if(MSVC)