diff options
author | Strangerke | 2011-09-18 11:25:34 +0200 |
---|---|---|
committer | Strangerke | 2011-09-18 11:25:34 +0200 |
commit | 2d882fdf18f9c43fb73d669e9b4b02f65351d4a3 (patch) | |
tree | 7a76561d62dc31dec51ed5f1f53a7fc67ce60434 /engines/cge/walk.cpp | |
parent | cf54fc98d5bf47469284e2d6f9bc3d5807445adb (diff) | |
download | scummvm-rg350-2d882fdf18f9c43fb73d669e9b4b02f65351d4a3.tar.gz scummvm-rg350-2d882fdf18f9c43fb73d669e9b4b02f65351d4a3.tar.bz2 scummvm-rg350-2d882fdf18f9c43fb73d669e9b4b02f65351d4a3.zip |
CGE: Rename Snail into CommandHandler, plus some associated renamings
Diffstat (limited to 'engines/cge/walk.cpp')
-rw-r--r-- | engines/cge/walk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge/walk.cpp b/engines/cge/walk.cpp index 64f75983c3..31ea1909d8 100644 --- a/engines/cge/walk.cpp +++ b/engines/cge/walk.cpp @@ -103,7 +103,7 @@ void Walk::tick() { } else { // take current Z position _z = _here._pt.y; - _vm->_snail_->addCommand(kSnZTrim, -1, 0, this); // update Hero's pos in show queue + _vm->_commandHandlerTurbo->addCommand(kCmdZTrim, -1, 0, this); // update Hero's pos in show queue } } @@ -195,10 +195,10 @@ void Walk::reach(Sprite *spr, int mode) { } } // note: insert SNAIL commands in reverse order - _vm->_snail->insertCommand(kSnPause, -1, 64, NULL); - _vm->_snail->insertCommand(kSnSeq, -1, kTSeq + mode, this); + _vm->_commandHandler->insertCommand(kCmdPause, -1, 64, NULL); + _vm->_commandHandler->insertCommand(kCmdSeq, -1, kTSeq + mode, this); if (spr) { - _vm->_snail->insertCommand(kSnWait, -1, -1, _vm->_hero); + _vm->_commandHandler->insertCommand(kCmdWait, -1, -1, _vm->_hero); //SNINSERT(SNWALK, -1, -1, spr); } // sequence is not finished, |