From b20187a0e92a284deb62298a63017de6e63a3661 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 22 Aug 2004 23:38:00 +0000 Subject: Cursor code cleanup svn-id: r14690 --- scumm/script_v5.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'scumm/script_v5.cpp') diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index bffc56a2c0..41dcd6beab 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -675,15 +675,14 @@ void ScummEngine_v5::o5_cursorCommand() { _userPut--; break; case 10: // SO_CURSOR_IMAGE - i = getVarOrDirectByte(PARAM_1); - j = getVarOrDirectByte(PARAM_2); - // cursor image in both Looms is based on image from charset - // omit for now. - // FIXME: Actually: is this opcode ever called by a non-Loom game? - // Which V3-V5 game besides Loom makes use of custom cursors, ever? + i = getVarOrDirectByte(PARAM_1); // Cursor number + j = getVarOrDirectByte(PARAM_2); // Charset letter to use + // Cursor image in both Looms are based on images from charset. + // For now we don't handle them. if (_gameId != GID_LOOM && _gameId != GID_LOOM256) { - warning("setCursorImg called - tell Fingolfin where you saw this!"); - setCursorImg(i, j, 1); + // FIXME: Actually: is this opcode ever called by a non-Loom game? + // Which V3-V5 game besides Loom makes use of custom cursors, ever? + warning("V3--V5 SO_CURSOR_IMAGE(%d,%d) called - tell Fingolfin where you saw this!", i, j); } break; case 11: // SO_CURSOR_HOTSPOT -- cgit v1.2.3