aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/script.cpp
diff options
context:
space:
mode:
authorStrangerke2013-03-05 07:45:15 +0100
committerStrangerke2013-03-05 07:45:15 +0100
commit2ae05f05735e88e123be293560255a91b5e9d0ba (patch)
tree0246b722b9f84fa613c63482df98c4872fda11cc /engines/hopkins/script.cpp
parentcd412b3a893ada5ce7bb28bfe8e0abc4e8c24692 (diff)
downloadscummvm-rg350-2ae05f05735e88e123be293560255a91b5e9d0ba.tar.gz
scummvm-rg350-2ae05f05735e88e123be293560255a91b5e9d0ba.tar.bz2
scummvm-rg350-2ae05f05735e88e123be293560255a91b5e9d0ba.zip
HOPKINS: Misc renaming and refactoring
Diffstat (limited to 'engines/hopkins/script.cpp')
-rw-r--r--engines/hopkins/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp
index c79f888917..50f7999077 100644
--- a/engines/hopkins/script.cpp
+++ b/engines/hopkins/script.cpp
@@ -1682,7 +1682,7 @@ int ScriptManager::handleOpcode(byte *dataP) {
_vm->_objectsManager.removeSprite(0);
_vm->_objectsManager.setBobAnimation(9);
_vm->_objectsManager.setBobAnimation(10);
- _vm->_objectsManager.BOB_OFFSET(10, 300);
+ _vm->_objectsManager.setBobOffset(10, 300);
_vm->_soundManager.playSoundFile("SOUND44.WAV");
do {
if (_vm->shouldQuit())
@@ -2410,7 +2410,7 @@ int ScriptManager::handleOpcode(byte *dataP) {
break;
case MKTAG24('B', 'O', 'S'):
opcodeType = 1;
- _vm->_objectsManager.BOB_OFFSET(READ_LE_INT16(dataP + 5), READ_LE_INT16(dataP + 7));
+ _vm->_objectsManager.setBobOffset(READ_LE_INT16(dataP + 5), READ_LE_INT16(dataP + 7));
break;
case MKTAG24('V', 'O', 'N'):
_vm->_objectsManager.enableVerb(READ_LE_INT16(dataP + 5), READ_LE_INT16(dataP + 7));