From 9789ba7f28d2c0a093adda01435306f28e91fede Mon Sep 17 00:00:00 2001 From: Jody Northup Date: Fri, 5 Jun 2009 08:09:37 +0000 Subject: Corrected backend to be able to accept a 16-bit mouseKeyColor without overflow svn-id: r41194 --- graphics/cursorman.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics/cursorman.h') 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); /** -- cgit v1.2.3