diff --git a/Output/Languages/Deutsch.xml b/Output/Languages/Deutsch.xml
index 3e7113c5..bc25796f 100644
--- a/Output/Languages/Deutsch.xml
+++ b/Output/Languages/Deutsch.xml
@@ -111,7 +111,8 @@
Party-Modus
Beschreibung
Autor
- Version
+ Version
+ Dieser Party-Modus konnte nicht geladen werden.
Spielerauswahl
Spieler
diff --git a/Output/Languages/English.xml b/Output/Languages/English.xml
index 1cc35522..38c545d9 100644
--- a/Output/Languages/English.xml
+++ b/Output/Languages/English.xml
@@ -112,6 +112,7 @@
Description
Author
Version
+ Can't load this party-mode.
Player Selection
Player
diff --git a/Output/Languages/French.xml b/Output/Languages/French.xml
index dd46d362..35ecad41 100644
--- a/Output/Languages/French.xml
+++ b/Output/Languages/French.xml
@@ -111,7 +111,8 @@
TODO: Party Mode
TODO: Description
TODO: Author
- TODO: Version
+ TODO: Version
+ TODO: Can't load this party-mode.
Sélection des joueurs
Joueur
diff --git a/Output/Languages/Spanish.xml b/Output/Languages/Spanish.xml
index 0dfd468f..c5a18bcf 100644
--- a/Output/Languages/Spanish.xml
+++ b/Output/Languages/Spanish.xml
@@ -105,7 +105,8 @@
TODO: Party Mode
TODO: Description
TODO: Author
- TODO: Version
+ TODO: Version
+ TODO: Can't load this party-mode.
Selección de Jugadores
Jugador
diff --git a/Output/Themes/Ambient/Screens/ScreenParty.xml b/Output/Themes/Ambient/Screens/ScreenParty.xml
index 7b334eb2..48703d26 100644
--- a/Output/Themes/Ambient/Screens/ScreenParty.xml
+++ b/Output/Themes/Ambient/Screens/ScreenParty.xml
@@ -264,6 +264,36 @@
+
+
+ 850
+ 345
+
+ 0,00
+
+ 32
+
+ 600
+
+
+ TextWarningColor
+
+
+ TextSColor
+
+ Center
+
+ Center
+
+
+
+ Outline
+
+ TR_SCREENPARTY_ERROR
+
+
+
+
Invisible
diff --git a/Vocaluxe/Screens/CScreenParty.cs b/Vocaluxe/Screens/CScreenParty.cs
index 76c2a028..291ae1da 100644
--- a/Vocaluxe/Screens/CScreenParty.cs
+++ b/Vocaluxe/Screens/CScreenParty.cs
@@ -16,6 +16,7 @@ namespace Vocaluxe.Screens
const string TextDescription = "TextDescription";
const string TextAuthor = "TextAuthor";
const string TextVersion = "TextVersion";
+ const string TextError = "TextError";
const string ButtonStart = "ButtonStart";
const string ButtonExit = "ButtonExit";
const string SelectSlideModes = "SelectSlideModes";
@@ -32,7 +33,7 @@ namespace Vocaluxe.Screens
_ThemeName = "ScreenParty";
_ScreenVersion = ScreenVersion;
- _ThemeTexts = new string[] { TextDescription, TextAuthor, TextVersion };
+ _ThemeTexts = new string[] { TextDescription, TextAuthor, TextVersion, TextError };
_ThemeButtons = new string[] { ButtonStart, ButtonExit };
_ThemeSelectSlides = new string[] { SelectSlideModes };
}
@@ -148,6 +149,17 @@ namespace Vocaluxe.Screens
Texts[htTexts(TextAuthor)].PartyModeID = _PartyModeInfos[index].PartyModeID;
//Texts[htTexts(TextVersion)].Text = _PartyModeInfos[index].
Texts[htTexts(TextVersion)].PartyModeID = _PartyModeInfos[index].PartyModeID;
+
+ if (!_PartyModeInfos[index].Playable)
+ {
+ Buttons[htButtons(ButtonStart)].Visible = false;
+ Texts[htTexts(TextError)].Visible = true;
+ }
+ else
+ {
+ Buttons[htButtons(ButtonStart)].Visible = true;
+ Texts[htTexts(TextError)].Visible = false;
+ }
}
private void StartPartyMode()
@@ -159,8 +171,11 @@ namespace Vocaluxe.Screens
if (index >= _PartyModeInfos.Count)
return;
- CParty.SetPartyMode(_PartyModeInfos[index].PartyModeID);
- CGraphics.FadeTo(EScreens.ScreenPartyDummy);
+ if (_PartyModeInfos[index].Playable)
+ {
+ CParty.SetPartyMode(_PartyModeInfos[index].PartyModeID);
+ CGraphics.FadeTo(EScreens.ScreenPartyDummy);
+ }
}
}
}