Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRender2DTuning::Stadium Struct Referencefinal

#include <match_render_2d_tuning.h>

Static Public Attributes

static constexpr float RUN_OFF_SHARE = 0.34f
 
static constexpr float BOARD_SHARE = 0.12f
 
static constexpr float CROWD_STEP_PIXELS = 6.0f
 
static constexpr float CROWD_SIZE_SHARE = 0.62f
 
static constexpr float EMPTY_SEAT_SHARE = 0.1f
 
static constexpr float END_FAN_SHARE = 0.55f
 
static constexpr float SIDE_FAN_SHARE = 0.2f
 
static constexpr float BOARD_LENGTH_METRES = 8.0f
 
static constexpr ImU32 STAND_FRONT_COLOR = IM_COL32(44, 52, 68, 255)
 
static constexpr ImU32 STAND_BACK_COLOR = IM_COL32(18, 22, 32, 255)
 
static constexpr ImU32 BOARD_COLOR = IM_COL32(22, 26, 34, 255)
 
static constexpr std::uint32_t SEED = 20260929U
 

Detailed Description

Stands, boards and run-off around the pitch (shares of the scene's apron, MatchSceneTuning::Stadium::APRON_WIDTH).

Member Data Documentation

◆ BOARD_COLOR

constexpr ImU32 MatchRender2DTuning::Stadium::BOARD_COLOR = IM_COL32(22, 26, 34, 255)
staticconstexpr

◆ BOARD_LENGTH_METRES

constexpr float MatchRender2DTuning::Stadium::BOARD_LENGTH_METRES = 8.0f
staticconstexpr

◆ BOARD_SHARE

constexpr float MatchRender2DTuning::Stadium::BOARD_SHARE = 0.12f
staticconstexpr

◆ CROWD_SIZE_SHARE

constexpr float MatchRender2DTuning::Stadium::CROWD_SIZE_SHARE = 0.62f
staticconstexpr

◆ CROWD_STEP_PIXELS

constexpr float MatchRender2DTuning::Stadium::CROWD_STEP_PIXELS = 6.0f
staticconstexpr

◆ EMPTY_SEAT_SHARE

constexpr float MatchRender2DTuning::Stadium::EMPTY_SEAT_SHARE = 0.1f
staticconstexpr

◆ END_FAN_SHARE

constexpr float MatchRender2DTuning::Stadium::END_FAN_SHARE = 0.55f
staticconstexpr

Supporters in club colours: behind each goal, then elsewhere.

◆ RUN_OFF_SHARE

constexpr float MatchRender2DTuning::Stadium::RUN_OFF_SHARE = 0.34f
staticconstexpr

◆ SEED

constexpr std::uint32_t MatchRender2DTuning::Stadium::SEED = 20260929U
staticconstexpr

◆ SIDE_FAN_SHARE

constexpr float MatchRender2DTuning::Stadium::SIDE_FAN_SHARE = 0.2f
staticconstexpr

◆ STAND_BACK_COLOR

constexpr ImU32 MatchRender2DTuning::Stadium::STAND_BACK_COLOR = IM_COL32(18, 22, 32, 255)
staticconstexpr

◆ STAND_FRONT_COLOR

constexpr ImU32 MatchRender2DTuning::Stadium::STAND_FRONT_COLOR = IM_COL32(44, 52, 68, 255)
staticconstexpr

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