aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-19 14:00:14 +0000
committerJohannes Schickel2008-04-19 14:00:14 +0000
commit49cf8237f0d6188fa5c061b38e69d18b75eccc7c (patch)
treef044b344f7056eddadb6b8c71f927d49b8a7c5ad /engines/kyra
parenta79c91b7d0dbe856728e218b6de496cfae040afd (diff)
downloadscummvm-rg350-49cf8237f0d6188fa5c061b38e69d18b75eccc7c.tar.gz
scummvm-rg350-49cf8237f0d6188fa5c061b38e69d18b75eccc7c.tar.bz2
scummvm-rg350-49cf8237f0d6188fa5c061b38e69d18b75eccc7c.zip
Renamed function for consistency.
svn-id: r31571
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/script_tim.cpp4
-rw-r--r--engines/kyra/script_tim.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp
index 8d079bdb0d..89f239648c 100644
--- a/engines/kyra/script_tim.cpp
+++ b/engines/kyra/script_tim.cpp
@@ -35,7 +35,7 @@ TIMInterpreter::TIMInterpreter(KyraEngine *vm, OSystem *system) : _vm(vm), _syst
#define COMMAND_UNIMPL() { 0, 0 }
static CommandEntry commandProcs[] = {
// 0x00
- COMMAND(cmd_startFunc0Now),
+ COMMAND(cmd_initFunc0Now),
COMMAND(cmd_stopCurFunc),
COMMAND_UNIMPL(),
COMMAND_UNIMPL(),
@@ -199,7 +199,7 @@ int TIMInterpreter::execCommand(int cmd, const uint16 *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].lastTime = _system->getMillis();
return 1;
diff --git a/engines/kyra/script_tim.h b/engines/kyra/script_tim.h
index 4d19c51ded..1cf1476c63 100644
--- a/engines/kyra/script_tim.h
+++ b/engines/kyra/script_tim.h
@@ -86,7 +86,7 @@ private:
const CommandEntry *_commands;
int _commandsSize;
- int cmd_startFunc0Now(const uint16 *param);
+ int cmd_initFunc0Now(const uint16 *param);
int cmd_stopCurFunc(const uint16 *param);
int cmd_initFunc(const uint16 *param);
int cmd_stopFunc(const uint16 *param);