aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
AgeCommit message (Collapse)Author
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-07Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an ↵Max Horn
FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation svn-id: r34434
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-08-16Added a MetaEngineFeature for RTL support, the RTL button is disabled in the ↵Christopher Page
GMM if the engine doesn't support it svn-id: r33921
2008-08-13Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not ↵Christopher Page
used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate svn-id: r33848
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
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
2008-07-08Improved GMM implementation by adding unified quit() and quitGame() methods ↵Christopher Page
for all engines. Also implemented a Queue class before and forgot to svn add, common/queue.h is added here. svn-id: r32958
2008-06-30Sound settings for Lure can be modified through the GMMChristopher Page
svn-id: r32855
2008-06-26Added syncSoundSettings() to Engine, sound settings can now be modified from ↵Christopher Page
the global main menu for most engines svn-id: r32815
2008-06-25Scumm and sky now use the new _quit flagChristopher Page
svn-id: r32775
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-02-01engine.h was moved from base/ to engines/ ages ago -- update header file ↵Max Horn
protector accordingly svn-id: r30724
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-30Split Engine::pauseEngine: It now does pauseLevel handling, while engines ↵Max Horn
can provide a simpler pauseEngineIntern method; provided default implementation of the latter which simply (un)pauses the mixer svn-id: r27801
2007-06-30Added Engine::pauseEngine method (allows outside code, like the backend, to ↵Max Horn
pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine svn-id: r27797
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974