Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchSceneTuning::Controls Struct Referencefinal

#include <match_scene_tuning.h>

Static Public Attributes

static constexpr float PAUSE_BUTTON_WIDTH = 120.0f
 
static constexpr float SUBSTITUTION_BUTTON_WIDTH = 170.0f
 
static constexpr float DEBUG_BUTTON_WIDTH = 150.0f
 
static constexpr float AI_DEBUG_BUTTON_WIDTH = 130.0f
 
static constexpr std::array< float, 6 > SPEED_STEPS
 
static constexpr float SPEED_BUTTON_GAP = 2.0f
 
static constexpr float SKIP_INDICATOR_SECONDS = 1.5f
 
static constexpr float MAX_DELTA_AFTER_SKIP = 1.0f / 30.0f
 
static constexpr float VIEW_BUTTON_WIDTH = 130.0f
 

Member Data Documentation

◆ AI_DEBUG_BUTTON_WIDTH

constexpr float MatchSceneTuning::Controls::AI_DEBUG_BUTTON_WIDTH = 130.0f
staticconstexpr

◆ DEBUG_BUTTON_WIDTH

constexpr float MatchSceneTuning::Controls::DEBUG_BUTTON_WIDTH = 150.0f
staticconstexpr

◆ MAX_DELTA_AFTER_SKIP

constexpr float MatchSceneTuning::Controls::MAX_DELTA_AFTER_SKIP = 1.0f / 30.0f
staticconstexpr

Longest frame time played right after a highlight skip.

◆ PAUSE_BUTTON_WIDTH

constexpr float MatchSceneTuning::Controls::PAUSE_BUTTON_WIDTH = 120.0f
staticconstexpr

◆ SKIP_INDICATOR_SECONDS

constexpr float MatchSceneTuning::Controls::SKIP_INDICATOR_SECONDS = 1.5f
staticconstexpr

◆ SPEED_BUTTON_GAP

constexpr float MatchSceneTuning::Controls::SPEED_BUTTON_GAP = 2.0f
staticconstexpr

◆ SPEED_STEPS

constexpr std::array<float, 6> MatchSceneTuning::Controls::SPEED_STEPS
staticconstexpr
Initial value:
= {1.0f, 2.0f, 4.0f,
8.0f, 16.0f, 30.0f}

Playback speeds offered: simulated seconds per real second (1x is real time, the engine allows up to 30x).

◆ SUBSTITUTION_BUTTON_WIDTH

constexpr float MatchSceneTuning::Controls::SUBSTITUTION_BUTTON_WIDTH = 170.0f
staticconstexpr

◆ VIEW_BUTTON_WIDTH

constexpr float MatchSceneTuning::Controls::VIEW_BUTTON_WIDTH = 130.0f
staticconstexpr

The documentation for this struct was generated from the following file: