aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-04-18 09:59:18 +0000
committerSven Hesse2006-04-18 09:59:18 +0000
commitab48280f731cf65313b4bd57896e762eb04fbce9 (patch)
tree1646d50032b5c2bf2040cf4ae51f5ce9d50ee918 /engines/gob/gob.cpp
parent4b59f6fbda912ccac9619d144d68536cb4d72834 (diff)
downloadscummvm-rg350-ab48280f731cf65313b4bd57896e762eb04fbce9.tar.gz
scummvm-rg350-ab48280f731cf65313b4bd57896e762eb04fbce9.tar.bz2
scummvm-rg350-ab48280f731cf65313b4bd57896e762eb04fbce9.zip
- I misunderstood Draw::initBigSprite(); fixed
- Changed Draw::spriteOperation() for blitting from/to/between and fillrecting to big sprites - Enabled drawing of text svn-id: r22001
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index e5b9979147..af6f4f5140 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -189,9 +189,7 @@ void GobEngine::shutdown() {
}
int GobEngine::init() {
- _game = new Game(this);
_snd = new Snd(this);
- _video = new Video(this);
_global = new Global(this);
_anim = new Anim();
_cdrom = new CDROM(this);
@@ -209,12 +207,16 @@ int GobEngine::init() {
_parse = new Parse_v1(this);
_mult = new Mult_v1(this);
_draw = new Draw_v1(this);
+ _game = new Game_v1(this);
+ _video = new Video_v1(this);
}
else if (_features & Gob::GF_GOB2) {
_inter = new Inter_v2(this);
_parse = new Parse_v2(this);
_mult = new Mult_v2(this);
_draw = new Draw_v2(this);
+ _game = new Game_v2(this);
+ _video = new Video_v2(this);
}
else
error("GobEngine::init(): Unknown version of game engine");