[Scummvm-cvs-logs] SF.net SVN: scummvm: [24036] scummvm/trunk/engines/agos
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Sep 30 13:36:56 CEST 2006
Revision: 24036
http://svn.sourceforge.net/scummvm/?rev=24036&view=rev
Author: eriktorbjorn
Date: 2006-09-30 04:36:50 -0700 (Sat, 30 Sep 2006)
Log Message:
-----------
Another slight PP difference.
Modified Paths:
--------------
scummvm/trunk/engines/agos/agos.h
scummvm/trunk/engines/agos/items.cpp
Modified: scummvm/trunk/engines/agos/agos.h
===================================================================
--- scummvm/trunk/engines/agos/agos.h 2006-09-30 10:46:53 UTC (rev 24035)
+++ scummvm/trunk/engines/agos/agos.h 2006-09-30 11:36:50 UTC (rev 24036)
@@ -1054,6 +1054,7 @@
void o4_animate();
void o4_loadHiScores();
void o4_checkHiScores();
+ void o4_sync();
void o4_loadUserGame();
void o4_saveOopsPosition();
void o4_resetGameTime();
Modified: scummvm/trunk/engines/agos/items.cpp
===================================================================
--- scummvm/trunk/engines/agos/items.cpp 2006-09-30 10:46:53 UTC (rev 24035)
+++ scummvm/trunk/engines/agos/items.cpp 2006-09-30 11:36:50 UTC (rev 24036)
@@ -643,6 +643,7 @@
opcode_table[105] = &AGOSEngine::o4_loadHiScores;
opcode_table[106] = &AGOSEngine::o4_checkHiScores;
opcode_table[107] = &AGOSEngine::o3_addBox;
+ opcode_table[120] = &AGOSEngine::o4_sync;
opcode_table[122] = &AGOSEngine::o3_oracleTextDown;
opcode_table[123] = &AGOSEngine::o3_oracleTextUp;
opcode_table[124] = &AGOSEngine::o3_ifTime;
@@ -2638,6 +2639,15 @@
getVarOrByte();
}
+void AGOSEngine::o4_sync() {
+ // 120: sync
+ uint a = getVarOrWord();
+ if (a == 8001 | a == 8101 || a == 8201 || a == 8301 || a == 8401) {
+ _marks &= ~(1 << 2);
+ }
+ sendSync(a);
+}
+
void AGOSEngine::o4_loadUserGame() {
// 133: load usergame
}
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