diff options
author | Gregory Montoir | 2006-11-15 22:35:45 +0000 |
---|---|---|
committer | Gregory Montoir | 2006-11-15 22:35:45 +0000 |
commit | 24df07d29dfeae8df28b74744f71962eb34686fc (patch) | |
tree | f8a26b7076fc30957a87acec8189689385b14590 /engines/touche/opcodes.cpp | |
parent | f55320f988a481ee7d92bcce39dfcbbf31d4151a (diff) | |
download | scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.tar.gz scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.tar.bz2 scummvm-rg350-24df07d29dfeae8df28b74744f71962eb34686fc.zip |
added handler for flag 618 (cursor display on/off) and workaround a palette glitch
svn-id: r24724
Diffstat (limited to 'engines/touche/opcodes.cpp')
-rw-r--r-- | engines/touche/opcodes.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/touche/opcodes.cpp b/engines/touche/opcodes.cpp index 1a287330d6..b8832799cc 100644 --- a/engines/touche/opcodes.cpp +++ b/engines/touche/opcodes.cpp @@ -411,6 +411,9 @@ void ToucheEngine::op_setFlag() { case 615: _fullRedrawCounter = 1; break; + case 618: + showCursor(val == 0); + break; default: break; } @@ -479,6 +482,18 @@ void ToucheEngine::op_loadRoom() { // _flagsTable[115] = 1; } + if (_currentEpisodeNum == 100 && num == 1 && _currentRoomNum == 2) { + // + // Same problem in script 100... + // + // [021F] (34) LOAD_ROOM(1) + // [xxxx] ... + // [023D] (13) ST[0] = 1 + // [0240] (1E) FLAGS[604] = ST[0] + // [0243] (84) START_PALETTE_FADE_IN(2) + // + _flagsTable[115] = 1; + } res_loadRoom(num); } |