Max Horn
6eef86ef4c
Fix my wrong comment on OSystem::updateScreen(). Now it is hopefully correct
...
svn-id: r38860
2009-02-24 21:22:04 +00:00
Max Horn
d3b715817d
Add some remarks on OSystem::updateScreen() properties
...
svn-id: r38859
2009-02-24 21:15:23 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- 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-02-15 21:20:21 +00:00
Max Horn
e7afcecda2
Removed default implementations of OSystem::getOverlayHeight() and getOverlayWidth()
...
svn-id: r36152
2009-01-30 16:23:41 +00:00
Max Horn
f49e0667a4
Document OSystem::copyRectToOverlay params more explicitly (esp. the pitch param, which differs from that of copyRectToScreen)
...
svn-id: r36150
2009-01-30 16:16:52 +00:00
Max Horn
c69ebfd798
Moved default implementations for various OSystem methods into a new class BaseBackend
...
svn-id: r36135
2009-01-30 03:35:47 +00:00
Max Horn
e4b013f616
Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to 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-23 03:30:40 +00:00
Max Horn
abc06ca18e
Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
...
svn-id: r35993
2009-01-22 04:35:10 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
edf9f24926
Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
...
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27
Got rid of OSystem::ARGBToColor and colorToARGB
...
svn-id: r34911
2008-11-06 14:27:13 +00:00
Johannes Schickel
985c02ee7d
Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".
...
svn-id: r34875
2008-11-03 13:44:59 +00:00
Vicent Marti
2630e964c9
Fixed: Broken english in System.h documentation.
...
svn-id: r34835
2008-10-21 18:13:35 +00:00
Max Horn
0c28575a72
OSYSTEM: Removed unused getExtraThemeConfig() method (TODO: Implement a new system which allows ports to add/remove stuff from the options dialogs)
...
svn-id: r34794
2008-10-13 12:38:58 +00:00
Max Horn
479e67f2f2
Modified Common::SearchSet to take signed integer priorities, for convenience (so that one can add archives with less-than-default priority)
...
svn-id: r34659
2008-09-27 18:32:01 +00:00
Max Horn
4f9dc05731
Add a priority param to OSystem::addSysArchivesToSearchSet (still in search for a better name ;)
...
svn-id: r34432
2008-09-07 21:59:25 +00:00
Max Horn
38a44f85ae
Added new OSystem method addSysArchivesToSearchSet() [better name pending, suggestions welcome]
...
svn-id: r34424
2008-09-07 21:30:55 +00:00
Max Horn
6377b8bdd5
New OSystem API for loading/storing default config file
...
svn-id: r33584
2008-08-03 16:54:18 +00:00
Max Horn
278a5fbb57
This time properly reverted my accidental commits of the osystem&configman 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-30 16:26:38 +00:00
Nicola Mettifogo
55e4eb8d15
Fixed Win32 build, after Fingolfin's commits (probably because of the revert in revision 33456).
...
svn-id: r33458
2008-07-30 16:06:46 +00:00
Max Horn
4632a33087
Revert my accidental commit of the OSystem changes (oops)
...
svn-id: r33456
2008-07-30 15:44:34 +00:00
Max Horn
fbe4f0dd48
Simplified advanced detector file sys scanning code
...
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
c45d632f3b
Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
...
svn-id: r32828
2008-06-28 15:28:29 +00:00
Max Horn
62713a8b1b
Removed OSystem::getFilesystemFactory() default implentation, as announced
...
svn-id: r32824
2008-06-28 14:14:16 +00:00
Johannes Schickel
26d6e2c68a
Typo.
...
svn-id: r32191
2008-05-19 23:22:11 +00:00
Max Horn
6206fb2a18
Removed the default OSystem::getTimeAndDate() implementation
...
svn-id: r32138
2008-05-15 11:36:56 +00:00
Max Horn
e421a23639
Replaced FilesystemFactory::makeFSFactory with a new method OSystem::getFilesystemFactory()
...
svn-id: r30947
2008-02-23 23:03:08 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
eb227a6d80
Grammar fix in comment for kFeatureAutoComputeDirtyRects
...
svn-id: r30240
2008-01-05 12:47:47 +00:00
Paul Gilbert
9097d97a35
Fixed comment that incorrectly reversed green and blue ordering for setPalette data
...
svn-id: r30237
2008-01-05 12:16:32 +00:00
Eugene Sandulenko
ef319ad674
Patch #1859448 : Add OSystem::getTimeAndDate API
...
svn-id: r30034
2007-12-28 07:43:52 +00:00
Max Horn
019ad44822
Document that we expect recursive mutex locking behavior
...
svn-id: r29952
2007-12-22 13:16:01 +00:00
Max Horn
d665b808ae
Slightly extended/clarified two OSystem doxygen comments
...
svn-id: r29490
2007-11-13 09:42:42 +00:00
Eugene Sandulenko
61c96353cf
Patch v5.2 from #1752243 : "backends lib patches"
...
svn-id: r29283
2007-10-28 12:04:38 +00:00
Johannes Schickel
6ee45acf9e
Fixed comment for grabPalette.
...
svn-id: r29079
2007-09-23 23:37:55 +00:00
Max Horn
a03119c5f5
Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks templates; clarified some OSystem comments
...
svn-id: r28517
2007-08-11 08:05:03 +00:00
Max Horn
41c68ac3e4
Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y)
...
svn-id: r27961
2007-07-08 12:02:38 +00:00
Max Horn
9f6922ddd2
Patch #1595026 : engine init/shutdown OSystem methods
...
svn-id: r27837
2007-07-01 20:28:57 +00:00
Matthew Hoops
218a2da5d4
typo - (returh => return) -- jvprat
...
svn-id: r27558
2007-06-20 17:52:24 +00:00
Max Horn
b51f2f3212
Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All 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-19 22:39:59 +00:00
Kostas Nakos
5df28554ac
Adding the new kFeatureDisableKeyFiltering OSystem feature.
...
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-06-03 18:44:03 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Johannes Schickel
7909c312bd
Corrected some c&p error in the documentation.
...
svn-id: r26298
2007-03-24 23:35:48 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class 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-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4
Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
...
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-17 15:44:26 +00:00
Max Horn
9751421434
Added class NonCopyable, and made various things derive from it
...
svn-id: r26163
2007-03-17 10:36:14 +00:00
Max Horn
15d9bc42ea
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
...
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
8fc8c4847d
Implemented a simple EventManager class
...
svn-id: r26154
2007-03-17 00:07:34 +00:00