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
*.user
*.VC.opendb
*:VC.db
*.VC.db
/*.vsp
/*.ctl
/Output/Config.xml
@@ -67,3 +67,5 @@ tx.exe
/packages
/Output/x64
/Output/x86
/PitchTracker/bin
/PitchTracker/obj
@@ -149,8 +149,7 @@ namespace VocaluxeLib.PartyModes.ChallengeRounds
if (lastRounds.ContainsKey(key))
{
lastRounds.TryGetValue(key, out lastRound);
lastRound = lastRounds[key];
int first = lastRound.First();
lastRound.RemoveAt(0);
@@ -57,9 +57,14 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<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\
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>
<!-- 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.
+12 -1
View File
@@ -432,9 +432,20 @@ namespace VocaluxeLib
}
public enum ERecordStyle
{
{
/// <summary
/// Show only the best Record per Player
/// </summary>
RECORDSTYLE_SINGLE,
/// <summary
/// Show only the best Record per Player per Difficulty
/// </summary>
RECORDSTYLE_DIFFICULTY,
/// <summary
/// Show the best Records independent from Players
/// </summary>
RECORDSTYLE_ALL
}
}
@@ -97,11 +97,10 @@ namespace VocaluxeLib.Menu.SongMenu
/// Number of visible Records
/// </summary>
public int NumRecords;
/*<summary>
RECORDSTYLE_ONE = One per Player
RECORDSTYLE_DIFFICULTY = One per Player per Difficulty
RECORDSTYLE_ALL = The best 5 independent from Players
</summary>*/
/// <summary>
/// Defines which Records are shown
/// </summary>
public ERecordStyle RecordStyle;
public SRectF TileRect;