|
Player12
An open source football management simulator
|
#include <match_play_overlay.h>
Public Attributes | |
| PlayerID | activePlayer = 0 |
| PlayerID | nextSwitch = 0 |
| float | power = 0.0f |
| bool | charging = false |
| ImU32 | homeColor = IM_COL32(220, 60, 60, 255) |
| ImU32 | awayColor = IM_COL32(60, 110, 220, 255) |
What the play-mode overlay shows this frame (presentation only).
| PlayerID MatchPlayOverlayState::activePlayer = 0 |
The human's active footballer and who a switch would pick next.
| ImU32 MatchPlayOverlayState::awayColor = IM_COL32(60, 110, 220, 255) |
| bool MatchPlayOverlayState::charging = false |
| ImU32 MatchPlayOverlayState::homeColor = IM_COL32(220, 60, 60, 255) |
Radar dot colours of the two sides.
| PlayerID MatchPlayOverlayState::nextSwitch = 0 |
| float MatchPlayOverlayState::power = 0.0f |
Filled share of the power bar while a button is held.