aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2_main.cpp
diff options
context:
space:
mode:
authoruruk2014-06-06 14:57:34 +0200
committeruruk2014-06-06 14:57:34 +0200
commitf2c006976541e00411b4f9154efe9ab16c633472 (patch)
treeb237791cab6d68858bcbb4adc433f32aa1bb4ec6 /engines/cge2/cge2_main.cpp
parentc6fd9bf8ce06a9512ec6e8ff6d844718576d26a0 (diff)
downloadscummvm-rg350-f2c006976541e00411b4f9154efe9ab16c633472.tar.gz
scummvm-rg350-f2c006976541e00411b4f9154efe9ab16c633472.tar.bz2
scummvm-rg350-f2c006976541e00411b4f9154efe9ab16c633472.zip
CGE2: Change BitmapPtr *_shpList -> BitmapPtr _shpList.
Update rest of the code accordingly.
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r--engines/cge2/cge2_main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index e1a2b0b4fe..99447efad2 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -737,13 +737,13 @@ bool CGE2Engine::showTitle(const char *name) {
return false;
_bitmapPalette = _vga->_sysPal;
- BitmapPtr *LB = new BitmapPtr[2];
- LB[0] = new Bitmap(this, name);
- LB[1] = NULL;
- _bitmapPalette = NULL;
+ BitmapPtr LB = new Bitmap[1];
+ LB[0] = Bitmap(this, name);
+ _bitmapPalette = nullptr;
Sprite D(this, LB, 1);
D._flags._kill = true;
+ strcpy(D._file, "hatter");
warning("STUB: Sprite::showTitle() - Flags changed compared to CGE1's Sprite type.");
D.gotoxyz(kScrWidth >> 1, -(kPanHeight >> 1));
_vga->sunset();
@@ -758,7 +758,7 @@ bool CGE2Engine::showTitle(const char *name) {
_vga->update();
warning("STUB: CGE2Engine::showTitle()");
-
+
return true;
}