aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-08-19 04:28:52 +0000
committerTravis Howell2003-08-19 04:28:52 +0000
commit2dd4c408680d128a61ba6c0919abc3e0c4ee4b66 (patch)
treeb1be631bb6293f471f66b669ad392dd09f33aa58 /scumm
parentd6105a306495eee414de5ebf70115d9e01da432e (diff)
downloadscummvm-rg350-2dd4c408680d128a61ba6c0919abc3e0c4ee4b66.tar.gz
scummvm-rg350-2dd4c408680d128a61ba6c0919abc3e0c4ee4b66.tar.bz2
scummvm-rg350-2dd4c408680d128a61ba6c0919abc3e0c4ee4b66.zip
Fix cursor cycle color for v1 games
svn-id: r9775
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index cae41f997d..8d46f6afa3 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -151,10 +151,16 @@ static const TransitionEffect transitionEffects[5] = {
/*
* Mouse cursor cycle colors (for the default crosshair).
*/
+static const byte default_v1_cursor_colors[4] = {
+ 1, 1, 12, 11
+};
+
static const byte default_cursor_colors[4] = {
15, 15, 7, 8
};
+
+
static const uint16 default_cursor_images[5][16] = {
/* cross-hair */
{ 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0000, 0x7e3f,
@@ -3502,7 +3508,10 @@ void Scumm::decompressDefaultCursor(int idx) {
memset(_grabbedCursor, 0xFF, sizeof(_grabbedCursor));
- color = default_cursor_colors[idx];
+ if (_version == 1)
+ color = default_v1_cursor_colors[idx];
+ else
+ color = default_cursor_colors[idx];
// FIXME: None of the stock cursors are right for Loom. Why is that?