diff options
author | Paul Gilbert | 2010-05-31 12:10:30 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-05-31 12:10:30 +0000 |
commit | 088e6456ea4d009b8ab0c91176c84dce34a8ea41 (patch) | |
tree | 0789fe834b9a6fd72ff90d276ec9912c4556134f /engines/m4/m4.cpp | |
parent | 3f4302214c334a590b8428fe7ae32c76e64b6ed5 (diff) | |
download | scummvm-rg350-088e6456ea4d009b8ab0c91176c84dce34a8ea41.tar.gz scummvm-rg350-088e6456ea4d009b8ab0c91176c84dce34a8ea41.tar.bz2 scummvm-rg350-088e6456ea4d009b8ab0c91176c84dce34a8ea41.zip |
In progress work implementing the animation player
svn-id: r49347
Diffstat (limited to 'engines/m4/m4.cpp')
-rw-r--r-- | engines/m4/m4.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp index 2024138f67..da271b10c9 100644 --- a/engines/m4/m4.cpp +++ b/engines/m4/m4.cpp @@ -145,7 +145,6 @@ MadsM4Engine::~MadsM4Engine() { delete _script; delete _ws; delete _random; - delete _animation; delete _palette; } @@ -184,7 +183,6 @@ Common::Error MadsM4Engine::run() { _sound = new Sound(this, _mixer, 255); _script = new ScriptInterpreter(this); _ws = new WoodScript(this); - _animation = new Animation(this); //_callbacks = new Callbacks(this); _random = new Common::RandomSource(); g_eventRec.registerRandomSource(*_random, "m4"); @@ -581,8 +579,6 @@ Common::Error MadsEngine::run() { while (!_events->quitFlag) { eventHandler(); - _animation->updateAnim(); - if (g_system->getMillis() >= nextFrame) { nextFrame = g_system->getMillis() + GAME_FRAME_DELAY; ++_currentTimer; |