Modern press journal: monthly results

At the first kickoff of a new month each club manager's cash change over
the month just ended becomes finance.profit or finance.loss. The month
and the cash at its start are saved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-27 18:46:54 +01:00
1 parent d6d31f939d
commit 706577d002
5 files changed
+43 -1

No files matched your search

+4
View File
@@ -93,6 +93,10 @@ struct ModernState : GameState {
};
std::vector<PressEntry> press;
uint32_t press_serial = 0;
// The monthly result for the press: the month (year * 12 + month - 1, 0 = not yet started) and
// each manager's cash at its start; the change over a month is finance.profit / finance.loss.
uint32_t press_month = 0;
std::vector<int64_t> press_month_cash;
// How and when the career ended ("" while it runs; "career_completed" when the set duration ran
// out, "last_human_resigned" when the only or last human manager gave up): the interface's
// terminationReason and the end of the employments.