Ein paar kleine Anpassungen

This commit is contained in:
Pr3di committed 2016-11-21 17:40:37 +01:00
1 parent 07afe7f48c
commit 5cd5b7b229
5 files changed
+26 -10

No files matched your search

+3 -1
View File
@@ -29,7 +29,7 @@ tx.exe
*.userprefs *.userprefs
*.user *.user
*.VC.opendb *.VC.opendb
*:VC.db *.VC.db
/*.vsp /*.vsp
/*.ctl /*.ctl
/Output/Config.xml /Output/Config.xml
@@ -67,3 +67,5 @@ tx.exe
/packages /packages
/Output/x64 /Output/x64
/Output/x86 /Output/x86
/PitchTracker/bin
/PitchTracker/obj
@@ -149,8 +149,7 @@ namespace VocaluxeLib.PartyModes.ChallengeRounds
if (lastRounds.ContainsKey(key)) if (lastRounds.ContainsKey(key))
{ {
lastRound = lastRounds[key];
lastRounds.TryGetValue(key, out lastRound);
int first = lastRound.First(); int first = lastRound.First();
lastRound.RemoveAt(0); lastRound.RemoveAt(0);
@@ -57,9 +57,14 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>if exist "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" rd "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" /S /Q <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">if exist "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" rd "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" /S /Q
cd $(SolutionDir)Partymodes\ cd $(SolutionDir)Partymodes\
xcopy "$(ProjectDir)*.cs" "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" /EXCLUDE:Excludes.txt /I /Y</PostBuildEvent> xcopy "$(ProjectDir)*.cs" "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" /EXCLUDE:Excludes.txt /I /Y</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">rm -rf "$(SolutionDir)Output\PartyModes\$(TargetName)\Code"
mkdir -p "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\"
cp -R $(ProjectDir)*.cs "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\"
rm -f "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\GlobalSuppressions.cs"
</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
+12 -1
View File
@@ -432,9 +432,20 @@ namespace VocaluxeLib
} }
public enum ERecordStyle public enum ERecordStyle
{ {
/// <summary
/// Show only the best Record per Player
/// </summary>
RECORDSTYLE_SINGLE, RECORDSTYLE_SINGLE,
/// <summary
/// Show only the best Record per Player per Difficulty
/// </summary>
RECORDSTYLE_DIFFICULTY, RECORDSTYLE_DIFFICULTY,
/// <summary
/// Show the best Records independent from Players
/// </summary>
RECORDSTYLE_ALL RECORDSTYLE_ALL
} }
} }
@@ -97,11 +97,10 @@ namespace VocaluxeLib.Menu.SongMenu
/// Number of visible Records /// Number of visible Records
/// </summary> /// </summary>
public int NumRecords; public int NumRecords;
/*<summary>
RECORDSTYLE_ONE = One per Player /// <summary>
RECORDSTYLE_DIFFICULTY = One per Player per Difficulty /// Defines which Records are shown
RECORDSTYLE_ALL = The best 5 independent from Players /// </summary>
</summary>*/
public ERecordStyle RecordStyle; public ERecordStyle RecordStyle;
public SRectF TileRect; public SRectF TileRect;