[ScreenSelectMaster] Add "ScreenEmpty" param to MenuStartP# when the GameCommand doesn't set a screen.

This commit is contained in:
AJ Kelly
2011-05-14 22:41:32 -05:00
parent dc143c58e6
commit afaa711038
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -10,6 +10,8 @@ StepMania 5.0 $NEXT | 20110xyy
2011/05/14
----------
* [ScreenSelectMaster] Add "ScreenEmpty" param to MenuStartP# when the GameCommand
doesn't set a screen. [AJ]
* [StepsDisplay] Added MeterFormatString metric. [AJ]
* [MusicWheel] Added ShowSectionsInBPMSort and ShowSectionsInLengthSort metrics. [AJ]
* [ScreenEvaluation] Stop the Bonus bars from overflowing in course modes. [AJ]
+3 -2
View File
@@ -812,8 +812,9 @@ void ScreenSelectMaster::MenuStart( const InputEventPlus &input )
mc.ApplyToAllPlayers();
// We want to be able to broadcast a Start message to the theme, in
// case a themer wants to handle something. -aj
// TODO: Add a param to differentiate this from the message below.
MESSAGEMAN->Broadcast( (MessageID)(Message_MenuStartP1+pn) );
Message msg( MessageIDToString((MessageID)(Message_MenuStartP1+pn)) );
msg.SetParam( "ScreenEmpty", true );
MESSAGEMAN->Broadcast( msg );
return;
}