[Scummvm-cvs-logs] scummvm master -> a9a4e8ba9e230e03a1fe57099c7f389996324a1d

m-kiewitz m_kiewitz at users.sourceforge.net
Mon Jun 1 13:26:32 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a9a4e8ba9e SHERLOCK: add comments about waitUntilTick()


Commit: a9a4e8ba9e230e03a1fe57099c7f389996324a1d
    https://github.com/scummvm/scummvm/commit/a9a4e8ba9e230e03a1fe57099c7f389996324a1d
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-01T13:26:34+02:00

Commit Message:
SHERLOCK: add comments about waitUntilTick()

Changed paths:
    engines/sherlock/music.cpp



diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp
index b72e4d4..a6f1e5b 100644
--- a/engines/sherlock/music.cpp
+++ b/engines/sherlock/music.cpp
@@ -358,6 +358,9 @@ void Music::waitTimerRoland(uint time) {
 	warning("TODO: Sound::waitTimerRoland");
 }
 
+// This is used to wait for the music in certain situations like especially the intro
+// Note: the original game didn't do this, instead it just waited for certain amounts of time
+//       We do this, so that the intro graphics + music work together even on faster/slower hardware.
 bool Music::waitUntilTick(uint32 tick, uint32 maxTick, uint32 additionalDelay, uint32 noMusicDelay) {
 	uint32 currentTick = 0;
 






More information about the Scummvm-git-logs mailing list