Player12
An open source football management simulator
Loading...
Searching...
No Matches
preseason.cpp File Reference
#include "model/preseason.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <optional>
#include <string>
#include <unordered_map>
#include <utility>
#include "database/gamedata.h"
#include "database/sqlite_rows.h"
#include "model/calendar.h"
#include "model/club_economy.h"
#include "model/competition.h"
#include "model/inbox.h"
#include "model/league.h"
#include "model/match_report.h"
#include "model/team.h"
#include "model/training.h"

Namespaces

namespace  Preseason
 Pricing of camps and tours.
 

Functions

CampQuote Preseason::campQuote (TrainingCamp camp, double season_income, const GameDateValue &first_friendly)
 
std::int64_t Preseason::tourFee (double season_income, std::uint8_t opponent_reputation)
 
bool Preseason::levelMatches (OpponentLevel level, std::uint8_t own, std::uint8_t other)