Some V2 stuff

svn-id: r7309
This commit is contained in:
James Brown 2003-05-04 04:30:49 +00:00
parent 30ebd2d7ff
commit e829d618c8

View File

@ -1181,8 +1181,26 @@ void Scumm_v2::o2_setObjectName() {
}
void Scumm_v2::o2_cursorCommand() {
getVarOrDirectWord(0x80);
warning("TODO: o2_cursorCommand()");
int cmd = getVarOrDirectWord(0x80);
int a2 = cmd >> 8;
if (a2 & 4) {Warning("TODO: o2_cursorCommand(userface);} // Toggle verbs on/off, etc
if (a2 & 1) { // Freeze
if (a2 & 8)
freezeScripts(0);
else
unfreezeScripts();
}
if (a2 & 2) { // Cursor Show/Hide
if (a2 & 16)
_cursor.state = 1;
else
_cursor.state = 0;
verbMouseOver(0);
}
}
void Scumm_v2::o2_getActorWalkBox() {