|
Player12
An open source football management simulator
|
Pricing of camps and tours. More...
Functions | |
| CampQuote | campQuote (TrainingCamp camp, double season_income, const GameDateValue &first_friendly) |
| std::int64_t | tourFee (double season_income, std::uint8_t opponent_reputation) |
| bool | levelMatches (OpponentLevel level, std::uint8_t own, std::uint8_t other) |
Variables | |
| constexpr int | TOUR_MATCHES_FOR_REPUTATION = 2 |
| constexpr int | LEVEL_GAP = 8 |
| constexpr int | CAMP_DAYS = 6 |
Pricing of camps and tours.
A week-long camp between the first and second friendly sharpens the squad (match fitness), drills the tactic and bonds the group; abroad it costs more and does more. Tour matches abroad earn an appearance fee that grows with the club's income and the opponent's stature, minus travel; two tour matches in a season add a reputation point. [P]
| CampQuote Preseason::campQuote | ( | TrainingCamp | camp, |
| double | season_income, | ||
| const GameDateValue & | first_friendly | ||
| ) |
Camp quote from the club's season income and the first friendly.
| bool Preseason::levelMatches | ( | OpponentLevel | level, |
| std::uint8_t | own, | ||
| std::uint8_t | other | ||
| ) |
Whether other fits level for a club of reputation own.
| std::int64_t Preseason::tourFee | ( | double | season_income, |
| std::uint8_t | opponent_reputation | ||
| ) |
Net appearance fee of one tour match (fee minus travel).
|
inlineconstexpr |
|
inlineconstexpr |
Reputation gap separating weaker / similar / stronger opponents.
|
inlineconstexpr |