aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/anim.cpp
diff options
context:
space:
mode:
authorStrangerke2013-03-27 08:26:19 +0100
committerStrangerke2013-03-27 08:26:19 +0100
commitccf2f50ceb5f48f2a2e4ce1a88ebef6e8e2ab48a (patch)
tree1a641380be08935e3ccc5dc478a88e38db9d6317 /engines/hopkins/anim.cpp
parent08db6ea515df120c5a4bfb08027120e3cc79f4c1 (diff)
downloadscummvm-rg350-ccf2f50ceb5f48f2a2e4ce1a88ebef6e8e2ab48a.tar.gz
scummvm-rg350-ccf2f50ceb5f48f2a2e4ce1a88ebef6e8e2ab48a.tar.bz2
scummvm-rg350-ccf2f50ceb5f48f2a2e4ce1a88ebef6e8e2ab48a.zip
HOPKINS: Rename GraphicsManager variable
Diffstat (limited to 'engines/hopkins/anim.cpp')
-rw-r--r--engines/hopkins/anim.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp
index 7e843a08b9..ca06c75714 100644
--- a/engines/hopkins/anim.cpp
+++ b/engines/hopkins/anim.cpp
@@ -90,7 +90,7 @@ void AnimationManager::playAnim(const Common::String &filename, uint32 rate1, ui
_vm->_graphicsManager->clearScreen();
_vm->_graphicsManager->unlockScreen();
}
- if (_vm->_graphicsManager->WinScan / 2 > SCREEN_WIDTH) {
+ if (_vm->_graphicsManager->_screenLineSize / 2 > SCREEN_WIDTH) {
hasScreenCopy = true;
screenCopy = _vm->_globals->allocMemory(307200);
memcpy(screenCopy, screenP, 307200);
@@ -276,7 +276,7 @@ void AnimationManager::playAnim2(const Common::String &filename, uint32 rate1, u
_vm->_graphicsManager->unlockScreen();
_vm->_graphicsManager->_maxX = SCREEN_WIDTH;
- if (_vm->_graphicsManager->WinScan / 2 > SCREEN_WIDTH) {
+ if (_vm->_graphicsManager->_screenLineSize / 2 > SCREEN_WIDTH) {
hasScreenCopy = true;
screenCopy = _vm->_globals->allocMemory(307200);
memcpy(screenCopy, screenP, 307200);
@@ -641,7 +641,7 @@ void AnimationManager::playSequence(const Common::String &file, uint32 rate1, ui
f.read(screenP, nbytes);
byte *screenCopy = NULL;
- if (_vm->_graphicsManager->WinScan / 2 > SCREEN_WIDTH) {
+ if (_vm->_graphicsManager->_screenLineSize / 2 > SCREEN_WIDTH) {
hasScreenCopy = true;
screenCopy = _vm->_globals->allocMemory(307200);
memcpy(screenCopy, screenP, 307200);
@@ -790,7 +790,7 @@ void AnimationManager::playSequence2(const Common::String &file, uint32 rate1, u
f.skip(14);
f.read(screenP, nbytes);
- if (_vm->_graphicsManager->WinScan / 2 > SCREEN_WIDTH) {
+ if (_vm->_graphicsManager->_screenLineSize / 2 > SCREEN_WIDTH) {
multiScreenFl = true;
screenCopy = _vm->_globals->allocMemory(307200);
memcpy((void *)screenCopy, screenP, 307200);