diff options
author | Travis Howell | 2003-05-23 11:06:19 +0000 |
---|---|---|
committer | Travis Howell | 2003-05-23 11:06:19 +0000 |
commit | ade97e9fe2272c8b094adf4c253f934db8b08b86 (patch) | |
tree | 00c2c87f87a87c4c94c968732d476edc9dca3b79 /simon/simon.cpp | |
parent | 73c6cf8bc9601347ec364e6549fa1794925748e5 (diff) | |
download | scummvm-rg350-ade97e9fe2272c8b094adf4c253f934db8b08b86.tar.gz scummvm-rg350-ade97e9fe2272c8b094adf4c253f934db8b08b86.tar.bz2 scummvm-rg350-ade97e9fe2272c8b094adf4c253f934db8b08b86.zip |
_lock_counter controls seems to control whether mouse cursor should be shown but not sure what the default value should be
svn-id: r7855
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r-- | simon/simon.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 347a973f8e..278c15301c 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -282,7 +282,7 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst) _need_hitarea_recalc = 0; _verb_hitarea = 0; _hitarea_unk_4 = 0; - _lock_counter = 0; + _lock_counter = 200; _video_palette_mode = 0; @@ -1409,9 +1409,12 @@ void SimonState::unlock() { void SimonState::handle_mouse_moved() { uint x; - if (_lock_counter) + if (_lock_counter) { + _system->show_mouse(false); return; + } + _system->show_mouse(true); pollMouseXY(); if (_mouse_x >= 32768) @@ -2733,7 +2736,6 @@ void SimonState::o_wait_for_vga(uint a) { _timer_1 = 0; _exit_cutscene = false; _skip_speech = false; - _system->show_mouse(false); while (_vga_wait_for != 0) { if (_skip_speech) { if (_game & GF_SIMON2) { @@ -2765,7 +2767,6 @@ void SimonState::o_wait_for_vga(uint a) { } } - _system->show_mouse(true); } void SimonState::skip_speech() { |