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

#include <match_render_2d_tuning.h>

Static Public Attributes

static constexpr float RADIUS_METRES = 1.1f
 
static constexpr float MIN_RADIUS_FONT_SHARE = 0.46f
 
static constexpr float SHIRT_SHARE = 0.74f
 
static constexpr float OUTLINE_SHARE = 0.12f
 
static constexpr float WEDGE_REACH = 1.62f
 
static constexpr float WEDGE_HALF_ANGLE = 0.42f
 
static constexpr float NUMBER_SHARE = 1.1f
 
static constexpr float MIN_NUMBER_PIXELS = 7.5f
 
static constexpr float CARRIER_RING_SHARE = 1.5f
 
static constexpr float HOVER_RING_SHARE = 1.34f
 
static constexpr float PULSE_SPEED = 5.0f
 
static constexpr float SHADOW_OFFSET_SHARE = 0.22f
 
static constexpr float OFF_PITCH_ALPHA = 0.45f
 
static constexpr ImU32 OUTLINE_COLOR = IM_COL32(10, 14, 20, 225)
 
static constexpr ImU32 LIGHT_OUTLINE_COLOR = IM_COL32(245, 247, 250, 235)
 
static constexpr ImU32 WEDGE_COLOR = IM_COL32(248, 250, 252, 235)
 
static constexpr ImU32 SHADOW_COLOR = IM_COL32(0, 0, 0, 70)
 
static constexpr ImU32 CARRIER_COLOR = IM_COL32(255, 214, 64, 255)
 
static constexpr ImU32 HOVER_COLOR = IM_COL32(255, 255, 255, 230)
 
static constexpr ImU32 CARD_COLOR = IM_COL32(250, 214, 40, 255)
 
static constexpr ImU32 LABEL_BACK_COLOR = IM_COL32(6, 10, 20, 170)
 
static constexpr ImU32 LABEL_TEXT_COLOR = IM_COL32(245, 247, 250, 255)
 

Detailed Description

Top-down kit tokens.

Member Data Documentation

◆ CARD_COLOR

constexpr ImU32 MatchRender2DTuning::Token::CARD_COLOR = IM_COL32(250, 214, 40, 255)
staticconstexpr

◆ CARRIER_COLOR

constexpr ImU32 MatchRender2DTuning::Token::CARRIER_COLOR = IM_COL32(255, 214, 64, 255)
staticconstexpr

◆ CARRIER_RING_SHARE

constexpr float MatchRender2DTuning::Token::CARRIER_RING_SHARE = 1.5f
staticconstexpr

◆ HOVER_COLOR

constexpr ImU32 MatchRender2DTuning::Token::HOVER_COLOR = IM_COL32(255, 255, 255, 230)
staticconstexpr

◆ HOVER_RING_SHARE

constexpr float MatchRender2DTuning::Token::HOVER_RING_SHARE = 1.34f
staticconstexpr

◆ LABEL_BACK_COLOR

constexpr ImU32 MatchRender2DTuning::Token::LABEL_BACK_COLOR = IM_COL32(6, 10, 20, 170)
staticconstexpr

◆ LABEL_TEXT_COLOR

constexpr ImU32 MatchRender2DTuning::Token::LABEL_TEXT_COLOR = IM_COL32(245, 247, 250, 255)
staticconstexpr

◆ LIGHT_OUTLINE_COLOR

constexpr ImU32 MatchRender2DTuning::Token::LIGHT_OUTLINE_COLOR = IM_COL32(245, 247, 250, 235)
staticconstexpr

◆ MIN_NUMBER_PIXELS

constexpr float MatchRender2DTuning::Token::MIN_NUMBER_PIXELS = 7.5f
staticconstexpr

Numbers smaller than this (pixels at scale 1) are not printed.

◆ MIN_RADIUS_FONT_SHARE

constexpr float MatchRender2DTuning::Token::MIN_RADIUS_FONT_SHARE = 0.46f
staticconstexpr

Tokens never get smaller than this share of the font size.

◆ NUMBER_SHARE

constexpr float MatchRender2DTuning::Token::NUMBER_SHARE = 1.1f
staticconstexpr

◆ OFF_PITCH_ALPHA

constexpr float MatchRender2DTuning::Token::OFF_PITCH_ALPHA = 0.45f
staticconstexpr

Players off the pitch (sent off, injured) wait faded by the bench.

◆ OUTLINE_COLOR

constexpr ImU32 MatchRender2DTuning::Token::OUTLINE_COLOR = IM_COL32(10, 14, 20, 225)
staticconstexpr

◆ OUTLINE_SHARE

constexpr float MatchRender2DTuning::Token::OUTLINE_SHARE = 0.12f
staticconstexpr

◆ PULSE_SPEED

constexpr float MatchRender2DTuning::Token::PULSE_SPEED = 5.0f
staticconstexpr

◆ RADIUS_METRES

constexpr float MatchRender2DTuning::Token::RADIUS_METRES = 1.1f
staticconstexpr

◆ SHADOW_COLOR

constexpr ImU32 MatchRender2DTuning::Token::SHADOW_COLOR = IM_COL32(0, 0, 0, 70)
staticconstexpr

◆ SHADOW_OFFSET_SHARE

constexpr float MatchRender2DTuning::Token::SHADOW_OFFSET_SHARE = 0.22f
staticconstexpr

◆ SHIRT_SHARE

constexpr float MatchRender2DTuning::Token::SHIRT_SHARE = 0.74f
staticconstexpr

◆ WEDGE_COLOR

constexpr ImU32 MatchRender2DTuning::Token::WEDGE_COLOR = IM_COL32(248, 250, 252, 235)
staticconstexpr

◆ WEDGE_HALF_ANGLE

constexpr float MatchRender2DTuning::Token::WEDGE_HALF_ANGLE = 0.42f
staticconstexpr

◆ WEDGE_REACH

constexpr float MatchRender2DTuning::Token::WEDGE_REACH = 1.62f
staticconstexpr

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