aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.h
diff options
context:
space:
mode:
authorJody Northup2009-06-05 08:09:37 +0000
committerJody Northup2009-06-05 08:09:37 +0000
commit9789ba7f28d2c0a093adda01435306f28e91fede (patch)
treeced66d59e1c0b16a59ca36196159378b871d4333 /graphics/cursorman.h
parent662a305752214564a9db0ac2d61594367067efa1 (diff)
downloadscummvm-rg350-9789ba7f28d2c0a093adda01435306f28e91fede.tar.gz
scummvm-rg350-9789ba7f28d2c0a093adda01435306f28e91fede.tar.bz2
scummvm-rg350-9789ba7f28d2c0a093adda01435306f28e91fede.zip
Corrected backend to be able to accept a 16-bit mouseKeyColor without overflow
svn-id: r41194
Diffstat (limited to 'graphics/cursorman.h')
-rw-r--r--graphics/cursorman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h
index bc38466eda..8ad42fe0d4 100644
--- a/graphics/cursorman.h
+++ b/graphics/cursorman.h
@@ -77,6 +77,10 @@ public:
* @param keycolor the index for the transparent color
* @param targetScale the scale for which the cursor is designed
*/
+#ifdef ENABLE_16BIT
+ //HACK made a separate method to avoid massive linker errors on every engine.
+ void replaceCursor16(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint16 keycolor = 65535, int targetScale = 1);
+#endif
void replaceCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1);
/**