diff options
author | Chris Apers | 2003-11-28 10:11:56 +0000 |
---|---|---|
committer | Chris Apers | 2003-11-28 10:11:56 +0000 |
commit | 651beb46accdde3593d9f82ec297e4efc7f4c38d (patch) | |
tree | bdb9984bd737150261572f9792f197aad763cdb4 /simon | |
parent | 7d5551e50715f2eff52fb3f5ce1b6da0a07f8780 (diff) | |
download | scummvm-rg350-651beb46accdde3593d9f82ec297e4efc7f4c38d.tar.gz scummvm-rg350-651beb46accdde3593d9f82ec297e4efc7f4c38d.tar.bz2 scummvm-rg350-651beb46accdde3593d9f82ec297e4efc7f4c38d.zip |
Can't do this like that
svn-id: r11409
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 8d50a8f03a..0ab8215c94 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -1913,6 +1913,7 @@ startOver: for (;;) { _last_hitarea = NULL; _last_hitarea_3 = NULL; + for (;;) { if (_key_pressed == 35) f10_key(); @@ -1922,7 +1923,7 @@ startOver: if (_last_hitarea_3 != 0) break; hitarea_stuff_helper(); - delay(100); + delay(100); } ha = _last_hitarea; @@ -3511,7 +3512,6 @@ void SimonEngine::processSpecialKeys() { #ifdef __PALM_OS__ static const byte *_simon1_cursor; -static const byte **_simon2_cursors; #else static const byte _simon1_cursor[256] = { 0xe1,0xe0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, @@ -3531,6 +3531,7 @@ static const byte _simon1_cursor[256] = { 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, }; +#endif static const byte _simon2_cursors[10][256] = { // cross hair @@ -3704,7 +3705,6 @@ static const byte _simon2_cursors[10][256] = { 0xff,0xff,0xff,0xff,0xff,0xe5,0xe8,0xe9,0xe8,0xe5,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xe5,0xe5,0xe5,0xff,0xff,0xff,0xff,0xff,0xff,0xff }, }; -#endif void SimonEngine::draw_mouse_pointer() { if (_game & GF_SIMON2) @@ -4808,7 +4808,7 @@ void SimonEngine::delay(uint amount) { break; case OSystem::EVENT_LBUTTONDOWN: _left_button_down++; -#ifdef _WIN32_WCE +#if defined (_WIN32_WCE) || defined(__PALM_OS__) _sdl_mouse_x = event.mouse.x; _sdl_mouse_y = event.mouse.y; #endif @@ -5159,7 +5159,6 @@ _GSETPTR(Simon::simon2win_settings, GBVARS_SIMON2WINSETTINGS_INDEX, Simon::GameS _GSETPTR(Simon::simon2mac_settings, GBVARS_SIMON2MACSETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_SIMON) _GSETPTR(Simon::simon2dos_settings, GBVARS_SIMON2DOSSETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_SIMON) _GSETPTR(Simon::_simon1_cursor, GBVARS_SIMON1CURSOR_INDEX, byte, GBVARS_SIMON) -_GSETPTR(Simon::_simon2_cursors, GBVARS_SIMON2CURSORS_INDEX, const byte*, GBVARS_SIMON) _GEND _GRELEASE(Simon_Simon) @@ -5171,7 +5170,6 @@ _GRELEASEPTR(GBVARS_SIMON2WINSETTINGS_INDEX, GBVARS_SIMON) _GRELEASEPTR(GBVARS_SIMON2MACSETTINGS_INDEX, GBVARS_SIMON) _GRELEASEPTR(GBVARS_SIMON2DOSSETTINGS_INDEX, GBVARS_SIMON) _GRELEASEPTR(GBVARS_SIMON1CURSOR_INDEX, GBVARS_SIMON) -_GRELEASEPTR(GBVARS_SIMON2CURSORS_INDEX, GBVARS_SIMON) _GEND #endif |