Renamed function for consistency.

svn-id: r31571
This commit is contained in:
Johannes Schickel 2008-04-19 14:00:14 +00:00
parent a79c91b7d0
commit 49cf8237f0
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ TIMInterpreter::TIMInterpreter(KyraEngine *vm, OSystem *system) : _vm(vm), _syst
#define COMMAND_UNIMPL() { 0, 0 } #define COMMAND_UNIMPL() { 0, 0 }
static CommandEntry commandProcs[] = { static CommandEntry commandProcs[] = {
// 0x00 // 0x00
COMMAND(cmd_startFunc0Now), COMMAND(cmd_initFunc0Now),
COMMAND(cmd_stopCurFunc), COMMAND(cmd_stopCurFunc),
COMMAND_UNIMPL(), COMMAND_UNIMPL(),
COMMAND_UNIMPL(), COMMAND_UNIMPL(),
@ -199,7 +199,7 @@ int TIMInterpreter::execCommand(int cmd, const uint16 *param) {
return (this->*_commands[cmd].proc)(param); return (this->*_commands[cmd].proc)(param);
} }
int TIMInterpreter::cmd_startFunc0Now(const uint16 *param) { int TIMInterpreter::cmd_initFunc0Now(const uint16 *param) {
_currentTim->func[0].ip = _currentTim->func[0].avtl; _currentTim->func[0].ip = _currentTim->func[0].avtl;
_currentTim->func[0].lastTime = _system->getMillis(); _currentTim->func[0].lastTime = _system->getMillis();
return 1; return 1;

View file

@ -86,7 +86,7 @@ private:
const CommandEntry *_commands; const CommandEntry *_commands;
int _commandsSize; int _commandsSize;
int cmd_startFunc0Now(const uint16 *param); int cmd_initFunc0Now(const uint16 *param);
int cmd_stopCurFunc(const uint16 *param); int cmd_stopCurFunc(const uint16 *param);
int cmd_initFunc(const uint16 *param); int cmd_initFunc(const uint16 *param);
int cmd_stopFunc(const uint16 *param); int cmd_stopFunc(const uint16 *param);