Patch #1091170: ALL, SCUMM: Subtitle speed control

svn-id: r22456
This commit is contained in:
Max Horn 2006-05-13 17:30:04 +00:00
parent 61c3f9d4aa
commit 0d6362ea48
15 changed files with 268 additions and 73 deletions

View file

@ -445,6 +445,9 @@ void ScummEngine::processKbd(bool smushMode) {
// Display the talk speed
ValueDisplayDialog dlg("Text speed: ", 0, 9, 9 - _defaultTalkDelay, '+', '-');
_defaultTalkDelay = 9 - runDialog(dlg);
// Save the new talkspeed value to ConfMan
setTalkspeed(9 - _defaultTalkDelay);
if (VAR_CHARINC != 0xFF)
VAR(VAR_CHARINC) = _defaultTalkDelay;