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

+2
View File
@@ -157,6 +157,8 @@ struct ModernState : GameState {
bool operator==(const Marketing&) const = default;
};
std::vector<Marketing> marketing;
// Shirt numbers (docs/new_engine/rueckennummern.md) by player: 1-99, 0 = none yet.
std::vector<uint8_t> shirt_numbers;
// Whether a manager the meeting votes out has to leave his club. On until the options offer it.
bool dismissals = true;
// Players whose age the data set gives (birth date); the others carry a placeholder the