From ade97e9fe2272c8b094adf4c253f934db8b08b86 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 23 May 2003 11:06:19 +0000 Subject: [PATCH] _lock_counter controls seems to control whether mouse cursor should be shown but not sure what the default value should be svn-id: r7855 --- simon/simon.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/simon/simon.cpp b/simon/simon.cpp index 347a973f8e0..278c15301c5 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() {