pull some stuff out of the header

This commit is contained in:
Glenn Maynard
2002-12-17 21:14:45 +00:00
parent e92ee9f791
commit e0b058d76b
2 changed files with 9 additions and 9 deletions
+7
View File
@@ -20,7 +20,14 @@
#include "InputMapper.h"
#include "PrefsManager.h"
GameButton GameDef::ButtonNameToIndex( const CString &sButtonName )
{
for( int i=0; i<m_iButtonsPerController; i++ )
if( stricmp(m_szButtonNames[i], sButtonName) == 0 )
return i;
return GAME_BUTTON_INVALID;
}
MenuInput GameDef::GameInputToMenuInput( GameInput GameI ) const
{