[Scummvm-cvs-logs] SF.net SVN: scummvm:[38641] scummvm/trunk/engines/sci
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Feb 21 00:17:13 CET 2009
Revision: 38641
http://scummvm.svn.sourceforge.net/scummvm/?rev=38641&view=rev
Author: thebluegr
Date: 2009-02-20 23:17:13 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
Reverted #38631 and readded gfxr_interpreter_needs_multicolored_pointers - apparently, it's needed for SCI1.1 support
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/resource/sci_resmgr.cpp
scummvm/trunk/engines/sci/include/gfx_resmgr.h
Modified: scummvm/trunk/engines/sci/gfx/resource/sci_resmgr.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/resource/sci_resmgr.cpp 2009-02-20 23:09:29 UTC (rev 38640)
+++ scummvm/trunk/engines/sci/gfx/resource/sci_resmgr.cpp 2009-02-20 23:17:13 UTC (rev 38641)
@@ -319,4 +319,10 @@
}
}
+int
+gfxr_interpreter_needs_multicolored_pointers(int version, void *internal) {
+ return (version > SCI_VERSION_1);
+}
+
+
Modified: scummvm/trunk/engines/sci/include/gfx_resmgr.h
===================================================================
--- scummvm/trunk/engines/sci/include/gfx_resmgr.h 2009-02-20 23:09:29 UTC (rev 38640)
+++ scummvm/trunk/engines/sci/include/gfx_resmgr.h 2009-02-20 23:17:13 UTC (rev 38641)
@@ -344,4 +344,13 @@
** if a static palette must be used, NULL otherwise
*/
+int
+gfxr_interpreter_needs_multicolored_pointers(int version, void *internal);
+/* Determines whether support for pointers with more than two colors is required
+** Parameters: (int) version: Interpreter version to test for
+** (void *) internal: Internal information provided by the interpreter
+** Returns : (int) 0 if no support for multi-colored pointers is required, non-0
+** otherwise
+*/
+
#endif /* !_GFX_RSMGR_H_ */
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