diff options
author | Scott Thomas | 2009-08-31 02:04:24 +0000 |
---|---|---|
committer | Scott Thomas | 2009-08-31 02:04:24 +0000 |
commit | 9e7737a6534d6272fe51ec53f34749ebf0fbdd11 (patch) | |
tree | 92a6f1174644708a6e6f3d2f588c154265ee851a | |
parent | 4b43f6328130e6ae4636d8508ae613c13ae97991 (diff) | |
download | scummvm-rg350-9e7737a6534d6272fe51ec53f34749ebf0fbdd11.tar.gz scummvm-rg350-9e7737a6534d6272fe51ec53f34749ebf0fbdd11.tar.bz2 scummvm-rg350-9e7737a6534d6272fe51ec53f34749ebf0fbdd11.zip |
Groovie: Handle special case for cursor #4
svn-id: r43847
-rw-r--r-- | engines/groovie/cursor.cpp | 6 | ||||
-rw-r--r-- | engines/groovie/cursor.h | 2 |
2 files changed, 8 insertions, 0 deletions
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 |