add pre-parsing for ActorCommands (though not yet used in ThemeManager)

This commit is contained in:
Chris Danford
2004-01-10 20:34:18 +00:00
parent 7c6321d4a8
commit f7647ae391
15 changed files with 66 additions and 120 deletions
+3 -3
View File
@@ -980,7 +980,7 @@ int Model::GetNumStates()
return iMaxStates;
}
void Model::HandleCommand( const CStringArray &asTokens )
void Model::HandleCommand( const ParsedCommand &command )
{
HandleParams;
@@ -1004,12 +1004,12 @@ void Model::HandleCommand( const CStringArray &asTokens )
* tween queue.
*/
const CString& sName = asTokens[0];
const CString& sName = sParam(0);
if( sName=="play" )
PlayAnimation( sParam(1),fParam(2) );
else
{
Actor::HandleCommand( asTokens );
Actor::HandleCommand( command );
return;
}