diff options
author | Christopher Page | 2008-07-08 05:02:45 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-08 05:02:45 +0000 |
commit | b97f39019cff74f7211152c78e4777ca0e31826e (patch) | |
tree | b5af4c3ff334885229742d9d01269c4c2fa58630 /engines/kyra/text_mr.cpp | |
parent | 3beccaf11591f4eef4a53993d656f1438f614a9c (diff) | |
download | scummvm-rg350-b97f39019cff74f7211152c78e4777ca0e31826e.tar.gz scummvm-rg350-b97f39019cff74f7211152c78e4777ca0e31826e.tar.bz2 scummvm-rg350-b97f39019cff74f7211152c78e4777ca0e31826e.zip |
KYRA works with the new GMM implementation
svn-id: r32957
Diffstat (limited to 'engines/kyra/text_mr.cpp')
-rw-r--r-- | engines/kyra/text_mr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/text_mr.cpp b/engines/kyra/text_mr.cpp index 6c6aaffe68..d9ef59e226 100644 --- a/engines/kyra/text_mr.cpp +++ b/engines/kyra/text_mr.cpp @@ -349,7 +349,7 @@ void KyraEngine_MR::objectChatWaitToFinish() { const uint32 endTime = _chatEndTime; resetSkipFlag(); - while (running && !_quit) { + while (running && !_eventMan->shouldQuit()) { if (!_emc->isValid(&_chatScriptState)) _emc->start(&_chatScriptState, 1); @@ -367,7 +367,7 @@ void KyraEngine_MR::objectChatWaitToFinish() { uint32 nextFrame = _system->getMillis() + delayTime * _tickLength; - while (_system->getMillis() < nextFrame && !_quit) { + while (_system->getMillis() < nextFrame && !_eventMan->shouldQuit()) { updateWithText(); const uint32 curTime = _system->getMillis(); @@ -419,7 +419,7 @@ void KyraEngine_MR::badConscienceChatWaitToFinish() { uint32 nextFrame = _system->getMillis() + _rnd.getRandomNumberRng(4, 8) * _tickLength; int frame = _badConscienceFrameTable[_badConscienceAnim+24]; - while (running && !_quit) { + while (running && !_eventMan->shouldQuit()) { if (nextFrame < _system->getMillis()) { ++frame; if (_badConscienceFrameTable[_badConscienceAnim+32] < frame) @@ -477,7 +477,7 @@ void KyraEngine_MR::goodConscienceChatWaitToFinish() { uint32 nextFrame = _system->getMillis() + _rnd.getRandomNumberRng(3, 6) * _tickLength; int frame = _goodConscienceFrameTable[_goodConscienceAnim+15]; - while (running && !_quit) { + while (running && !_eventMan->shouldQuit()) { if (nextFrame < _system->getMillis()) { ++frame; if (_goodConscienceFrameTable[_goodConscienceAnim+20] < frame) @@ -597,7 +597,7 @@ void KyraEngine_MR::albumChatWaitToFinish() { uint32 nextFrame = 0; int frame = 12; - while (running && !_quit) { + while (running && !_eventMan->shouldQuit()) { if (nextFrame < _system->getMillis()) { ++frame; if (frame > 22) |