[default -> loading window] Hye look, another merge.

This commit is contained in:
Henrik Andersson
2011-07-12 21:45:49 +02:00
4 changed files with 24 additions and 5 deletions
+5 -5
View File
@@ -39,7 +39,7 @@ WeightW2=30
WeightW1=50
[Skill5]
WeightMiss=
WeightMiss=8
WeightW5=1
WeightW4=1
WeightW3=5
@@ -47,9 +47,9 @@ WeightW2=30
WeightW1=55
[Skill6]
WeightMiss=0
WeightW5=0
WeightW4=0
WeightMiss=8
WeightW5=1
WeightW4=1
WeightW3=5
WeightW2=30
WeightW1=70
WeightW1=55
+7
View File
@@ -8,6 +8,13 @@ ________________________________________________________________________________
StepMania 5.0 ????????? | 20110???
--------------------------------------------------------------------------------
2011/07/12
----------
* [OptionRowHandler] Add a new metric to ScreenOptionsMaster:
StepsUseChartName. Use this if you want your charts to have a unique name
in the options menu. If there is no #CHARTNAME or it is "Blank", it reverts
to the original behavior. This metric is false by default. [Wolfman2000]
2011/07/09
----------
* [NotesTheUsual] Update the #COMBOS tag to allow for a Miss Combo attribute.
+1
View File
@@ -2091,6 +2091,7 @@ OptionRowExitMetricsGroup="OptionRowExit"
Fallback="ScreenOptions"
Class="ScreenOptionsMaster"
NoteSkinSortOrder=""
StepsUseChartName=false
# ExitItem is an exit row with the "Exit" text as a menu item; ExitTitle
# uses the menu title.
+11
View File
@@ -28,6 +28,7 @@
#define ENTRY_MODE(s,i) THEME->GetMetric ("ScreenOptionsMaster",ssprintf("%s,%i",(s).c_str(),(i+1)))
#define ENTRY_DEFAULT(s) THEME->GetMetric ("ScreenOptionsMaster",(s) + "Default")
#define NOTE_SKIN_SORT_ORDER THEME->GetMetric ("ScreenOptionsMaster","NoteSkinSortOrder")
#define STEPS_USE_CHART_NAME THEME->GetMetricB("ScreenOptionsMaster","StepsUseChartName")
static const char *SelectTypeNames[] = {
"SelectOne",
@@ -449,6 +450,15 @@ class OptionRowHandlerListSteps : public OptionRowHandlerList
Steps* pSteps = vpSteps[i];
RString s;
if (STEPS_USE_CHART_NAME)
{
s = pSteps->GetChartName();
// TODO: find a way to make this use lua.
if (!(s == "" || s == "blank" || s == "Blank"))
{
goto nameGotten;
}
}
if( pSteps->GetDifficulty() == Difficulty_Edit )
{
s = pSteps->GetDescription();
@@ -460,6 +470,7 @@ class OptionRowHandlerListSteps : public OptionRowHandlerList
else
s = CustomDifficultyToLocalizedString( GetCustomDifficulty( pSteps->m_StepsType, pSteps->GetDifficulty(), CourseType_Invalid ) );
}
nameGotten:
s += ssprintf( " %d", pSteps->GetMeter() );
m_Def.m_vsChoices.push_back( s );
GameCommand mc;