Add text speed options for Simon games
svn-id: r6680
This commit is contained in:
parent
423f26bc27
commit
4f9213535a
2 changed files with 14 additions and 0 deletions
1
README
1
README
|
@ -334,6 +334,7 @@ simon games.
|
||||||
Tab - simulate right mouse button press
|
Tab - simulate right mouse button press
|
||||||
|
|
||||||
Simon:
|
Simon:
|
||||||
|
F1 - F3 - text speed, faster - slower
|
||||||
- and + - music volume, down/up
|
- and + - music volume, down/up
|
||||||
m - music on/off
|
m - music on/off
|
||||||
s - sound effects on/off
|
s - sound effects on/off
|
||||||
|
|
|
@ -3251,11 +3251,24 @@ bool SimonState::has_vgastruct_with_id(uint16 id, uint16 file)
|
||||||
|
|
||||||
void SimonState::processSpecialKeys()
|
void SimonState::processSpecialKeys()
|
||||||
{
|
{
|
||||||
|
//warning("Key press %d",_key_pressed);
|
||||||
switch (_key_pressed) {
|
switch (_key_pressed) {
|
||||||
case 27: // escape
|
case 27: // escape
|
||||||
_exit_cutscene = true;
|
_exit_cutscene = true;
|
||||||
break;
|
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
|
case 63: // F5
|
||||||
if (_game & GF_SIMON2)
|
if (_game & GF_SIMON2)
|
||||||
_exit_cutscene = true;
|
_exit_cutscene = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue