aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
AgeCommit message (Collapse)Author
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
2007-08-11Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks ↵Max Horn
templates; clarified some OSystem comments svn-id: r28517
2007-07-08Removed various obsolete methods from OSystem (screenToOverlayX/Y, ↵Max Horn
overlayToScreenX/Y) svn-id: r27961
2007-07-01Patch #1595026: engine init/shutdown OSystem methodsMax Horn
svn-id: r27837
2007-06-20typo - (returh => return) -- jvpratMatthew Hoops
svn-id: r27558
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax. svn-id: r27548
2007-06-03Adding the new kFeatureDisableKeyFiltering OSystem feature.Kostas Nakos
This feature is used by agi's prediction dialog and is a hint to the backend to temporarily switch off any keyboard mapping, used in devices with limited keyboard input. Also, supply some comments to the newly added event & feature. svn-id: r27069
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-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-03-24Corrected some c&p error in the documentation.Johannes Schickel
svn-id: r26298
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-17Implemented a simple EventManager classMax Horn
svn-id: r26154
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-10-02Implemented "iconify window" opcode. This, of course, needs support in theTorbjörn Andersson
backend to work, and so far it's only done in the SDL backend. See the new kFeatureIconifyWindow flag. (This is patch #1568775.) svn-id: r24060
2006-08-04Added new method OSystem::getScreenChangeID(), which can be used by code to ↵Max Horn
track screen changes even without getting all EVENT_SCREEN_CHANGED events svn-id: r23661
2006-07-09Added OSystem::setFocusRectangle (first part of Nintendo DS patch)Max Horn
svn-id: r23449