aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-09-24 04:14:41 +0000
committerTravis Howell2009-09-24 04:14:41 +0000
commitf6cdfde2f7b697d82839f9106468e55cec149679 (patch)
tree6f929eaad0bb001a112a0afe60f96d3c538b1af9 /engines/agos
parentf9692d47cf629fc8f3d8d104788f253c17d0f355 (diff)
downloadscummvm-rg350-f6cdfde2f7b697d82839f9106468e55cec149679.tar.gz
scummvm-rg350-f6cdfde2f7b697d82839f9106468e55cec149679.tar.bz2
scummvm-rg350-f6cdfde2f7b697d82839f9106468e55cec149679.zip
Add VGA script code differences in DIMP.
svn-id: r44288
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/event.cpp3
-rw-r--r--engines/agos/vga_ff.cpp8
2 files changed, 7 insertions, 4 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index e5e176b5af..67ae7ef2c2 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -556,8 +556,7 @@ void AGOSEngine_DIMP::timerProc() {
_lastTickCount = _system->getMillis();
AGOSEngine_Feeble::timerProc();
- if (getGameId() == GID_DIMP)
- dimpIdle();
+ dimpIdle();
}
void AGOSEngine_Feeble::timerProc() {
diff --git a/engines/agos/vga_ff.cpp b/engines/agos/vga_ff.cpp
index a92be159e7..5b2bbc1d90 100644
--- a/engines/agos/vga_ff.cpp
+++ b/engines/agos/vga_ff.cpp
@@ -387,7 +387,7 @@ void AGOSEngine::centreScroll() {
// Puzzle Pack specific code
void AGOSEngine_PuzzlePack::vc3_loadSprite() {
- if (getBitFlag(100)) {
+ if (getGameId() != GID_DIMP && getBitFlag(100)) {
startAnOverlayAnim();
return;
}
@@ -397,6 +397,11 @@ void AGOSEngine_PuzzlePack::vc3_loadSprite() {
void AGOSEngine_PuzzlePack::vc63_fastFadeIn() {
_fastFadeInFlag = 256;
+ _fastFadeOutFlag = false;
+
+ if (getGameId() == GID_DIMP)
+ return;
+
if (getBitFlag(100)) {
startOverlayAnims();
} else if (getBitFlag(103)) {
@@ -404,7 +409,6 @@ void AGOSEngine_PuzzlePack::vc63_fastFadeIn() {
} else if (getBitFlag(104)) {
printf("HiScoreTable\n");
}
- _fastFadeOutFlag = false;
}
void AGOSEngine_PuzzlePack::startOverlayAnims() {