Players wear shirt numbers the manager can change

Every player keeps a number from 1 to 99, unique within his squad. The
line-up shows it and changes it by a click; the tactics sketch and the
match sheet wear it too.

Engine: shirt_numbers.hpp, squad read player.shirtNumber, command
lineup.setNumber; saved in state/modern.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-17 16:58:34 +01:00
1 parent 7b3f52d809
commit 72e06aabdb
20 files changed
+304 -8

No files matched your search

+3
View File
@@ -1239,6 +1239,9 @@ add_test(NAME modern_naming_tests COMMAND modern_naming_tests)
add_executable(modern_marketing_tests tests/modern_marketing_tests.cpp)
target_link_libraries(modern_marketing_tests PRIVATE bmh_season_modern)
add_test(NAME modern_marketing_tests COMMAND modern_marketing_tests)
add_executable(modern_shirt_number_tests tests/modern_shirt_number_tests.cpp)
target_link_libraries(modern_shirt_number_tests PRIVATE bmh_season_modern)
add_test(NAME modern_shirt_number_tests COMMAND modern_shirt_number_tests)
add_executable(modern_almanac_tests tests/modern_almanac_tests.cpp)
target_link_libraries(modern_almanac_tests PRIVATE bmh_modern_content)
add_test(NAME modern_almanac_tests COMMAND modern_almanac_tests)