* [ScreenSelectMaster] Now updates choices on player join; will move the scroller to the correct location, but the GainFocus/LoseFocus commands don't seem to work yet.
This commit is contained in:
@@ -6,9 +6,15 @@ ________________________________________________________________________________
|
||||
|
||||
================================================================================
|
||||
|
||||
StepMania 5.0 alpha 2 | 20120???
|
||||
StepMania 5.0 alpha 2 | 201203??
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2012/03/07
|
||||
----------
|
||||
* [ScreenSelectMaster] Now updates choices on player join; it will move the
|
||||
scroller to the correct location, but the GainFocus/LoseFocus commands don't
|
||||
seem to work. [AJ]
|
||||
|
||||
2012/03/05
|
||||
----------
|
||||
* [GameCommand] Added GetDifficulty(), GetCourseDifficulty(), GetPlayMode(),
|
||||
|
||||
@@ -334,6 +334,16 @@ void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenSelectMaster::HandleMessage( const Message &msg )
|
||||
{
|
||||
if ( msg == Message_PlayerJoined )
|
||||
{
|
||||
UpdateSelectableChoices();
|
||||
}
|
||||
|
||||
ScreenSelect::HandleMessage( msg );
|
||||
}
|
||||
|
||||
int ScreenSelectMaster::GetSelectionIndex( PlayerNumber pn )
|
||||
{
|
||||
return m_iChoice[pn];
|
||||
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
virtual void TweenOffScreen();
|
||||
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
virtual void HandleMessage( const Message &msg );
|
||||
virtual bool AllowLateJoin() const { return true; }
|
||||
|
||||
// sm-ssc additions:
|
||||
|
||||
Reference in New Issue
Block a user