diff options
author | Travis Howell | 2002-12-22 09:04:27 +0000 |
---|---|---|
committer | Travis Howell | 2002-12-22 09:04:27 +0000 |
commit | a3dae7bc3cd74b39b5039aa45c8107b94d86ca11 (patch) | |
tree | ecdab5ee93578e093e0d5e8f15b0fb292825a72c /simon | |
parent | 987a823ffea77338ad47c83419a0518d6970d504 (diff) | |
download | scummvm-rg350-a3dae7bc3cd74b39b5039aa45c8107b94d86ca11.tar.gz scummvm-rg350-a3dae7bc3cd74b39b5039aa45c8107b94d86ca11.tar.bz2 scummvm-rg350-a3dae7bc3cd74b39b5039aa45c8107b94d86ca11.zip |
Add default skip cut scene keys from original games.
Fix error in last commit
svn-id: r6057
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 3d0efd2fb2..09be405203 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -3077,6 +3077,11 @@ void SimonState::processSpecialKeys() _exit_cutscene = true; break; + case 63: // F5 + if (_game & GAME_SIMON2) + _exit_cutscene = true; + break; + case 't': _vk_t_toggle ^= 1; break; @@ -4569,7 +4574,10 @@ void SimonState::delay(uint amount) break; case OSystem::EVENT_RBUTTONDOWN: + if (_game & GAME_SIMON2) _skip_speech = true; + else + _exit_cutscene = true; break; } } @@ -4812,8 +4820,9 @@ void SimonState::playMusic(uint music_unk, uint music) _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); midi.read_all_songs(_game_file, music); _midi_unk1 = music; - } else - warning ("XMI music not supported"); + } else { + /* TODO Add XMI midi format support for simon2dos/talkie */ + } _vc72_var1 = music_unk; _vc70_var1 = 0xFFFF; _vc72_var3 = 0xFFFF; |