Add the base read queries for the new UI; fix ages and save limits
- ModernSession::read(request): status, leagues, table, fixtures and squad as JSON with the same club/player/league objects everywhere (docs/new_engine/ui-abfragen.md); the statistics answer through it. Further queries follow per menu once the GUI is finished. - Ages: data set 1.3 gives ages only for the 840 added players (birth dates); the 2574 original players carry the placeholder 16 and now get their age drawn as in the original (human squad 20-25) instead of all being 16. Birth dates for all players go into data 1.4. - Saves of Modern matchdays with more than six match groups (nine leagues on one day) were refused on loading; Classic keeps six. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f92be693af
commit
4639fe5a91
12 files changed
+344
-8
No files matched your search
+2
-1
@@ -345,7 +345,8 @@ add_subdirectory(src/import)
|
||||
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
|
||||
src/modern/content/statistics.cpp)
|
||||
src/modern/content/statistics.cpp
|
||||
src/modern/content/projections.cpp)
|
||||
target_link_libraries(bmh_modern_content PUBLIC bmh_content bmh_season_modern PRIVATE bmh_miniz)
|
||||
if(MSVC)
|
||||
target_compile_options(bmh_modern_content PRIVATE /W4 /utf-8)
|
||||
|
||||
Reference in new issue
Block a user