[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.203,1.204
Travis Howell
kirben at users.sourceforge.net
Fri May 23 04:07:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv24234/simon
Modified Files:
simon.cpp
Log Message:
_lock_counter controls seems to control whether mouse cursor should be shown but not sure what the default value should be
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- simon.cpp 21 May 2003 17:49:33 -0000 1.203
+++ simon.cpp 23 May 2003 11:06:19 -0000 1.204
@@ -282,7 +282,7 @@
_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::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 @@
_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 @@
}
}
- _system->show_mouse(true);
}
void SimonState::skip_speech() {
More information about the Scummvm-git-logs
mailing list