[Scummvm-cvs-logs] SF.net SVN: scummvm:[40698] scummvm/trunk/engines/tinsel/graphics.cpp

Hkz at users.sourceforge.net Hkz at users.sourceforge.net
Mon May 18 22:05:30 CEST 2009


Revision: 40698
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40698&view=rev
Author:   Hkz
Date:     2009-05-18 20:05:30 +0000 (Mon, 18 May 2009)

Log Message:
-----------
tinsel: fixed "Unknown drawing type" for inventory in Discworld PSX

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/graphics.cpp

Modified: scummvm/trunk/engines/tinsel/graphics.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/graphics.cpp	2009-05-18 19:56:54 UTC (rev 40697)
+++ scummvm/trunk/engines/tinsel/graphics.cpp	2009-05-18 20:05:30 UTC (rev 40698)
@@ -862,6 +862,11 @@
 		case 0x48:
 			PsxDrawTiles(pObj, srcPtr, destPtr, typeId >= 0x40, psxFourBitClut, psxSkipBytes, pObj->pPal->posInDAC, false);
 			break;
+		case 0x84:
+		case 0xC4:
+			// WrtTrans with/without clipping
+			WrtTrans(pObj, destPtr, typeId == 0xC4);
+			break;
 		default:
 			error("Unknown drawing type %d", typeId);
 		}


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