aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-10 00:00:39 -0400
committerPaul Gilbert2014-03-10 00:00:39 -0400
commit680b5a4487a6c1b08f79c4a657b63715e69240de (patch)
tree8f1d9664d890c96ea5ffea9d774d475cbbfacd0c /engines/mads/game.cpp
parentc89193f24f252cf1a7f744f2712218b6808370fc (diff)
downloadscummvm-rg350-680b5a4487a6c1b08f79c4a657b63715e69240de.tar.gz
scummvm-rg350-680b5a4487a6c1b08f79c4a657b63715e69240de.tar.bz2
scummvm-rg350-680b5a4487a6c1b08f79c4a657b63715e69240de.zip
MADS: In progress implementation of PaletteUsage::process
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp
index d206823058..e0d3ca1914 100644
--- a/engines/mads/game.cpp
+++ b/engines/mads/game.cpp
@@ -191,15 +191,16 @@ void Game::sectionLoop() {
switch (_vm->_screenFade) {
case SCREEN_FADE_SMOOTH:
- _abortTimers2 = 2;
+ _abortTimers2 = kTransitionFadeOutIn;
break;
case SCREEN_FADE_FAST:
- _abortTimers2 = 20;
+ _abortTimers2 = kCenterVertTransition;
break;
default:
- _abortTimers2 = 21;
+ _abortTimers2 = kTransitionNone;
break;
}
+
_abortTimers = 0;
_abortTimersMode2 = ABORTMODE_1;
_priorFrameTimer = _scene._frameStartTime;