[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.85,1.86
Travis Howell
kirben at users.sourceforge.net
Wed Jul 14 01:56:04 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17014/scumm
Modified Files:
scumm.cpp
Log Message:
Remove old FT hacks, no longer needed.
Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- scumm.cpp 11 Jul 2004 09:15:14 -0000 1.85
+++ scumm.cpp 14 Jul 2004 08:55:31 -0000 1.86
@@ -1439,15 +1439,9 @@
decreaseScriptDelay(delta);
- // If _talkDelay is -1, that means the text should never time out.
- // This is used for drawing verb texts, e.g. the Full Throttle
- // dialogue choices.
-
- if (_talkDelay != -1) {
- _talkDelay -= delta;
- if (_talkDelay < 0)
- _talkDelay = 0;
- }
+ _talkDelay -= delta;
+ if (_talkDelay < 0)
+ _talkDelay = 0;
// Record the current ego actor before any scripts (including input scripts)
// get a chance to run.
@@ -2042,15 +2036,9 @@
runScript(VAR(VAR_SAVELOAD_SCRIPT2), 0, 0, 0);
return;
} else if (VAR_TALKSTOP_KEY != 0xFF && _lastKeyHit == VAR(VAR_TALKSTOP_KEY)) {
- // Some text never times out, and should never be skipped. The
- // Full Throttle conversation menus is the main - perhaps the
- // only - example of this.
-
- if (_talkDelay != -1) {
- _talkDelay = 0;
- if (_sound->_sfxMode & 2)
- stopTalk();
- }
+ _talkDelay = 0;
+ if (_sound->_sfxMode & 2)
+ stopTalk();
return;
} else if (_lastKeyHit == '[') { // [ Music volume down
int vol = ConfMan.getInt("music_volume");
More information about the Scummvm-git-logs
mailing list