In Feeble Files, mouse clicks are recorded in _bitArray[] as well. I was hoping

that this would make a difference for the Oracle, but apparently not.

svn-id: r20828
This commit is contained in:
Torbjörn Andersson 2006-02-23 14:52:07 +00:00
parent f4c9c4f4d7
commit 7b25fa0bd4

View File

@ -4153,13 +4153,21 @@ void SimonEngine::delay(uint amount) {
_sdlMouseY = event.mouse.y;
break;
case OSystem::EVENT_LBUTTONDOWN:
if (getGameType() == GType_FF)
_bitArray[5] |= 0x0200;
_leftButtonDown++;
#if defined (_WIN32_WCE) || defined(PALMOS_MODE)
_sdlMouseX = event.mouse.x;
_sdlMouseY = event.mouse.y;
#endif
break;
case OSystem::EVENT_LBUTTONUP:
if (getGameType() == GType_FF)
_bitArray[5] &= ~0x0200;
break;
case OSystem::EVENT_RBUTTONDOWN:
if (getGameType() == GType_FF)
_bitArray[5] &= ~0x1000;
if (getGameType() == GType_SIMON2 || getGameType() == GType_FF)
_skipSpeech = true;
else