Annual general meeting and change of club
At the end of a season three groups of members vote on a human manager. Below half of the votes he has to take over one of up to seven interested clubs; the same list lets a manager leave on his own from the manager page. The meeting is shown as a needle that swings between red and green and comes to rest on the result. Engine: assembly_vote, club_offers, change_club; read "assembly", command manager.clubChange, field assembly of session.advance; saved in state/modern.json. Dismissals are always on until the options offer them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
811edfa900
commit
a2b9770d81
24 files changed
+1016
-7
No files matched your search
@@ -142,6 +142,20 @@ void starting_sponsors(ModernState& g, int manager);
|
||||
bool career_add_manager(ModernState& g, const LeImage& exe, int m, const CareerManager& choice, bool adding,
|
||||
GameRandom& game, WatcomRandom& rand, MinuteReport& report);
|
||||
|
||||
// The second half of career_add_manager, from the club's players on: what a manager's record,
|
||||
// board and stadium need for the club his record names (league = his record's start league).
|
||||
// Draws from the Watcom generator only.
|
||||
bool equip_manager(ModernState& g, const LeImage& exe, int m, int league, bool adding, WatcomRandom& rand, MinuteReport& report);
|
||||
|
||||
// A Modern rule (docs/new_engine/hauptversammlung.md): manager m leaves his club for the German
|
||||
// league club `team`, which no human manages, and starts there with `cash`. His record is
|
||||
// built anew as for a manager who joins a running game (equip_manager); only his name, portrait
|
||||
// and the national coach's flag stay. His funds, shares, loans, toto coupon and a waiting
|
||||
// sponsor offer are gone, and the club he leaves is a computer club again. The clubs keep their
|
||||
// places and their players keep their values. Returns false, with nothing changed, for a
|
||||
// request that is not possible.
|
||||
bool change_club(ModernState& g, const LeImage& exe, int m, int team, int32_t cash, WatcomRandom& rand, MinuteReport& report);
|
||||
|
||||
// ConfirmManager after the loop: clear CareerSession_FormatError_RuntimeField6; only a new career empties the twelve
|
||||
// human loan entries Career_CareerManagersEnd_RuntimeField. Joining preserves unrelated entries.
|
||||
void career_managers_end(ModernState& g, bool adding);
|
||||
|
||||
Reference in new issue
Block a user