diff options
author | Strangerke | 2011-09-17 17:27:05 +0200 |
---|---|---|
committer | Strangerke | 2011-09-17 17:27:05 +0200 |
commit | d574cfe272e80c08387333a56ffe9955130f276b (patch) | |
tree | 56af8769a3018ddeba39a20a12dcf4b2a2800a81 /engines/cge/snail.cpp | |
parent | 3583c949f253330dbf4c53a66b74e764de9ea156 (diff) | |
download | scummvm-rg350-d574cfe272e80c08387333a56ffe9955130f276b.tar.gz scummvm-rg350-d574cfe272e80c08387333a56ffe9955130f276b.tar.bz2 scummvm-rg350-d574cfe272e80c08387333a56ffe9955130f276b.zip |
CGE: Move _talk and _text to CGEEngine
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r-- | engines/cge/snail.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp index 3c85f4abdb..d4993c9998 100644 --- a/engines/cge/snail.cpp +++ b/engines/cge/snail.cpp @@ -960,7 +960,7 @@ void Snail::runCom() { _textDelay = false; } } - if (_talk && snc->_com != kSnPause) + if (_vm->_talk && snc->_com != kSnPause) break; } @@ -970,7 +970,7 @@ void Snail::runCom() { break; case kSnPause : _timerExpiry = g_system->getMillis() + snc->_val * kSnailFrameDelay; - if (_talk) + if (_vm->_talk) _textDelay = true; break; case kSnWait: @@ -994,13 +994,13 @@ void Snail::runCom() { if (spr && _talkEnable) { if (spr == _vm->_hero && spr->seqTest(-1)) spr->step(kSeqHTalk); - _text->say(_text->getText(snc->_val), spr); + _vm->_text->say(_vm->_text->getText(snc->_val), spr); _vm->_sys->_funDel = kHeroFun0; } break; case kSnInf: if (_talkEnable) { - _vm->inf(_text->getText(snc->_val)); + _vm->inf(_vm->_text->getText(snc->_val)); _vm->_sys->_funDel = kHeroFun0; } break; @@ -1008,7 +1008,7 @@ void Snail::runCom() { if (spr && _talkEnable) { if (spr == _vm->_hero && spr->seqTest(-1)) spr->step(kSeqHTalk); - _text->sayTime(spr); + _vm->_text->sayTime(spr); } break; case kSnCave: |