From b0b3c09ab48db1832827fbbab758bc43dcaa71fb Mon Sep 17 00:00:00 2001 From: Flamefire Date: Sun, 24 Mar 2013 16:46:59 +0100 Subject: [PATCH] Bugfix to make it .Net2 compiler compliant Bugfix to allow spaces in project dir --- .../PartyModeChallenge/PartyModeChallenge.cs | 22 +++++++++---------- .../PartyModeChallenge.csproj | 3 ++- .../PartyScreenChallengeConfig.cs | 4 ++-- .../PartyScreenChallengeMain.cs | 6 ++--- .../PartyScreenChallengeNames.cs | 2 +- .../PartyModeChallengeMedley.cs | 22 +++++++++---------- .../PartyModeChallengeMedley.csproj | 3 ++- .../PartyScreenChallengeMedleyConfig.cs | 4 ++-- .../PartyScreenChallengeMedleyMain.cs | 6 ++--- .../PartyScreenChallengeMedleyNames.cs | 2 +- .../PartyModeTicTacToe/PartyModeTicTacToe.cs | 4 ++-- .../PartyModeTicTacToe.csproj | 3 ++- .../PartyScreenTicTacToeConfig.cs | 4 ++-- .../PartyScreenTicTacToeMain.cs | 6 ++--- .../PartyScreenTicTacToeNames.cs | 2 +- Re#Settings.DotSettings | 11 ++++++++-- Vocaluxe/Base/CParty.cs | 4 ++-- Vocaluxe/Base/CSongFilter.cs | 2 +- Vocaluxe/Lib/Input/WiiMote/WiiMoteLib.cs | 2 +- Vocaluxe/Lib/Sound/Portaudio/PortAudioASIO.cs | 3 --- Vocaluxe/Program.cs | 2 +- Vocaluxe/Screens/CPopupScreenPlayerControl.cs | 4 ++-- Vocaluxe/Screens/CPopupScreenVolumeControl.cs | 6 ++--- Vocaluxe/Screens/CScreenCredits.cs | 8 +++---- Vocaluxe/Screens/CScreenLoad.cs | 4 ++-- Vocaluxe/Screens/CScreenMain.cs | 8 +++---- Vocaluxe/Screens/CScreenNames.cs | 11 +++++----- Vocaluxe/Screens/CScreenOptions.cs | 2 +- Vocaluxe/Screens/CScreenOptionsGame.cs | 4 ++-- Vocaluxe/Screens/CScreenOptionsLyrics.cs | 4 ++-- Vocaluxe/Screens/CScreenOptionsRecord.cs | 10 ++++----- Vocaluxe/Screens/CScreenOptionsSound.cs | 10 ++++----- Vocaluxe/Screens/CScreenOptionsTheme.cs | 4 ++-- Vocaluxe/Screens/CScreenOptionsVideo.cs | 6 ++--- Vocaluxe/Screens/CScreenParty.cs | 6 ++--- Vocaluxe/Screens/CScreenProfiles.cs | 7 +++--- Vocaluxe/Screens/CScreenScore.cs | 2 +- Vocaluxe/Screens/CScreenSing.cs | 19 ++++++++-------- Vocaluxe/Screens/CScreenSong.cs | 8 +++---- VocaluxeLib/Menu/CSelectSlide.cs | 2 +- VocaluxeLib/Menu/SongMenu/CSong.cs | 2 +- 41 files changed, 126 insertions(+), 118 deletions(-) diff --git a/PartyModes/PartyModeChallenge/PartyModeChallenge.cs b/PartyModes/PartyModeChallenge/PartyModeChallenge.cs index 2725a680..2b248af1 100644 --- a/PartyModes/PartyModeChallenge/PartyModeChallenge.cs +++ b/PartyModes/PartyModeChallenge/PartyModeChallenge.cs @@ -149,8 +149,8 @@ namespace VocaluxeLib.PartyModes.Challenge _ScreenSongOptions.Selection.RandomOnly = false; _ScreenSongOptions.Selection.PartyMode = true; _ScreenSongOptions.Selection.CategoryChangeAllowed = true; - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; _ScreenSongOptions.Sorting.SearchString = String.Empty; _ScreenSongOptions.Sorting.SearchActive = false; @@ -501,30 +501,30 @@ namespace VocaluxeLib.PartyModes.Challenge switch (GameData.NumPlayerAtOnce) { case 1: - _ScreenSongOptions.Selection.NumJokers = new[] {10}; + _ScreenSongOptions.Selection.NumJokers = new int[] {10}; break; case 2: - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; break; case 3: - _ScreenSongOptions.Selection.NumJokers = new[] {4, 4, 4}; + _ScreenSongOptions.Selection.NumJokers = new int[] {4, 4, 4}; break; case 4: - _ScreenSongOptions.Selection.NumJokers = new[] {3, 3, 3, 3}; + _ScreenSongOptions.Selection.NumJokers = new int[] {3, 3, 3, 3}; break; case 5: - _ScreenSongOptions.Selection.NumJokers = new[] {2, 2, 2, 2, 2}; + _ScreenSongOptions.Selection.NumJokers = new int[] {2, 2, 2, 2, 2}; break; case 6: - _ScreenSongOptions.Selection.NumJokers = new[] {2, 2, 2, 2, 2, 2}; + _ScreenSongOptions.Selection.NumJokers = new int[] {2, 2, 2, 2, 2, 2}; break; default: - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; break; } } @@ -535,13 +535,13 @@ namespace VocaluxeLib.PartyModes.Challenge if (profiles == null) { - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; return; } if (GameData.NumPlayerAtOnce < 1 || GameData.ProfileIDs.Count < GameData.NumPlayerAtOnce || profiles.Length < GameData.NumPlayerAtOnce) { - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; return; } diff --git a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj index 2472f2fa..61103a08 100644 --- a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj +++ b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj @@ -134,7 +134,8 @@ - xcopy $(ProjectDir)*.cs $(SolutionDir)Output\PartyModes\$(TargetName)\Code\ /EXCLUDE:$(ProjectDir)..\Excludes.txt /I /Y + cd $(SolutionDir)Partymodes\ +xcopy "$(ProjectDir)*.cs" "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" /EXCLUDE:Excludes.txt /I /Y