aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/draci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/draci.cpp')
-rw-r--r--engines/draci/draci.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index cef66893fe..79d38134b9 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -85,9 +85,11 @@ int DraciEngine::init() {
_screen = new Screen(this);
_font = new Font();
+ _anims = new Animation(this);
_mouse = new Mouse(this);
- _game = new Game(this);
_script = new Script();
+ _game = new Game(this);
+
// Load default font
@@ -150,6 +152,7 @@ int DraciEngine::go() {
_mouse->handleEvent(event);
}
}
+ _anims->drawScene(_screen->getSurface());
_screen->copyToScreen();
_system->delayMillis(20);
}
@@ -166,6 +169,7 @@ DraciEngine::~DraciEngine() {
delete _mouse;
delete _game;
delete _script;
+ delete _anims;
delete _paletteArchive;
delete _objectsArchive;