PlayerNumber -> IEP.

This commit is contained in:
Steve Checkoway
2006-09-15 01:13:39 +00:00
parent 416a5e3ddc
commit 7dc2867dd2
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -708,8 +708,12 @@ float ScreenSelectMaster::DoMenuStart( PlayerNumber pn )
return fSecs;
}
void ScreenSelectMaster::MenuStart( PlayerNumber pn )
void ScreenSelectMaster::MenuStart( const InputEventPlus &input )
{
if( input.type != IET_FIRST_PRESS )
return;
PlayerNumber pn = input.pn;
// If the player isn't already joined, try to join them.
// Allow a player to join even if input is locked or someone has already already chosen.
Screen::JoinInput( pn );
+1 -1
View File
@@ -34,7 +34,7 @@ public:
virtual void MenuRight( const InputEventPlus &input );
virtual void MenuUp( const InputEventPlus &input );
virtual void MenuDown( const InputEventPlus &input );
virtual void MenuStart( PlayerNumber pn );
virtual void MenuStart( const InputEventPlus &input );
virtual void TweenOnScreen();
virtual void TweenOffScreen();