diff options
author | Max Horn | 2004-08-22 23:38:00 +0000 |
---|---|---|
committer | Max Horn | 2004-08-22 23:38:00 +0000 |
commit | b20187a0e92a284deb62298a63017de6e63a3661 (patch) | |
tree | 8af7efb32dbcfdc1f94aa6a3835fbb517987c50c /scumm/script_v5.cpp | |
parent | 45ac190548b0b0f33c8dbc391cf14869862b1dac (diff) | |
download | scummvm-rg350-b20187a0e92a284deb62298a63017de6e63a3661.tar.gz scummvm-rg350-b20187a0e92a284deb62298a63017de6e63a3661.tar.bz2 scummvm-rg350-b20187a0e92a284deb62298a63017de6e63a3661.zip |
Cursor code cleanup
svn-id: r14690
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
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 |