diff options
author | Travis Howell | 2003-03-04 01:30:56 +0000 |
---|---|---|
committer | Travis Howell | 2003-03-04 01:30:56 +0000 |
commit | 4f9213535a9c377e463bd4cdfb715c071a0c032c (patch) | |
tree | ecab56dcd0e0706fa477191fd668f3b7666d8f1a | |
parent | 423f26bc27979eb3f6d03082bae991a103d73fbd (diff) | |
download | scummvm-rg350-4f9213535a9c377e463bd4cdfb715c071a0c032c.tar.gz scummvm-rg350-4f9213535a9c377e463bd4cdfb715c071a0c032c.tar.bz2 scummvm-rg350-4f9213535a9c377e463bd4cdfb715c071a0c032c.zip |
Add text speed options for Simon games
svn-id: r6680
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | simon/simon.cpp | 13 |
2 files changed, 14 insertions, 0 deletions
@@ -334,6 +334,7 @@ simon games. Tab - simulate right mouse button press Simon: + F1 - F3 - text speed, faster - slower - and + - music volume, down/up m - music on/off s - sound effects on/off diff --git a/simon/simon.cpp b/simon/simon.cpp index 50a9d06f5e..f7d76ef0b4 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -3251,11 +3251,24 @@ bool SimonState::has_vgastruct_with_id(uint16 id, uint16 file) void SimonState::processSpecialKeys() { + //warning("Key press %d",_key_pressed); switch (_key_pressed) { case 27: // escape _exit_cutscene = true; break; + case 59: // F1 + vc_write_var(5, 50); + vc_write_var(86, 0); + break; + case 60: // F2 + vc_write_var(5, 75); + vc_write_var(86, 1); + break; + case 61: // F3 + vc_write_var(5, 125); + vc_write_var(86, 2); + break; case 63: // F5 if (_game & GF_SIMON2) _exit_cutscene = true; |