[Scummvm-cvs-logs] SF.net SVN: scummvm:[35570] scummvm/trunk/engines/scumm/he

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Dec 27 08:17:46 CET 2008


Revision: 35570
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35570&view=rev
Author:   Kirben
Date:     2008-12-27 07:17:46 +0000 (Sat, 27 Dec 2008)

Log Message:
-----------
Add more stubs for MBC.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/resource_he.cpp
    scummvm/trunk/engines/scumm/he/script_v100he.cpp
    scummvm/trunk/engines/scumm/he/wiz_he.cpp

Modified: scummvm/trunk/engines/scumm/he/resource_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/resource_he.cpp	2008-12-27 06:13:21 UTC (rev 35569)
+++ scummvm/trunk/engines/scumm/he/resource_he.cpp	2008-12-27 07:17:46 UTC (rev 35570)
@@ -1666,6 +1666,10 @@
 }
 
 void ScummEngine_v80he::createSound(int snd1id, int snd2id) {
+	// HACK: Unsupported sound format
+	if (_game.id == GID_MOONBASE)
+		return;
+
 	byte *snd1Ptr, *snd2Ptr;
 	byte *sbng1Ptr, *sbng2Ptr;
 	byte *sdat1Ptr, *sdat2Ptr;

Modified: scummvm/trunk/engines/scumm/he/script_v100he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v100he.cpp	2008-12-27 06:13:21 UTC (rev 35569)
+++ scummvm/trunk/engines/scumm/he/script_v100he.cpp	2008-12-27 07:17:46 UTC (rev 35570)
@@ -669,6 +669,28 @@
 			copyArray(array, a1_dim2start, a1_dim2end, a1_dim1start, a1_dim1end, array2, a2_dim2start, a2_dim2end, a2_dim1start, a2_dim1end);
 		}
 		break;
+	case 132:
+		// TODO: Used by Moonbase Commander
+		fetchScriptWord();
+		fetchScriptWord();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		dim1end = pop();
+		dim1start = pop();
+		dim2end = pop();
+		dim2start = pop();
+		id = readVar(array);
+		if (id == 0) {
+			defineArray(array, kDwordArray, dim2start, dim2end, dim1start, dim1end);
+		}
+		break;
 	case 133:
 		b = pop();
 		c = pop();

Modified: scummvm/trunk/engines/scumm/he/wiz_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/wiz_he.cpp	2008-12-27 06:13:21 UTC (rev 35569)
+++ scummvm/trunk/engines/scumm/he/wiz_he.cpp	2008-12-27 07:17:46 UTC (rev 35570)
@@ -2275,6 +2275,7 @@
 			break;
 		case 4:
 			// TODO: Unknown image type
+			ret = 1;
 			debug(0, "isWizPixelNonTransparent: Unhandled wiz compression type %d", c);
 			break;
 		case 5:


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