weekend checkin

This commit is contained in:
Chris Danford
2002-06-14 22:25:22 +00:00
parent bfc327df13
commit 0bc6e1ec7e
94 changed files with 2375 additions and 1241 deletions
+7 -1
View File
@@ -41,7 +41,7 @@ void InputMapper::ReadMappingsFromDisk()
ini.SetPath( m_sCurrentGame + ".ini" );
if( !ini.ReadFile() ) {
return; // load nothing
//FatalError( "could not read config file" );
//throw RageException( "could not read config file" );
}
CMapStringToString* pKey = ini.GetKeyPointer("Input");
@@ -235,6 +235,12 @@ DeviceInput InputMapper::MenuToDevice( MenuInput MenuI )
void InputMapper::GameToStyle( GameInput GameI, StyleInput &StyleI )
{
if( GAMEMAN->m_CurStyle == STYLE_NONE )
{
StyleI.MakeBlank();
return;
}
StyleDef* pStyleDef = GAMEMAN->GetCurrentStyleDef();
StyleI = pStyleDef->GameInputToStyleInput( GameI );
}