From ab2d151541f5d4ae12aeeba6ec5e928109be84f5 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Mon, 15 Aug 2016 15:16:22 +0200 Subject: MOHAWK: Implement the (fire)flies effect mainly used in jungle island --- engines/mohawk/riven.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/mohawk/riven.cpp') diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 2536b0246f..485d4bb174 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -204,6 +204,7 @@ void MohawkEngine_Riven::handleEvents() { // Update background running things checkTimer(); _sound->updateSLST(); + _gfx->runFliesEffect(); bool needsUpdate = _gfx->runScheduledWaterEffects(); needsUpdate |= _video->updateMovies(); @@ -495,6 +496,7 @@ void MohawkEngine_Riven::delayAndUpdate(uint32 ms) { while (_system->getMillis() < startTime + ms && !shouldQuit()) { _sound->updateSLST(); + _gfx->runFliesEffect(); bool needsUpdate = _gfx->runScheduledWaterEffects(); needsUpdate |= _video->updateMovies(); -- cgit v1.2.3