aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.cpp
diff options
context:
space:
mode:
authorStrangerke2013-01-01 13:53:07 +0100
committerStrangerke2013-01-01 13:53:07 +0100
commitcb363aafd5ed1d912e5b211e06c823307fb00489 (patch)
treeb44cbe4db11b103764517a3bfa0107982a7435e8 /engines/hopkins/graphics.cpp
parenta8bc62fc0fb2ea5df8c08175c232af05ed898e38 (diff)
downloadscummvm-rg350-cb363aafd5ed1d912e5b211e06c823307fb00489.tar.gz
scummvm-rg350-cb363aafd5ed1d912e5b211e06c823307fb00489.tar.bz2
scummvm-rg350-cb363aafd5ed1d912e5b211e06c823307fb00489.zip
HOPKINS: Refactoring in ObjectsManager, renaming
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r--engines/hopkins/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index 8264b6ba70..b7cbd55694 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -41,7 +41,7 @@ GraphicsManager::GraphicsManager() {
PAL_PIXELS = NULL;
_lineNbr = 0;
_videoPtr = NULL;
- ofscroll = 0;
+ _scrollOffset = 0;
SCROLL = 0;
PCX_L = PCX_H = 0;
DOUBLE_ECRAN = false;
@@ -249,7 +249,7 @@ void GraphicsManager::initColorTable(int minIndex, int maxIndex, byte *palette)
void GraphicsManager::scrollScreen(int amount) {
int result = CLIP(amount, 0, SCREEN_WIDTH);
_vm->_eventsManager._startPos.x = result;
- ofscroll = result;
+ _scrollOffset = result;
SCROLL = result;
}