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

scott_t at users.sourceforge.net scott_t at users.sourceforge.net
Thu Dec 24 09:35:11 CET 2009


Revision: 46524
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46524&view=rev
Author:   scott_t
Date:     2009-12-24 08:35:11 +0000 (Thu, 24 Dec 2009)

Log Message:
-----------
11H: Add some more opcode stubs

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

Modified: scummvm/trunk/engines/groovie/script.cpp
===================================================================
--- scummvm/trunk/engines/groovie/script.cpp	2009-12-24 08:33:37 UTC (rev 46523)
+++ scummvm/trunk/engines/groovie/script.cpp	2009-12-24 08:35:11 UTC (rev 46524)
@@ -1600,6 +1600,20 @@
 	}
 }
 
+void Script::o2_copyscreentobg() {
+	uint16 val = readScript16bits();
+
+	debugScript(1, true, "CopyScreenToBG3: 0x%04X", val);
+	error("Unimplemented Opcode 0x4F");
+}
+
+void Script::o2_copybgtoscreen() {
+	uint16 val = readScript16bits();
+
+	debugScript(1, true, "CopyBG3ToScreen: 0x%04X", val);
+	error("Unimplemented Opcode 0x50");
+}
+
 void Script::o2_setvideoskip() {
 	_videoSkipAddress = readScript16bits();
 	debugScript(1, true, "SetVideoSkip (0x%04X)", _videoSkipAddress);
@@ -1791,8 +1805,8 @@
 	&Script::o_invalid, // 0x4C
 	&Script::o_invalid,
 	&Script::o_invalid,
-	&Script::o_nop16,
-	&Script::o_nop16, // 0x50
+	&Script::o2_copyscreentobg,
+	&Script::o2_copybgtoscreen, // 0x50
 	&Script::o2_setvideoskip,
 	&Script::o2_stub52,
 	&Script::o_hotspot_outrect,

Modified: scummvm/trunk/engines/groovie/script.h
===================================================================
--- scummvm/trunk/engines/groovie/script.h	2009-12-24 08:33:37 UTC (rev 46523)
+++ scummvm/trunk/engines/groovie/script.h	2009-12-24 08:35:11 UTC (rev 46524)
@@ -230,6 +230,8 @@
 	void o2_videofromref();
 	void o2_vdxtransition();
 	void o2_setvideoskip();
+	void o2_copyscreentobg();
+	void o2_copybgtoscreen();
 	void o2_stub52();
 	void o2_setscriptend();
 };


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