aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
AgeCommit message (Collapse)Author
2009-06-16Corrected oversight in earlier ifdef simplification which leads to ↵Jody Northup
compilation failure if ENABLE_16BIT is not defined. svn-id: r41581
2009-06-16Declared getBestFormat in OSystem base class, and implemented in SDL backend.Jody Northup
svn-id: r41580
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-13Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or ↵Jody Northup
GuiManager cursors will render properly over the game (on spacebar hit, for instance) svn-id: r41491
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-10Point to the Cursor and AudioCD Managers to help engine authors following ↵Jordi Vilalta Prat
the right path. svn-id: r41433
2009-06-10Extend documentation for "kFeatureCursorHasPalette".Johannes Schickel
svn-id: r41430
2009-06-10SDL backend now dynamically generates 8 or 16-bit color surface depending on ↵Jody Northup
engine request (using ad-hoc format). svn-id: r41416
2009-06-09Laying the foundation for preliminary bitdepth negotiation. (No ↵Jody Northup
functionality changes yet) svn-id: r41396
2009-06-06Corrected cursor display errors introduced by revision 41204, reimplemented ↵Jody Northup
16-bit cursor support in a less hacky, but still temporary way. svn-id: r41209
2009-06-05Corrected backend to be able to accept a 16-bit mouseKeyColor without overflowJody Northup
svn-id: r41194
2009-05-18Typo.Johannes Schickel
svn-id: r40693
2009-05-10Keymapper:Eugene Sandulenko
- Introduced new OSystem method getHardwareKeySet() with default implementation - Moved global keymap creation to base/main.cpp - Moved GUI keymap creation to gui/GuiManager.cpp - Added various safeguard checks to various keymapper methods Now it is really possible to add keymapper to all backends. svn-id: r40439
2009-02-24Fix my wrong comment on OSystem::updateScreen(). Now it is hopefully correctMax Horn
svn-id: r38860
2009-02-24Add some remarks on OSystem::updateScreen() propertiesMax Horn
svn-id: r38859
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
2009-01-30Removed default implementations of OSystem::getOverlayHeight() and ↵Max Horn
getOverlayWidth() svn-id: r36152
2009-01-30Document OSystem::copyRectToOverlay params more explicitly (esp. the pitch ↵Max Horn
param, which differs from that of copyRectToScreen) svn-id: r36150
2009-01-30Moved default implementations for various OSystem methods into a new class ↵Max Horn
BaseBackend svn-id: r36135
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-11-06Got rid of OSystem::ARGBToColor and colorToARGBMax Horn
svn-id: r34911
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2008-10-21Fixed: Broken english in System.h documentation.Vicent Marti
svn-id: r34835
2008-10-13OSYSTEM: Removed unused getExtraThemeConfig() method (TODO: Implement a new ↵Max Horn
system which allows ports to add/remove stuff from the options dialogs) svn-id: r34794
2008-09-27Modified Common::SearchSet to take signed integer priorities, for ↵Max Horn
convenience (so that one can add archives with less-than-default priority) svn-id: r34659
2008-09-07Add a priority param to OSystem::addSysArchivesToSearchSet (still in search ↵Max Horn
for a better name ;) svn-id: r34432
2008-09-07Added new OSystem method addSysArchivesToSearchSet() [better name pending, ↵Max Horn
suggestions welcome] svn-id: r34424
2008-08-03New OSystem API for loading/storing default config fileMax Horn
svn-id: r33584
2008-07-30This time properly reverted my accidental commits of the osystem&configman ↵Max Horn
patch (I didn't mean to commit it in the first place, still waiting for any replies to my corresponding scummvm-devel mail). Sorry for messing up so badly svn-id: r33459
2008-07-30Fixed Win32 build, after Fingolfin's commits (probably because of the revert ↵Nicola Mettifogo
in revision 33456). svn-id: r33458
2008-07-30Revert my accidental commit of the OSystem changes (oops)Max Horn
svn-id: r33456
2008-07-30Simplified advanced detector file sys scanning codeMax Horn
svn-id: r33455
2008-06-28Patch ##1956946 (Audio::Mixer internal API revision) with some tweaksMax Horn
svn-id: r32828
2008-06-28Removed OSystem::getFilesystemFactory() default implentation, as announcedMax Horn
svn-id: r32824
2008-05-19Typo.Johannes Schickel
svn-id: r32191
2008-05-15Removed the default OSystem::getTimeAndDate() implementationMax Horn
svn-id: r32138
2008-02-23Replaced FilesystemFactory::makeFSFactory with a new method ↵Max Horn
OSystem::getFilesystemFactory() svn-id: r30947
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-05Grammar fix in comment for kFeatureAutoComputeDirtyRectsPaul Gilbert
svn-id: r30240
2008-01-05Fixed comment that incorrectly reversed green and blue ordering for ↵Paul Gilbert
setPalette data svn-id: r30237
2007-12-28Patch #1859448: Add OSystem::getTimeAndDate APIEugene Sandulenko
svn-id: r30034
2007-12-22Document that we expect recursive mutex locking behaviorMax Horn
svn-id: r29952
2007-11-13Slightly extended/clarified two OSystem doxygen commentsMax Horn
svn-id: r29490
2007-10-28Patch v5.2 from #1752243: "backends lib patches"Eugene Sandulenko
svn-id: r29283
2007-09-23Fixed comment for grabPalette.Johannes Schickel
svn-id: r29079