|
Player12
An open source football management simulator
|
#include <match_audio.h>
Public Attributes | |
| float | ballX = 0.5f |
| float | ballSpeed = 0.0f |
| bool | ballIsShot = false |
| bool | ballLoose = false |
| PlayerID | kickerId = 0 |
| bool | homeInPossession = false |
| bool | awayInPossession = false |
| float | matchMinute = 0.0f |
| int | period = 1 |
| int | homeScore = 0 |
| int | awayScore = 0 |
| bool | stopped = false |
| float | playbackSpeed = 1.0f |
| bool | paused = false |
| bool | skipped = false |
What the live view shows this frame, copied from the engine on the UI thread. The audio never sees the engine itself.
| bool MatchAudioFrame::awayInPossession = false |
| int MatchAudioFrame::awayScore = 0 |
| bool MatchAudioFrame::ballIsShot = false |
| bool MatchAudioFrame::ballLoose = false |
Nobody has the ball at their feet.
| float MatchAudioFrame::ballSpeed = 0.0f |
Ball speed in m/s.
| float MatchAudioFrame::ballX = 0.5f |
| bool MatchAudioFrame::homeInPossession = false |
| int MatchAudioFrame::homeScore = 0 |
| PlayerID MatchAudioFrame::kickerId = 0 |
Last player to kick or deflect the ball (0: none).
| float MatchAudioFrame::matchMinute = 0.0f |
| bool MatchAudioFrame::paused = false |
| int MatchAudioFrame::period = 1 |
| float MatchAudioFrame::playbackSpeed = 1.0f |
Simulated seconds per wall second.
| bool MatchAudioFrame::skipped = false |
The match jumped ahead this frame (highlight skip, quick result): events that arrived with the jump are consumed silently.
| bool MatchAudioFrame::stopped = false |
Break or full time: the crowd settles.