From 7da7f3af1803fe1027f78f8276895fef79a1e9ab Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 13 Sep 2006 01:33:04 +0000 Subject: [PATCH] remove unused --- stepmania/src/InputMapper.cpp | 8 -------- stepmania/src/InputMapper.h | 1 - 2 files changed, 9 deletions(-) diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index b9840d0e44..c3cc9b074c 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -771,14 +771,6 @@ bool InputMapper::GameToDevice( const GameInput &GameI, int iSoltNum, DeviceInpu return DeviceI.device != DEVICE_NONE; } -StyleInput InputMapper::GameToStyle( const GameInput &GameI ) -{ - if( GAMESTATE->m_pCurStyle == NULL ) - return StyleInput_INVALID; - - return GAMESTATE->m_pCurStyle->GameInputToStyleInput( GameI ); -} - void InputMapper::GameToMenu( const GameInput &GameI, MenuInput &MenuI ) { const Game* pGame = GAMESTATE->GetCurrentGame(); diff --git a/stepmania/src/InputMapper.h b/stepmania/src/InputMapper.h index bf268445e7..530d62cace 100644 --- a/stepmania/src/InputMapper.h +++ b/stepmania/src/InputMapper.h @@ -38,7 +38,6 @@ public: bool DeviceToGame( const DeviceInput &DeviceI, GameInput& GameI ); // return true if there is a mapping from device to pad bool GameToDevice( const GameInput &GameI, int iSoltNum, DeviceInput& DeviceI ); // return true if there is a mapping from pad to device - StyleInput GameToStyle( const GameInput &GameI ); void StyleToGame( const StyleInput &StyleI, PlayerNumber pn, GameInput &GameI ); void GameToMenu( const GameInput &GameI, MenuInput &MenuI );