diff --git a/Output/Themes/Ambient/Screens/ScreenOptionsVideo.xml b/Output/Themes/Ambient/Screens/ScreenOptionsVideo.xml index 0bacb58b..fbdb6be8 100644 --- a/Output/Themes/Ambient/Screens/ScreenOptionsVideo.xml +++ b/Output/Themes/Ambient/Screens/ScreenOptionsVideo.xml @@ -497,13 +497,13 @@ 50 505 - 225 + 285 0,00 40 40 1170 - 225 + 285 0,00 40 40 @@ -540,4 +540,4 @@ 3 - \ No newline at end of file + diff --git a/Vocaluxe/Lib/Song/CSong.cs b/Vocaluxe/Lib/Song/CSong.cs index f325d691..6e7ff885 100644 --- a/Vocaluxe/Lib/Song/CSong.cs +++ b/Vocaluxe/Lib/Song/CSong.cs @@ -46,6 +46,11 @@ namespace Vocaluxe.Lib.Song get { return _CoverLoaded; } } + public bool NotesLoaded + { + get { return _NotesLoaded; } + } + public bool CoverBigLoaded = false; public bool BackgroundLoaded = false; diff --git a/Vocaluxe/Screens/CScreenScore.cs b/Vocaluxe/Screens/CScreenScore.cs index 21b0a92f..6bf09ce0 100644 --- a/Vocaluxe/Screens/CScreenScore.cs +++ b/Vocaluxe/Screens/CScreenScore.cs @@ -258,7 +258,16 @@ namespace Vocaluxe.Screens player = _Points.GetPlayer(_Round - 1, CGame.NumPlayer); for (int p = 0; p < player.Length; p++) { - Texts[htTexts(TextNames[p, CGame.NumPlayer - 1])].Text = player[p].Name; + if (!song.IsDuet) + Texts[htTexts(TextNames[p, CGame.NumPlayer - 1])].Text = player[p].Name; + else + if(player[p].LineNr == 0 && song.DuetPart1 != "Part 1") + Texts[htTexts(TextNames[p, CGame.NumPlayer - 1])].Text = player[p].Name + " (" + song.DuetPart1 + ")"; + else if(player[p].LineNr == 1 && song.DuetPart2 != "Part 2") + Texts[htTexts(TextNames[p, CGame.NumPlayer - 1])].Text = player[p].Name + " (" + song.DuetPart2 + ")"; + else + Texts[htTexts(TextNames[p, CGame.NumPlayer - 1])].Text = player[p].Name; + Texts[htTexts(TextScores[p, CGame.NumPlayer - 1])].Text = ((int)Math.Round(player[p].Points)).ToString("0000") + " " + CLanguage.Translate("TR_SCREENSCORE_POINTS"); if (CGame.NumPlayer <= 3) { diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index e21708f7..6678bd87 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -937,9 +937,11 @@ namespace Vocaluxe.Screens float dt = 4f; float rt = dt * 0.8f; - CSong Song = CGame.GetSong(); + CSong Song = CGame.GetSong(); if (Song == null) return null; + else if (!Song.NotesLoaded) + return null; float[] Alpha = new float[Song.Notes.Lines.Length * 2]; CLines[] lines = new CLines[Song.Notes.Lines.Length];