aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.cpp
diff options
context:
space:
mode:
authorStrangerke2013-03-25 08:02:07 +0100
committerStrangerke2013-03-25 08:02:07 +0100
commit91469d7d386d5eca3f471d0a57cc5bf333212b89 (patch)
tree8652223ce96426a46c64725828229043dbadea87 /engines/hopkins/graphics.cpp
parent6f2eb50d2affac01556f068e6efd1888ed5e9b99 (diff)
downloadscummvm-rg350-91469d7d386d5eca3f471d0a57cc5bf333212b89.tar.gz
scummvm-rg350-91469d7d386d5eca3f471d0a57cc5bf333212b89.tar.bz2
scummvm-rg350-91469d7d386d5eca3f471d0a57cc5bf333212b89.zip
HOPKINS: More work on Globals
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r--engines/hopkins/graphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index 14f23ad06a..a0cd39c069 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -1061,7 +1061,7 @@ void GraphicsManager::Sprite_Vesa(byte *surface, const byte *spriteData, int xp,
void GraphicsManager::endDisplayBob() {
for (int idx = 1; idx <= 20; ++idx) {
- if (_vm->_globals->_animBqe[idx]._enabledFl)
+ if (_vm->_animationManager->_animBqe[idx]._enabledFl)
_vm->_objectsManager->hideBob(idx);
}
@@ -1069,7 +1069,7 @@ void GraphicsManager::endDisplayBob() {
_vm->_eventsManager->refreshScreenAndEvents();
for (int idx = 1; idx <= 20; ++idx) {
- if (_vm->_globals->_animBqe[idx]._enabledFl)
+ if (_vm->_animationManager->_animBqe[idx]._enabledFl)
_vm->_objectsManager->resetBob(idx);
}
@@ -1078,13 +1078,13 @@ void GraphicsManager::endDisplayBob() {
}
for (int idx = 1; idx <= 20; ++idx) {
- _vm->_globals->_animBqe[idx]._enabledFl = false;
+ _vm->_animationManager->_animBqe[idx]._enabledFl = false;
}
}
void GraphicsManager::displayAllBob() {
for (int idx = 1; idx <= 20; ++idx) {
- if (_vm->_globals->_animBqe[idx]._enabledFl)
+ if (_vm->_animationManager->_animBqe[idx]._enabledFl)
_vm->_objectsManager->displayBob(idx);
}
}