MenuSelect
This commit is contained in:
@@ -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_RIGHT: this->MenuRight( MenuI.player, type ); return;
|
||||||
case MENU_BUTTON_BACK: this->MenuBack( 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_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;
|
case MENU_BUTTON_COIN: this->MenuCoin( MenuI.player, type ); return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ public:
|
|||||||
virtual void MenuLeft( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuLeft(pn); }
|
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 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 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 MenuBack( PlayerNumber pn, const InputEventType type );
|
||||||
virtual void MenuCoin( PlayerNumber pn, const InputEventType type ) { if(type==IET_FIRST_PRESS) MenuCoin(pn); }
|
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 MenuLeft( PlayerNumber pn ) {}
|
||||||
virtual void MenuRight( PlayerNumber pn ) {}
|
virtual void MenuRight( PlayerNumber pn ) {}
|
||||||
virtual void MenuStart( PlayerNumber pn ) {}
|
virtual void MenuStart( PlayerNumber pn ) {}
|
||||||
|
virtual void MenuSelect( PlayerNumber pn ) {}
|
||||||
virtual void MenuBack( PlayerNumber pn ) {}
|
virtual void MenuBack( PlayerNumber pn ) {}
|
||||||
virtual void MenuCoin( PlayerNumber pn );
|
virtual void MenuCoin( PlayerNumber pn );
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user