[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.56,2.57 script_v2.cpp,2.13,2.14
James Brown
ender at users.sourceforge.net
Mon Apr 21 08:03:34 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv13597/scumm
Modified Files:
intern.h script_v2.cpp
Log Message:
Another half-assed stub, this time for o2_printEgo
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.56
retrieving revision 2.57
diff -u -d -r2.56 -r2.57
--- intern.h 21 Apr 2003 14:09:16 -0000 2.56
+++ intern.h 21 Apr 2003 14:50:47 -0000 2.57
@@ -231,6 +231,7 @@
void o2_ifNotState02();
void o2_ifState01();
void o2_ifNotState01();
+ void o2_printEgo();
void o2_actorSet();
void o2_waitForActor();
void o2_waitForSentence();
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -d -r2.13 -r2.14
--- script_v2.cpp 21 Apr 2003 14:20:18 -0000 2.13
+++ script_v2.cpp 21 Apr 2003 14:50:48 -0000 2.14
@@ -303,7 +303,7 @@
OPCODE(o5_getActorMoving),
OPCODE(o2_setState02),
/* D8 */
- OPCODE(o5_printEgo),
+ OPCODE(o2_printEgo),
OPCODE(o5_doSentence),
OPCODE(o5_add),
OPCODE(o5_divide),
@@ -823,3 +823,14 @@
else
o5_jumpRelative();
}
+
+void Scumm_v2::o2_printEgo() {
+ //_actorToPrintStrFor = (unsigned char)_vars[VAR_EGO];
+ //_messagePtr = _scriptPointer;
+
+ printf("o2_printEgo(%s)\n", _scriptPointer);
+ _scriptPointer += resStrLen(_scriptPointer) + 1;
+ //_messagePtr = addMessageToStack(_messagePtr);
+ //_scriptPointer = _messagePtr;
+}
+
More information about the Scummvm-git-logs
mailing list