[ScreenSelectMusic] Added PlaySoundOnEnteringOptionsMenu metric (true/false).
This commit is contained in:
@@ -14,6 +14,7 @@ StepMania 5.0 alpha 2 | 20120???
|
|||||||
* [MemoryCardManager] Disable Memory Cards by default. If you want to use them,
|
* [MemoryCardManager] Disable Memory Cards by default. If you want to use them,
|
||||||
set MemoryCards=1 in Save/Preferences.ini (or Save/Static.ini). [AJ]
|
set MemoryCards=1 in Save/Preferences.ini (or Save/Static.ini). [AJ]
|
||||||
* [GameState] Set Premium to Premium_DoubleFor1Credit by default. [AJ]
|
* [GameState] Set Premium to Premium_DoubleFor1Credit by default. [AJ]
|
||||||
|
* [ScreenSelectMusic] Added PlaySoundOnEnteringOptionsMenu metric. [AJ]
|
||||||
|
|
||||||
StepMania 5.0 alpha 1a | 20120219
|
StepMania 5.0 alpha 1a | 20120219
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -2014,6 +2014,7 @@ SelectMenuAvailable=false
|
|||||||
ModeMenuAvailable=true
|
ModeMenuAvailable=true
|
||||||
#
|
#
|
||||||
ShowOptionsMessageSeconds=1.5
|
ShowOptionsMessageSeconds=1.5
|
||||||
|
PlaySoundOnEnteringOptionsMenu=true
|
||||||
#
|
#
|
||||||
ScreenModsCommand=setupmusicstagemods
|
ScreenModsCommand=setupmusicstagemods
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ void ScreenSelectMusic::Init()
|
|||||||
TWO_PART_TIMER_SECONDS.Load( m_sName, "TwoPartTimerSeconds" );
|
TWO_PART_TIMER_SECONDS.Load( m_sName, "TwoPartTimerSeconds" );
|
||||||
WRAP_CHANGE_STEPS.Load( m_sName, "WrapChangeSteps" );
|
WRAP_CHANGE_STEPS.Load( m_sName, "WrapChangeSteps" );
|
||||||
NULL_SCORE_STRING.Load( m_sName, "NullScoreString" );
|
NULL_SCORE_STRING.Load( m_sName, "NullScoreString" );
|
||||||
|
PLAY_SOUND_ON_ENTERING_OPTIONS_MENU.Load( m_sName, "PlaySoundOnEnteringOptionsMenu" );
|
||||||
// To allow changing steps with gamebuttons -DaisuMaster
|
// To allow changing steps with gamebuttons -DaisuMaster
|
||||||
CHANGE_STEPS_WITH_GAME_BUTTONS.Load( m_sName, "ChangeStepsWithGameButtons" );
|
CHANGE_STEPS_WITH_GAME_BUTTONS.Load( m_sName, "ChangeStepsWithGameButtons" );
|
||||||
CHANGE_GROUPS_WITH_GAME_BUTTONS.Load( m_sName, "ChangeGroupsWithGameButtons" );
|
CHANGE_GROUPS_WITH_GAME_BUTTONS.Load( m_sName, "ChangeGroupsWithGameButtons" );
|
||||||
@@ -437,6 +438,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_bGoToOptions = true;
|
m_bGoToOptions = true;
|
||||||
|
if( PLAY_SOUND_ON_ENTERING_OPTIONS_MENU )
|
||||||
m_soundStart.Play();
|
m_soundStart.Play();
|
||||||
this->PlayCommand( "ShowEnteringOptions" );
|
this->PlayCommand( "ShowEnteringOptions" );
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ protected:
|
|||||||
ThemeMetric<bool> CHANGE_STEPS_WITH_GAME_BUTTONS;
|
ThemeMetric<bool> CHANGE_STEPS_WITH_GAME_BUTTONS;
|
||||||
ThemeMetric<bool> CHANGE_GROUPS_WITH_GAME_BUTTONS;
|
ThemeMetric<bool> CHANGE_GROUPS_WITH_GAME_BUTTONS;
|
||||||
ThemeMetric<RString> NULL_SCORE_STRING;
|
ThemeMetric<RString> NULL_SCORE_STRING;
|
||||||
|
ThemeMetric<bool> PLAY_SOUND_ON_ENTERING_OPTIONS_MENU;
|
||||||
|
|
||||||
bool CanChangeSong() const { return m_SelectionState == SelectionState_SelectingSong; }
|
bool CanChangeSong() const { return m_SelectionState == SelectionState_SelectingSong; }
|
||||||
bool CanChangeSteps() const { return TWO_PART_SELECTION ? m_SelectionState == SelectionState_SelectingSteps : m_SelectionState == SelectionState_SelectingSong; }
|
bool CanChangeSteps() const { return TWO_PART_SELECTION ? m_SelectionState == SelectionState_SelectingSteps : m_SelectionState == SelectionState_SelectingSong; }
|
||||||
|
|||||||
Reference in New Issue
Block a user