diff options
| author | Max Horn | 2003-08-02 00:36:38 +0000 |
|---|---|---|
| committer | Max Horn | 2003-08-02 00:36:38 +0000 |
| commit | 103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98 (patch) | |
| tree | 7d65f9b26a214f40647f330831f7a2f627bc26fc /simon | |
| parent | 208a3925e90999e7bd28b53571e27e1b7a1a36cb (diff) | |
| download | scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.gz scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.bz2 scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.zip | |
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
Diffstat (limited to 'simon')
| -rw-r--r-- | simon/simon.cpp | 6 | ||||
| -rw-r--r-- | simon/simon.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index b24da6cb6f..5e39858db9 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -264,7 +264,6 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst) _fast_mode = 0; _dx_use_3_or_4_for_lock = 0; - _mouse_pos_changed = 0; _debugMode = 0; _debugLevel = 0; _language = 0; @@ -4289,10 +4288,6 @@ void SimonEngine::dx_update_screen_and_palette() { } } - if (_mouse_pos_changed) { - _mouse_pos_changed = false; - _system->set_mouse_pos(_sdl_mouse_x, _sdl_mouse_y); - } _system->copy_rect(_sdl_buf_attached, 320, 0, 0, 320, 200); _system->update_screen(); @@ -4494,7 +4489,6 @@ void SimonEngine::delay(uint amount) { case OSystem::EVENT_MOUSEMOVE: _sdl_mouse_x = event.mouse.x; _sdl_mouse_y = event.mouse.y; - _mouse_pos_changed = true; break; case OSystem::EVENT_LBUTTONDOWN: diff --git a/simon/simon.h b/simon/simon.h index f032fdb3cd..d38ebc4eaf 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -179,7 +179,6 @@ protected: bool _fast_mode; bool _dx_use_3_or_4_for_lock; - bool _mouse_pos_changed; uint16 _debugMode; uint16 _language; bool _noSubtitles; |
