International marketing: a monthly budget builds up reach abroad

The reach grows over a year or two towards what the budget holds, falls
faster when the budget is cut, and brings income every month by league and
prestige. The investments page sets the budget and shows reach and income.

Engine: marketing.hpp, read advertising.internationalMarketing, command
marketing.commit; saved in state/modern.json. Also fixes the monthly amount
on the naming rights tile, which was shown a hundredth too small.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-17 16:33:10 +01:00
1 parent 97acf0d74d
commit 7b3f52d809
18 files changed
+327 -7

No files matched your search

+8
View File
@@ -149,6 +149,14 @@ struct ModernState : GameState {
bool operator==(const StadiumName&) const = default;
};
std::vector<StadiumName> stadiums;
// International marketing (docs/new_engine/vermarktung.md), per manager slot: the monthly
// budget in euros and the reach it has built up so far, in per mille.
struct Marketing {
int32_t budget = 0;
uint16_t reach = 0;
bool operator==(const Marketing&) const = default;
};
std::vector<Marketing> marketing;
// 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