diff options
author | Filippos Karapetis | 2012-04-29 20:26:05 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-04-29 20:45:14 +0300 |
commit | 24e57808aa946ad38379b43ca205af6ef151c66a (patch) | |
tree | 3207567548d8349bbfdabbed4b9f0d43757c0199 | |
parent | ad248c9b0b28a50208930c3b49fa4b51420f1f56 (diff) | |
download | scummvm-rg350-24e57808aa946ad38379b43ca205af6ef151c66a.tar.gz scummvm-rg350-24e57808aa946ad38379b43ca205af6ef151c66a.tar.bz2 scummvm-rg350-24e57808aa946ad38379b43ca205af6ef151c66a.zip |
SCI: Add a hack to fix the cursor colors in Longbow (bug #3489101)
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 71f4598afc..14ffa69f91 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -148,11 +148,13 @@ void GfxCursor::kernelSetShape(GuiResourceId resourceId) { colorMapping[1] = _screen->getColorWhite(); // White is also hardcoded colorMapping[2] = SCI_CURSOR_SCI0_TRANSPARENCYCOLOR; colorMapping[3] = _palette->matchColor(170, 170, 170); // Grey - // Special case for the magnifier cursor in LB1 (bug #3487092). - // No other SCI0 game has a cursor resource of 1, so this is handled - // specifically for LB1. + // TODO: Figure out if the grey color is hardcoded + // HACK for the magnifier cursor in LB1, fixes its color (bug #3487092) if (g_sci->getGameId() == GID_LAURABOW && resourceId == 1) colorMapping[3] = _screen->getColorWhite(); + // HACK for Longbow cursors, fixes the shade of grey they're using (bug #3489101) + if (g_sci->getGameId() == GID_LONGBOW) + colorMapping[3] = _palette->matchColor(223, 223, 223); // Light Grey // Seek to actual data resourceData += 4; |