Another half-assed stub, this time for o2_printEgo

svn-id: r7063
This commit is contained in:
James Brown 2003-04-21 14:50:48 +00:00
parent a6bd927456
commit 3fe8f939c6
2 changed files with 13 additions and 1 deletions

View File

@ -231,6 +231,7 @@ protected:
void o2_ifNotState02();
void o2_ifState01();
void o2_ifNotState01();
void o2_printEgo();
void o2_actorSet();
void o2_waitForActor();
void o2_waitForSentence();

View File

@ -303,7 +303,7 @@ void Scumm_v2::setupOpcodes() {
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 @@ void Scumm_v2::o2_equalZero() {
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;
}