Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM

svn-id: r32971
This commit is contained in:
Christopher Page 2008-07-09 02:27:05 +00:00
parent b8fe71e7a1
commit e808cdf7a0
41 changed files with 105 additions and 93 deletions

View file

@ -345,14 +345,14 @@ void AGOSEngine_Simon1::os1_pauseGame() {
if (isSmartphone()) {
if (_keyPressed.keycode) {
if (_keyPressed.keycode == Common::KEYCODE_RETURN)
_eventMan->pushEvent(Common::EVENT_QUIT);
quitGame();
else
break;
}
}
#endif
if (_keyPressed.keycode == keyYes)
_eventMan->pushEvent(Common::EVENT_QUIT);
quitGame();
else if (_keyPressed.keycode == keyNo)
break;
}