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>
This commit is contained in:
1 parent
7c08e39607
commit
7742d014f9
9 files changed
+375
-3
No files matched your search
+2
-1
@@ -344,7 +344,8 @@ add_subdirectory(src/import)
|
||||
# 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)
|
||||
src/modern/content/world_expand.cpp
|
||||
src/modern/content/statistics.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