remove transition
This commit is contained in:
@@ -778,8 +778,6 @@ void InputMapper::GameToMenu( const GameInput &GameI, MenuInput &MenuI )
|
|||||||
void InputMapper::MenuToGame( const MenuInput &MenuI, PlayerNumber pn, GameInput GameIout[4] )
|
void InputMapper::MenuToGame( const MenuInput &MenuI, PlayerNumber pn, GameInput GameIout[4] )
|
||||||
{
|
{
|
||||||
const Game* pGame = GAMESTATE->GetCurrentGame();
|
const Game* pGame = GAMESTATE->GetCurrentGame();
|
||||||
if( pn == PLAYER_INVALID )
|
|
||||||
pn = MenuI.button;
|
|
||||||
pGame->MenuInputToGameInput( MenuI, pn, GameIout );
|
pGame->MenuInputToGameInput( MenuI, pn, GameIout );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,13 +41,13 @@ public:
|
|||||||
PlayerNumber ControllerToPlayerNumber( GameController controller );
|
PlayerNumber ControllerToPlayerNumber( GameController controller );
|
||||||
|
|
||||||
float GetSecsHeld( const GameInput &GameI, MultiPlayer mp = MultiPlayer_INVALID );
|
float GetSecsHeld( const GameInput &GameI, MultiPlayer mp = MultiPlayer_INVALID );
|
||||||
float GetSecsHeld( const MenuInput &MenuI, PlayerNumber pn = PLAYER_INVALID );
|
float GetSecsHeld( const MenuInput &MenuI, PlayerNumber pn );
|
||||||
|
|
||||||
bool IsBeingPressed( const GameInput &GameI, MultiPlayer mp = MultiPlayer_INVALID, const DeviceInputList *pButtonState = NULL );
|
bool IsBeingPressed( const GameInput &GameI, MultiPlayer mp = MultiPlayer_INVALID, const DeviceInputList *pButtonState = NULL );
|
||||||
bool IsBeingPressed( const MenuInput &MenuI, PlayerNumber pn = PLAYER_INVALID );
|
bool IsBeingPressed( const MenuInput &MenuI, PlayerNumber pn );
|
||||||
|
|
||||||
void ResetKeyRepeat( const GameInput &GameI );
|
void ResetKeyRepeat( const GameInput &GameI );
|
||||||
void ResetKeyRepeat( const MenuInput &MenuI, PlayerNumber pn = PLAYER_INVALID );
|
void ResetKeyRepeat( const MenuInput &MenuI, PlayerNumber pn );
|
||||||
|
|
||||||
struct Mapping
|
struct Mapping
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user