Decouple lower third from audience display mode so that it can be shown on top of other elements.

This commit is contained in:
Patrick Fairbank
2020-03-28 14:37:26 -07:00
parent 5a5f9ca366
commit 244ddce9e4
5 changed files with 32 additions and 38 deletions

View File

@@ -68,6 +68,7 @@ type Arena struct {
AllianceStationDisplayMode string
AllianceSelectionAlliances [][]model.AllianceTeam
LowerThird *model.LowerThird
ShowLowerThird bool
MuteMatchSounds bool
matchAborted bool
soundsPlayed map[*game.MatchSound]struct{}

View File

@@ -118,7 +118,10 @@ func (arena *Arena) generateDisplayConfigurationMessage() interface{} {
}
func (arena *Arena) generateLowerThirdMessage() interface{} {
return arena.LowerThird
return &struct {
LowerThird *model.LowerThird
ShowLowerThird bool
}{arena.LowerThird, arena.ShowLowerThird}
}
func (arena *Arena) generateMatchLoadMessage() interface{} {