Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRenderOptions Struct Reference

#include <imatch_renderer.h>

Public Attributes

bool showAiDebug = false
 
bool showPlayerNames = false
 
float frameSeconds = 0.0f
 
MatchCameraInput cameraInput
 
MatchCameraMode cameraMode = MatchCameraMode::BROADCAST
 
const char * homeLabel = nullptr
 
const char * awayLabel = nullptr
 
int kickoffMinutes = -1
 
bool dayLook = false
 
bool pressureOverlay = false
 
PlayerID activePlayer = 0
 

Detailed Description

Presentation-only switches passed to a renderer.

Member Data Documentation

◆ activePlayer

PlayerID MatchRenderOptions::activePlayer = 0

Play mode: the human's active footballer (0 = none), kept in view by the play camera.

◆ awayLabel

const char* MatchRenderOptions::awayLabel = nullptr

◆ cameraInput

MatchCameraInput MatchRenderOptions::cameraInput

Camera mouse input over the viewport since the previous frame.

◆ cameraMode

MatchCameraMode MatchRenderOptions::cameraMode = MatchCameraMode::BROADCAST

◆ dayLook

bool MatchRenderOptions::dayLook = false

Daylight presentation regardless of the kick-off time (3D view).

◆ frameSeconds

float MatchRenderOptions::frameSeconds = 0.0f

Real (unscaled) seconds since the previous rendered frame.

◆ homeLabel

const char* MatchRenderOptions::homeLabel = nullptr

Short team labels for the in-view score bug; may be null.

◆ kickoffMinutes

int MatchRenderOptions::kickoffMinutes = -1

Kick-off in minutes after midnight (venue time); -1 when unknown.

◆ pressureOverlay

bool MatchRenderOptions::pressureOverlay = false

Pitch-control overlay in the team colours (2D view).

◆ showAiDebug

bool MatchRenderOptions::showAiDebug = false

◆ showPlayerNames

bool MatchRenderOptions::showPlayerNames = false

Always label every player instead of only the ball carrier.


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