[Scummvm-cvs-logs] SF.net SVN: scummvm: [24006] scummvm/trunk/engines/simon

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Sep 29 08:24:17 CEST 2006


Revision: 24006
          http://svn.sourceforge.net/scummvm/?rev=24006&view=rev
Author:   kirben
Date:     2006-09-28 23:24:12 -0700 (Thu, 28 Sep 2006)

Log Message:
-----------
Add opcode stub for PP

Modified Paths:
--------------
    scummvm/trunk/engines/simon/items.cpp
    scummvm/trunk/engines/simon/simon.h

Modified: scummvm/trunk/engines/simon/items.cpp
===================================================================
--- scummvm/trunk/engines/simon/items.cpp	2006-09-29 06:16:28 UTC (rev 24005)
+++ scummvm/trunk/engines/simon/items.cpp	2006-09-29 06:24:12 UTC (rev 24006)
@@ -465,7 +465,7 @@
 
 		// Code difference, check if triggered
 		opcode_table[132] = &SimonEngine::o3_saveUserGame,
-		opcode_table[187] = NULL;	// Reset game time?
+		opcode_table[187] = &SimonEngine::o4_resetGameTime;
 
 		// Code difference. Some kind of logging?
 		opcode_table[190] = &SimonEngine::o2_waitMark;
@@ -2364,40 +2364,52 @@
 // -----------------------------------------------------------------------
 
 void SimonEngine::o4_opcode30() {
+	// 30
 	getNextItemPtr();
 }
 
 void SimonEngine::o4_checkTiles() {
-	// for  MahJongg game
+	// 37: for  MahJongg game
 	getVarOrByte();
 }
 
 void SimonEngine::o4_opcode38() {
+	// 38
 	getVarOrByte();
 	getNextItemPtr();
 }
 
 void SimonEngine::o4_loadHiScores() {
+	// 105
 	getVarOrByte();
 }
 
 void SimonEngine::o4_checkHiScores() {
+	// 106
 	getVarOrByte();
 	getVarOrByte();
 }
 
 void SimonEngine::o4_loadUserGame() {
+	// 133
 }
 
 void SimonEngine::o4_saveOopsPosition() {
+	// 173
 }
 
+void SimonEngine::o4_resetGameTime() {
+	// 187
+}
+
 void SimonEngine::o4_resetPVCount() {
+	// 191
 	_PVCount = 0;
 	_GPVCount = 0;
 }
 
 void SimonEngine::o4_setPathValues() {
+	// 192
 	_pathValues[_PVCount++] = getVarOrByte();
 	_pathValues[_PVCount++] = getVarOrByte();
 	_pathValues[_PVCount++] = getVarOrByte();

Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h	2006-09-29 06:16:28 UTC (rev 24005)
+++ scummvm/trunk/engines/simon/simon.h	2006-09-29 06:24:12 UTC (rev 24006)
@@ -1047,6 +1047,7 @@
 	void o4_checkHiScores();
 	void o4_loadUserGame();
 	void o4_saveOopsPosition();
+	void o4_resetGameTime();
 	void o4_resetPVCount();
 	void o4_setPathValues();
 


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