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

@ -246,3 +246,10 @@ void Engine::syncSoundSettings() {
_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, soundVolumeSFX);
_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, soundVolumeSpeech);
}
void Engine::quitGame() {
Common::Event event;
event.type = Common::EVENT_QUIT;
_eventMan->pushEvent(event);
}