InputEventPlus

This commit is contained in:
Glenn Maynard
2006-09-14 21:25:06 +00:00
parent 3f96734e6c
commit c8749f500d
6 changed files with 25 additions and 25 deletions
+6 -6
View File
@@ -61,21 +61,21 @@ void ScreenBookkeeping::Input( const InputEventPlus &input )
Screen::Input( input ); // default handler
}
void ScreenBookkeeping::MenuLeft( PlayerNumber pn )
void ScreenBookkeeping::MenuLeft( const InputEventPlus &input )
{
m_View = (View)(m_View-1);
CLAMP( (int&)m_View, 0, NUM_VIEWS-1 );
ChangeView( m_View );
}
void ScreenBookkeeping::MenuRight( PlayerNumber pn )
void ScreenBookkeeping::MenuRight( const InputEventPlus &input )
{
m_View = (View)(m_View+1);
CLAMP( (int&)m_View, 0, NUM_VIEWS-1 );
ChangeView( m_View );
}
void ScreenBookkeeping::MenuStart( PlayerNumber pn )
void ScreenBookkeeping::MenuStart( const InputEventPlus &input )
{
if( !IsTransitioning() )
{
@@ -84,7 +84,7 @@ void ScreenBookkeeping::MenuStart( PlayerNumber pn )
}
}
void ScreenBookkeeping::MenuBack( PlayerNumber pn )
void ScreenBookkeeping::MenuBack( const InputEventPlus &input )
{
if(!IsTransitioning())
{
@@ -93,11 +93,11 @@ void ScreenBookkeeping::MenuBack( PlayerNumber pn )
}
}
void ScreenBookkeeping::MenuCoin( PlayerNumber pn )
void ScreenBookkeeping::MenuCoin( const InputEventPlus &input )
{
ChangeView( m_View );
Screen::MenuCoin( pn );
Screen::MenuCoin( input );
}
static LocalizedString ALL_TIME ( "ScreenBookkeeping", "All-time Total:" );