aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-08-26 07:48:19 +0000
committerFilippos Karapetis2008-08-26 07:48:19 +0000
commit3a782bfc484281da0407eed92a08ac02c8f12631 (patch)
tree697d6e60c118e7b48fb7b4add6c3f1e1255531b0 /engines
parent8c35bdf0443648882977bf856e0cc994aa3bd664 (diff)
downloadscummvm-rg350-3a782bfc484281da0407eed92a08ac02c8f12631.tar.gz
scummvm-rg350-3a782bfc484281da0407eed92a08ac02c8f12631.tar.bz2
scummvm-rg350-3a782bfc484281da0407eed92a08ac02c8f12631.zip
Cleanup
svn-id: r34179
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/drascula.cpp22
1 files changed, 8 insertions, 14 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 12c1a4c3d6..4e3bff8fa9 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -226,41 +226,35 @@ int DrasculaEngine::go() {
if (currentChapter != 6)
loadPic(95, tableSurface);
- if (currentChapter == 1) {
+ if (currentChapter != 3)
loadPic(96, frontSurface, COMPLETE_PAL);
- loadPic(99, backSurface);
- loadPic(97, extraSurface);
+
+ if (currentChapter == 1) {
} else if (currentChapter == 2) {
- loadPic(96, frontSurface, COMPLETE_PAL);
loadPic("pts.alg", drawSurface2);
} else if (currentChapter == 3) {
loadPic("aux13.alg", bgSurface, COMPLETE_PAL);
loadPic(96, frontSurface);
- loadPic(97, extraSurface);
- loadPic(99, backSurface);
} else if (currentChapter == 4) {
- loadPic(96, frontSurface, COMPLETE_PAL);
if (hay_que_load == 0)
animation_ray();
loadPic(96, frontSurface);
clearRoom();
- loadPic(99, backSurface);
- loadPic(97, extraSurface);
} else if (currentChapter == 5) {
- loadPic(96, frontSurface, COMPLETE_PAL);
- loadPic(97, extraSurface);
- loadPic(99, backSurface);
} else if (currentChapter == 6) {
igorX = 105, igorY = 85, trackIgor = 1;
drasculaX = 62, drasculaY = 99, trackDrascula = 1;
actorFrames[kFramePendulum] = 0;
flag_tv = 0;
- loadPic(96, frontSurface, COMPLETE_PAL);
+ loadPic(95, tableSurface);
+ }
+
+ if (currentChapter != 2) {
loadPic(99, backSurface);
loadPic(97, extraSurface);
- loadPic(95, tableSurface);
}
+
memset(iconName, 0, sizeof(iconName));
for (i = 0; i < 6; i++)