const fix
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#include "InputMapper.h"
|
#include "InputMapper.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
|
|
||||||
GameButton GameDef::ButtonNameToIndex( const CString &sButtonName )
|
GameButton GameDef::ButtonNameToIndex( const CString &sButtonName ) const
|
||||||
{
|
{
|
||||||
for( int i=0; i<m_iButtonsPerController; i++ )
|
for( int i=0; i<m_iButtonsPerController; i++ )
|
||||||
if( stricmp(m_szButtonNames[i], sButtonName) == 0 )
|
if( stricmp(m_szButtonNames[i], sButtonName) == 0 )
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public:
|
|||||||
GameButton m_SecondaryMenuButton[NUM_MENU_BUTTONS];
|
GameButton m_SecondaryMenuButton[NUM_MENU_BUTTONS];
|
||||||
int m_iDefaultKeyboardKey[MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS]; // default keyboard keys only have an effect the current game is this game
|
int m_iDefaultKeyboardKey[MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS]; // default keyboard keys only have an effect the current game is this game
|
||||||
|
|
||||||
GameButton ButtonNameToIndex( const CString &sButtonName );
|
GameButton ButtonNameToIndex( const CString &sButtonName ) const;
|
||||||
MenuInput GameInputToMenuInput( GameInput GameI ) const;
|
MenuInput GameInputToMenuInput( GameInput GameI ) const;
|
||||||
void MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const;
|
void MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user