MenuSelect

This commit is contained in:
Glenn Maynard
2005-04-29 06:31:34 +00:00
parent 546b32b9f5
commit 975231ef07
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -146,6 +146,7 @@ void Screen::Input( const DeviceInput& DeviceI, const InputEventType type, const
case MENU_BUTTON_RIGHT: this->MenuRight( MenuI.player, type ); return;
case MENU_BUTTON_BACK: this->MenuBack( MenuI.player, type ); return;
case MENU_BUTTON_START: this->MenuStart( MenuI.player, type ); return;
case MENU_BUTTON_SELECT:this->MenuSelect( MenuI.player, type ); return;
case MENU_BUTTON_COIN: this->MenuCoin( MenuI.player, type ); return;
}
}
+2
View File
@@ -63,6 +63,7 @@ public:
virtual void MenuLeft( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuLeft(pn); }
virtual void MenuRight( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuRight(pn); }
virtual void MenuStart( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuStart(pn); }
virtual void MenuSelect( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuSelect(pn); }
virtual void MenuBack( PlayerNumber pn, const InputEventType type );
virtual void MenuCoin( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuCoin(pn); }
@@ -71,6 +72,7 @@ public:
virtual void MenuLeft( PlayerNumber pn ) {}
virtual void MenuRight( PlayerNumber pn ) {}
virtual void MenuStart( PlayerNumber pn ) {}
virtual void MenuSelect( PlayerNumber pn ) {}
virtual void MenuBack( PlayerNumber pn ) {}
virtual void MenuCoin( PlayerNumber pn );
};