[Scummvm-cvs-logs] SF.net SVN: scummvm:[43847] scummvm/trunk/engines/groovie

scott_t at users.sourceforge.net scott_t at users.sourceforge.net
Mon Aug 31 04:04:24 CEST 2009


Revision: 43847
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43847&view=rev
Author:   scott_t
Date:     2009-08-31 02:04:24 +0000 (Mon, 31 Aug 2009)

Log Message:
-----------
Groovie: Handle special case for cursor #4

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/cursor.cpp
    scummvm/trunk/engines/groovie/cursor.h

Modified: scummvm/trunk/engines/groovie/cursor.cpp
===================================================================
--- scummvm/trunk/engines/groovie/cursor.cpp	2009-08-31 01:52:16 UTC (rev 43846)
+++ scummvm/trunk/engines/groovie/cursor.cpp	2009-08-31 02:04:24 UTC (rev 43847)
@@ -418,4 +418,10 @@
 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

Modified: scummvm/trunk/engines/groovie/cursor.h
===================================================================
--- scummvm/trunk/engines/groovie/cursor.h	2009-08-31 01:52:16 UTC (rev 43846)
+++ scummvm/trunk/engines/groovie/cursor.h	2009-08-31 02:04:24 UTC (rev 43847)
@@ -90,6 +90,8 @@
 public:
 	GrvCursorMan_v2(OSystem *system);
 	~GrvCursorMan_v2();
+
+	void setStyle(uint8 newStyle);
 };
 
 } // End of Groovie namespace


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list