|
Player12
An open source football management simulator
|
#include <match_tuning.h>
Static Public Attributes | |
| static constexpr float | MIN_SPEED = 1.0f |
| static constexpr float | MAX_SPEED = 30.0f |
| static constexpr float | DEFAULT_SPEED = 1.0f |
| static constexpr float | DEFAULT_HIGHLIGHT_SPEED = 1.0f |
| static constexpr float | HIGHLIGHT_LEAD_SECONDS = 15.0f |
| static constexpr double | RESTART_LEAD_SECONDS = 1.2 |
| static constexpr float | HIGHLIGHT_TAIL_SECONDS = 6.0f |
| static constexpr float | PREDICTION_HORIZON_SECONDS = 900.0f |
| static constexpr float | MERGE_GAP_SECONDS = 4.0f |
Playback helpers for the live view. The simulation itself never depends on them: the viewer chooses how many simulated seconds pass per wall second (1 = real time), and highlight playback skips (simulates headless) between predicted highlight windows.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Build-up shown before a highlight trigger (shot, card, penalty...).
|
staticconstexpr |
Aftermath shown once the trigger happened.
|
staticconstexpr |
|
staticconstexpr |
Highlight windows closer than this are merged into one.
|
staticconstexpr |
|
staticconstexpr |
How far ahead a highlight prediction simulates before giving up.
|
staticconstexpr |
A build-up that starts with a restart opens this long before the ball is played (the setup before it is dead time).