PartyNames: Added support for no teams.

This commit is contained in:
Florian Küpper committed 2013-12-20 15:57:02 +01:00
1 parent 007999999e
commit 3b7db42a89
6 files changed
+191 -443

No files matched your search

@@ -70,6 +70,12 @@ namespace VocaluxeLib.Menu
CBase.Profiles.AddProfileChangedCallback(_OnProfileChanged);
}
public void SetPartyModeData(int numPlayer)
{
SetPartyModeData(1, numPlayer, new int[] { numPlayer });
_CurrentTeam = 0;
}
public void SetPartyModeData(int numTeams, int numPlayer, int[] numPlayerTeams)
{
_NumTeams = numTeams;
@@ -357,6 +363,7 @@ namespace VocaluxeLib.Menu
base.LoadTheme(xmlPath);
_SelectSlides[_SelectSlidePlayer].WithTextures = true;
_SelectSlides[_SelectSlidePlayer].SelectionByHover = true;
_SelectSlides[_SelectSlideTeams].Visible = _Teams;
}
public override bool UpdateGame()