Ticket #8914: scumm-talkspeed-slider-2.patch
File scumm-talkspeed-slider-2.patch, 1.6 KB (added by , 16 years ago) |
---|
-
input.cpp
527 527 _defaultTalkDelay = 9 - runDialog(dlg); 528 528 529 529 // Save the new talkspeed value to ConfMan 530 setTalkspeed( _defaultTalkDelay);530 setTalkspeed(9 - _defaultTalkDelay); 531 531 532 532 if (VAR_CHARINC != 0xFF) 533 533 VAR(VAR_CHARINC) = _defaultTalkDelay; -
scumm.cpp
1690 1690 if (VAR_VOICE_MODE != 0xFF) 1691 1691 VAR(VAR_VOICE_MODE) = _voiceMode; 1692 1692 1693 _defaultTalkDelay = getTalkspeed();1693 _defaultTalkDelay = 9 - getTalkspeed(); 1694 1694 if (VAR_CHARINC != 0xFF) 1695 1695 VAR(VAR_CHARINC) = _defaultTalkDelay; 1696 1696 } -
script_v8.cpp
424 424 425 425 if (var == VAR_CHARINC) { 426 426 if (ConfMan.hasKey("talkspeed")) { 427 value = getTalkspeed();427 value = 9 - getTalkspeed(); 428 428 } else { 429 429 // Save the new talkspeed value to ConfMan 430 setTalkspeed( value);430 setTalkspeed(9 - value); 431 431 } 432 432 } 433 433 -
script.cpp
625 625 626 626 if (var == VAR_CHARINC) { 627 627 if (ConfMan.hasKey("talkspeed")) { 628 value = getTalkspeed();628 value = 9 - getTalkspeed(); 629 629 } else { 630 630 // Save the new talkspeed value to ConfMan 631 setTalkspeed( value);631 setTalkspeed(9 - value); 632 632 } 633 633 } 634 634