fromString -> FromString

toString -> ToString const
This commit is contained in:
Steve Checkoway
2006-09-02 20:24:39 +00:00
parent cff13747a6
commit 74ad63769f
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -35,12 +35,12 @@ GameButton StringToGameButton( const Game* pGame, const RString& s )
}
RString GameInput::toString( const Game* pGame )
RString GameInput::ToString( const Game* pGame ) const
{
return GameControllerToString(controller) + RString("_") + GameButtonToString(pGame,button);
}
bool GameInput::fromString( const Game* pGame, RString s )
bool GameInput::FromString( const Game* pGame, const RString &s )
{
char szController[32] = "";
char szButton[32] = "";