From eb6854e2c75fe0abd4abc1aca0ad7567804900a0 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 16 Dec 2015 19:59:14 +0100 Subject: LAB: Add a short delay when changing screen so that the text is readable when changing screens --- engines/lab/anim.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index db5e3b313b..d1b79a2260 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -317,9 +317,14 @@ void Anim::readDiff(byte *buffer, bool playOnce, bool onlyDiffData) { _headerdata._depth = *_diffFile; _diffFile++; _headerdata._fps = *_diffFile; + // HACK: The original game defines a 1 second delay when changing screens, which is - // very annoying. In this case, we just set it to no delay, to make the game a bit - // less frustrating + // very annoying. We first removed the delay, but it looked wrong when changing screens + // as it was possible to see that something was displayed, without being able to tell + // what it was. A shorter delay (150ms) makes it acceptable during gameplay and + // readable. The big question is: do we need that message? + g_system->delayMillis(150); + if (_headerdata._fps == 1) _headerdata._fps = 0; _diffFile++; -- cgit v1.2.3