Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Pitch Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float LENGTH_METRES = 105.0f
 
static constexpr float WIDTH_METRES = 68.0f
 
static constexpr float CENTRE = 0.5f
 
static constexpr float GOAL_TOP = 0.446f
 
static constexpr float GOAL_BOTTOM = 0.554f
 
static constexpr float LINEUP_GOALKEEPER_X = 0.04f
 
static constexpr float GOALKEEPER_MIN_Y = 0.38f
 
static constexpr float GOALKEEPER_MAX_Y = 0.62f
 
static constexpr float GOALKEEPER_SWEEP_DEPTH = 0.18f
 
static constexpr float LEFT_GOAL_KICK_X = 0.065f
 
static constexpr float RIGHT_GOAL_KICK_X = 0.935f
 
static constexpr float LEFT_PENALTY_SPOT_X = 0.105f
 
static constexpr float RIGHT_PENALTY_SPOT_X = 0.895f
 
static constexpr float LEFT_PENALTY_AREA_EDGE = 0.157f
 
static constexpr float RIGHT_PENALTY_AREA_EDGE = 0.843f
 
static constexpr float PENALTY_AREA_HALF_WIDTH_METRES = 20.16f
 
static constexpr float RESTART_INSET = 0.01f
 
static constexpr float RESTART_LONGITUDINAL_MARGIN = 0.04f
 
static constexpr float HOME_KICKOFF_X = 0.49f
 
static constexpr float AWAY_KICKOFF_X = 0.51f
 
static constexpr float KICKOFF_FORMATION_INSET = 0.02f
 
static constexpr float KICKOFF_FORMATION_SCALE = 0.56f
 
static constexpr float PLAYER_MIN_X = 0.005f
 
static constexpr float PLAYER_MAX_X = 0.995f
 
static constexpr float PLAYER_MIN_Y = 0.01f
 
static constexpr float PLAYER_MAX_Y = 0.99f
 

Member Data Documentation

◆ AWAY_KICKOFF_X

constexpr float MatchTuning::Pitch::AWAY_KICKOFF_X = 0.51f
staticconstexpr

◆ CENTRE

constexpr float MatchTuning::Pitch::CENTRE = 0.5f
staticconstexpr

◆ GOAL_BOTTOM

constexpr float MatchTuning::Pitch::GOAL_BOTTOM = 0.554f
staticconstexpr

◆ GOAL_TOP

constexpr float MatchTuning::Pitch::GOAL_TOP = 0.446f
staticconstexpr

◆ GOALKEEPER_MAX_Y

constexpr float MatchTuning::Pitch::GOALKEEPER_MAX_Y = 0.62f
staticconstexpr

◆ GOALKEEPER_MIN_Y

constexpr float MatchTuning::Pitch::GOALKEEPER_MIN_Y = 0.38f
staticconstexpr

◆ GOALKEEPER_SWEEP_DEPTH

constexpr float MatchTuning::Pitch::GOALKEEPER_SWEEP_DEPTH = 0.18f
staticconstexpr

◆ HOME_KICKOFF_X

constexpr float MatchTuning::Pitch::HOME_KICKOFF_X = 0.49f
staticconstexpr

◆ KICKOFF_FORMATION_INSET

constexpr float MatchTuning::Pitch::KICKOFF_FORMATION_INSET = 0.02f
staticconstexpr

◆ KICKOFF_FORMATION_SCALE

constexpr float MatchTuning::Pitch::KICKOFF_FORMATION_SCALE = 0.56f
staticconstexpr

◆ LEFT_GOAL_KICK_X

constexpr float MatchTuning::Pitch::LEFT_GOAL_KICK_X = 0.065f
staticconstexpr

◆ LEFT_PENALTY_AREA_EDGE

constexpr float MatchTuning::Pitch::LEFT_PENALTY_AREA_EDGE = 0.157f
staticconstexpr

◆ LEFT_PENALTY_SPOT_X

constexpr float MatchTuning::Pitch::LEFT_PENALTY_SPOT_X = 0.105f
staticconstexpr

◆ LENGTH_METRES

constexpr float MatchTuning::Pitch::LENGTH_METRES = 105.0f
staticconstexpr

◆ LINEUP_GOALKEEPER_X

constexpr float MatchTuning::Pitch::LINEUP_GOALKEEPER_X = 0.04f
staticconstexpr

◆ PENALTY_AREA_HALF_WIDTH_METRES

constexpr float MatchTuning::Pitch::PENALTY_AREA_HALF_WIDTH_METRES = 20.16f
staticconstexpr

◆ PLAYER_MAX_X

constexpr float MatchTuning::Pitch::PLAYER_MAX_X = 0.995f
staticconstexpr

◆ PLAYER_MAX_Y

constexpr float MatchTuning::Pitch::PLAYER_MAX_Y = 0.99f
staticconstexpr

◆ PLAYER_MIN_X

constexpr float MatchTuning::Pitch::PLAYER_MIN_X = 0.005f
staticconstexpr

◆ PLAYER_MIN_Y

constexpr float MatchTuning::Pitch::PLAYER_MIN_Y = 0.01f
staticconstexpr

◆ RESTART_INSET

constexpr float MatchTuning::Pitch::RESTART_INSET = 0.01f
staticconstexpr

◆ RESTART_LONGITUDINAL_MARGIN

constexpr float MatchTuning::Pitch::RESTART_LONGITUDINAL_MARGIN = 0.04f
staticconstexpr

◆ RIGHT_GOAL_KICK_X

constexpr float MatchTuning::Pitch::RIGHT_GOAL_KICK_X = 0.935f
staticconstexpr

◆ RIGHT_PENALTY_AREA_EDGE

constexpr float MatchTuning::Pitch::RIGHT_PENALTY_AREA_EDGE = 0.843f
staticconstexpr

◆ RIGHT_PENALTY_SPOT_X

constexpr float MatchTuning::Pitch::RIGHT_PENALTY_SPOT_X = 0.895f
staticconstexpr

◆ WIDTH_METRES

constexpr float MatchTuning::Pitch::WIDTH_METRES = 68.0f
staticconstexpr

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