aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
AgeCommit message (Collapse)Author
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-19Removed replaced Graphics::ColorMode enum type with factory methods for ↵Jody Northup
Graphics::PixelFormat. svn-id: r41662
2009-06-15made Graphics::PixelFormat(ColorMode) constructor explicit, removed ↵Jody Northup
Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway svn-id: r41540
2009-06-15Added kUnsupportedColorMode error code brought Scumm engine and SDL backend ↵Jody Northup
into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/ Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers. Removed last vestiges (I think) of initial cursor hack. svn-id: r41539
2009-06-12Unfinished proof of concept regarding my compromise with LordHoto in IRC.Jody Northup
svn-id: r41464
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-10Scumm engine now dynamically requests 16-bit color based on game features, ↵Jody Northup
(using ad-hoc request format) svn-id: r41417
2009-06-06Implement feature request #1180217: "GUI: Mute option"Eugene Sandulenko
svn-id: r41233
2009-03-01Check for "track01" as well as "track1". (I hope I didn't break compilation byTorbjörn Andersson
modifying Windows-only code.) svn-id: r39040
2009-01-30Avoid using g_engine if possibleMax Horn
svn-id: r36149
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-11-15Fixed strncpy usage.Johannes Schickel
svn-id: r35083
2008-11-15Paranoia: Add destination buffer size to Engine::errorString to help ↵Johannes Schickel
avoiding buffer overflows. svn-id: r35072
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-06Implemented GMM loading (and, once the GMM supports it, saving) for SCUMMMax Horn
svn-id: r34913
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-11-03Extend HACK in Engine::hasFeature, fixes GMM load dialog.Johannes Schickel
svn-id: r34889
2008-11-03Patch #2122869: ALL: Common load dialogMax Horn
svn-id: r34883
2008-10-26Implemented FR #2038951: "ALL: visible warning when CD music missing"Filippos Karapetis
svn-id: r34856
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755
2008-10-03Fixed Engine::hasFeature to use proper types (i.e., ↵Max Horn
MetaEngine::MetaEngineFeature instead of int) svn-id: r34731
2008-10-02Engine class changed:Max Horn
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine - got rid of the _autosavePeriod member (this prevented users from changing the autosave period during runtime) - Got rid of an evil 'using GUI::Dialog' statement - Clarified some Doxygen comments svn-id: r34720
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-07Symbian already store all paths with a trailing "\". Lars Persson
Quick fix waiting for proper solution svn-id: r34423
2008-09-07Temporary workaround for bug #2098279: ALL: Game path with no trailing ↵Max Horn
backslash fails svn-id: r34408
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-08-06Engine::runDialog() returns a value nowChristopher Page
svn-id: r33672
2008-08-05Fixed more warningsChristopher Page
svn-id: r33649
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-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-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-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-07-01Fix for bug #1746112 (SCUMM: Crash when pressing SPACE (Pause))Max Horn
svn-id: r27836
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-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
2007-03-17fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #defineRobert Göffringmann
svn-id: r26171
2007-03-09reduced dependency from windows-specific header filesNicola Mettifogo
svn-id: r26034
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-12removed warningsNicola Mettifogo
svn-id: r25534
2006-11-12Don't delete the savefile manager in the Engine destructorMax Horn
svn-id: r24703
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-09-23Fix mingw compileTravis Howell
svn-id: r23976