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

+2
View File
@@ -5,6 +5,7 @@
#include "modern/game/environment.hpp"
#include "modern/game/month.hpp"
#include "modern/game/naming_rights.hpp"
#include "modern/game/marketing.hpp"
#include "modern/game/desk_actions.hpp"
#include "game/trace.hpp"
@@ -949,6 +950,7 @@ void search_profile_news(ModernState& g, int manager, uint32_t list, int player)
void month_change(ModernState& g, WatcomRandom& rand, MinuteReport& report, GameRandom* game) {
modern::naming_rights_month(g); // Modern: the stadium sponsors pay (naming_rights.hpp)
modern::marketing_month(g); // Modern: international marketing costs and pays (marketing.hpp)
StaticMemory& mem = g.memory;
std::vector<uint8_t>& r = g.manager_records;
const int managers = int(g.manager_teams.size());