From 9e7737a6534d6272fe51ec53f34749ebf0fbdd11 Mon Sep 17 00:00:00 2001 From: Scott Thomas Date: Mon, 31 Aug 2009 02:04:24 +0000 Subject: Groovie: Handle special case for cursor #4 svn-id: r43847 --- engines/groovie/cursor.cpp | 6 ++++++ engines/groovie/cursor.h | 2 ++ 2 files changed, 8 insertions(+) (limited to 'engines/groovie') diff --git a/engines/groovie/cursor.cpp b/engines/groovie/cursor.cpp index 3b6c7a93bd..6a91600dbb 100644 --- a/engines/groovie/cursor.cpp +++ b/engines/groovie/cursor.cpp @@ -418,4 +418,10 @@ GrvCursorMan_v2::GrvCursorMan_v2(OSystem *system) : GrvCursorMan_v2::~GrvCursorMan_v2() { } +void GrvCursorMan_v2::setStyle(uint8 newStyle) { + // Cursor 4 is actually cursor 3, but with some changes to alpha blending + // (which is currently not handled) + GrvCursorMan::setStyle(newStyle == 4 ? 3 : newStyle); +} + } // End of Groovie namespace diff --git a/engines/groovie/cursor.h b/engines/groovie/cursor.h index a148144389..b37384bee5 100644 --- a/engines/groovie/cursor.h +++ b/engines/groovie/cursor.h @@ -90,6 +90,8 @@ class GrvCursorMan_v2 : public GrvCursorMan { public: GrvCursorMan_v2(OSystem *system); ~GrvCursorMan_v2(); + + void setStyle(uint8 newStyle); }; } // End of Groovie namespace -- cgit v1.2.3