|
Player12
An open source football management simulator
|
#include <match_tuning.h>
Static Public Attributes | |
| static constexpr float | IDLE_DRAIN = 0.000030f |
| static constexpr float | RUNNING_DRAIN = 0.00080f |
| static constexpr float | SPRINT_THRESHOLD = 0.78f |
| static constexpr float | SPRINT_DRAIN = 0.00030f |
| static constexpr float | PRESSING_DRAIN = 0.00015f |
| static constexpr float | TEAM_PRESSING_NEUTRAL = 0.5f |
| static constexpr float | TEAM_PRESSING_DRAIN = 0.00040f |
| static constexpr float | ENDURANCE_BASE = 1.40f |
| static constexpr float | ENDURANCE_RELIEF = 0.80f |
| static constexpr float | HALF_TIME_RECOVERY = 0.06f |
| static constexpr float | EXTRA_TIME_BREAK_RECOVERY = 0.03f |
| static constexpr float | EXTRA_TIME_HALF_TIME_RECOVERY = 0.01f |
| static constexpr float | TECHNIQUE_ERROR_GAIN = 0.35f |
| static constexpr float | RESERVE_DRAIN_PER_SECOND = 0.04f |
| static constexpr float | RESERVE_RECOVERY_SECONDS = 90.0f |
Two-pool energy model per real second. The slow pool (stamina, the match condition) drains with running intensity and caps top speed late in the game; the fast pool (repeat-sprint reserve) empties during high-intensity bursts and refills within a couple of minutes.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Reserve drained per second at full sprint (empties in ~25 s).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Extra drain per second for the whole side out of possession, per unit of pressing above the neutral setting.
|
staticconstexpr |