diff --git a/Output/PartyModes/Challenge/Screens/PartyScreenChallengeMain.xml b/Output/PartyModes/Challenge/Screens/PartyScreenChallengeMain.xml index 946b68dc..e327c9a5 100644 --- a/Output/PartyModes/Challenge/Screens/PartyScreenChallengeMain.xml +++ b/Output/PartyModes/Challenge/Screens/PartyScreenChallengeMain.xml @@ -33,11 +33,11 @@ PopupBG - 449 - 261 + 0 + 0 -1,00 - 382 - 198 + 1280 + 720 StaticColor @@ -126,7 +126,7 @@ 0,00 - 37 + 32 @@ -155,8 +155,9 @@ 0,00 - 37 + 32 + 130 StaticColor @@ -179,12 +180,12 @@ - 400 + 320 100 0,00 - 37 + 32 @@ -208,12 +209,12 @@ - 500 + 400 100 0,00 - 37 + 32 @@ -237,12 +238,12 @@ - 750 + 550 100 0,00 - 37 + 32 @@ -266,12 +267,12 @@ - 850 + 650 100 0,00 - 37 + 32 diff --git a/Output/Themes/Ambient/Popup.png b/Output/Themes/Ambient/Popup.png new file mode 100644 index 00000000..80868001 Binary files /dev/null and b/Output/Themes/Ambient/Popup.png differ diff --git a/PartyModeChallenge/PartyScreenChallengeMain.cs b/PartyModeChallenge/PartyScreenChallengeMain.cs index fb589fbd..a4fab9f5 100644 --- a/PartyModeChallenge/PartyScreenChallengeMain.cs +++ b/PartyModeChallenge/PartyScreenChallengeMain.cs @@ -205,6 +205,8 @@ namespace Vocaluxe.PartyModes Buttons[htButtons(ButtonExit)].Visible = true; } + SetInteractionToButton(Buttons[htButtons(ButtonNextRound)]); + ShowPopup(false); } @@ -245,7 +247,8 @@ namespace Vocaluxe.PartyModes Buttons[htButtons(ButtonPopupYes)].Visible = ExitPopupVisible; Buttons[htButtons(ButtonPopupNo)].Visible = ExitPopupVisible; - SetInteractionToButton(Buttons[htButtons(ButtonPopupNo)]); + if (ExitPopupVisible) + SetInteractionToButton(Buttons[htButtons(ButtonPopupNo)]); } private void Back() @@ -282,13 +285,24 @@ namespace Vocaluxe.PartyModes private void UpdateNextPlayerContents() { - SProfile[] profiles = _Base.Profiles.GetProfiles(); - for (int i = 0; i < GameState.NumPlayerAtOnce; i++) + if (GameState.CurrentRoundNr <= GameState.Combs.Count) { - int pid = GameState.Combs[GameState.CurrentRoundNr - 1].Player[i]; - NextPlayerStatics[i].Texture = profiles[GameState.ProfileIDs[pid]].Avatar.Texture; - NextPlayerTexts[i].Text = profiles[GameState.ProfileIDs[pid]].PlayerName; - NextPlayerTexts[i].Color = _Base.Theme.GetPlayerColor((i+1)); + SProfile[] profiles = _Base.Profiles.GetProfiles(); + for (int i = 0; i < GameState.NumPlayerAtOnce; i++) + { + int pid = GameState.Combs[GameState.CurrentRoundNr - 1].Player[i]; + NextPlayerStatics[i].Texture = profiles[GameState.ProfileIDs[pid]].Avatar.Texture; + NextPlayerTexts[i].Text = profiles[GameState.ProfileIDs[pid]].PlayerName; + NextPlayerTexts[i].Color = _Base.Theme.GetPlayerColor((i + 1)); + } + } + else + { + for (int i = 0; i < GameState.NumPlayerAtOnce; i++) + { + NextPlayerStatics[i].Visible = false; + NextPlayerTexts[i].Visible = false; + } } } @@ -315,7 +329,7 @@ namespace Vocaluxe.PartyModes row.SingPoints.Y += delta * (i + 1); row.GamePoints.Y += delta * (i + 1); - row.Pos.Text = (i + 1).ToString() + ")"; + row.Pos.Text = (i + 1).ToString() + "."; row.Pos.Visible = false; row.Name.Visible = false;