[Scummvm-cvs-logs] SF.net SVN: scummvm:[38594] scummvm/trunk/engines/sci/engine/vm.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Feb 20 16:44:22 CET 2009


Revision: 38594
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38594&view=rev
Author:   fingolfin
Date:     2009-02-20 15:44:22 +0000 (Fri, 20 Feb 2009)

Log Message:
-----------
SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2009-02-20 15:41:58 UTC (rev 38593)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2009-02-20 15:44:22 UTC (rev 38594)
@@ -870,7 +870,8 @@
 
 			}
 
-
+		// TODO: Replace the following by an opcode table, and several methods for
+		// each opcode.
 		switch (opnumber) {
 
 		case 0x00: /* bnot */


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