[Scummvm-cvs-logs] SF.net SVN: scummvm:[42198] scummvm/trunk/engines/cruise/function.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Tue Jul 7 04:51:43 CEST 2009
Revision: 42198
http://scummvm.svn.sourceforge.net/scummvm/?rev=42198&view=rev
Author: dreammaster
Date: 2009-07-07 02:51:42 +0000 (Tue, 07 Jul 2009)
Log Message:
-----------
Added workaround to briefly pause when displaying the first message of the shooting cut-scene, so it can be read properly
Modified Paths:
--------------
scummvm/trunk/engines/cruise/function.cpp
Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp 2009-07-07 02:49:33 UTC (rev 42197)
+++ scummvm/trunk/engines/cruise/function.cpp 2009-07-07 02:51:42 UTC (rev 42198)
@@ -817,6 +817,11 @@
createTextObject(&cellHead, overlayIdx, var_8, var_6, var_4, var_2, color, masterScreen, currentScriptPtr->overlayNumber, currentScriptPtr->scriptNumber);
+ // WORKAROUND: The first message in the 'shooting cutscene' goes too fast on newer systems,
+ // so this introduces a delay so the user has more time to read the message
+ if ((overlayIdx == 46) && (var_8 == 0))
+ userDelay = 3 * (1000 / GAME_FRAME_DELAY_2);
+
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list