preload commands

This commit is contained in:
Chris Danford
2005-02-23 23:04:06 +00:00
parent 2da21b16d4
commit f395d0a401
4 changed files with 48 additions and 29 deletions
+5
View File
@@ -353,6 +353,11 @@ void ActorUtil::RunCommand( Actor& actor, const CString &sType, const CString &s
actor.RunCommands( THEME->GetMetricA(sType,actor.GetID()+sCommandName+"Command") );
}
void ActorUtil::LoadCommand( Actor& actor, const CString &sType, const CString &sCommandName )
{
actor.AddCommand( sCommandName, THEME->GetMetricA(sType,actor.GetID()+sCommandName+"Command") );
}
/*
* (c) 2003-2004 Chris Danford
* All rights reserved.