aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.h
diff options
context:
space:
mode:
authorJody Northup2009-06-05 06:41:04 +0000
committerJody Northup2009-06-05 06:41:04 +0000
commitf8361b5c53b96faddb56024bb932ce46b7005dbf (patch)
tree54235722ffac47e02e855778f129a9665481a00d /engines/scumm/scumm.h
parent1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e (diff)
downloadscummvm-rg350-f8361b5c53b96faddb56024bb932ce46b7005dbf.tar.gz
scummvm-rg350-f8361b5c53b96faddb56024bb932ce46b7005dbf.tar.bz2
scummvm-rg350-f8361b5c53b96faddb56024bb932ce46b7005dbf.zip
Converted cursor code to use 16-bit.
svn-id: r41191
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r--engines/scumm/scumm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h
index c4b2ab9e56..5580c4c73d 100644
--- a/engines/scumm/scumm.h
+++ b/engines/scumm/scumm.h
@@ -974,7 +974,10 @@ protected:
byte animate, animateIndex;
int8 state;
} _cursor;
- byte _grabbedCursor[8192];
+
+ // HACK Double the array size to handle 16-bit images.
+ // this should be dynamically allocated based on game depth instead.
+ byte _grabbedCursor[16384];
byte _currentCursor;
byte _newEffect, _switchRoomEffect2, _switchRoomEffect;