Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Johannes Schickel
1ad63b431e
BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.
...
This is done as discussed on -devel.
svn-id: r54516
2010-11-28 02:12:33 +00:00
Johannes Schickel
189c9bf216
OSYSTEM: Add API to query the system locale.
...
I also adapted the SDL backend to implement the API.
svn-id: r54479
2010-11-25 18:40:56 +00:00
Johannes Schickel
e1030e53a5
BACKENDS: Implement logging API proposed by Max on -devel.
...
This commits a slightly modified patch from my patch tracker item #3104630
"OSYSTEM: Add logging API as proposed by Max on -devel".
I was not able to test compilation on Android and SamsungTV, since there is no
toolchain for those on buildbot (or I was too blind to find them).
svn-id: r54339
2010-11-18 19:12:14 +00:00
Alejandro Marzini
e991cd8c53
- Revised abstract AudioCDManager.
...
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
2010-06-09 20:09:57 +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
abc76c6ddc
cleanup
...
svn-id: r36128
2009-01-29 17:43:55 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +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
83b3f336b4
cleanup
...
svn-id: r36009
2009-01-23 02:30:09 +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
Max Horn
36311eefb4
OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
...
svn-id: r34812
2008-10-16 17:18:15 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Nicola Mettifogo
12106a1599
Removed useless dependencies from common/file.h in common code. When complete removal was not possibile, dependency has been pushed to the cpp files from the headers.
...
svn-id: r34343
2008-09-05 11:41:39 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Johannes Schickel
3ea8f70792
Handle OSystem::lockScreen fail in default OSystem::clearScreen implementation.
...
svn-id: r34276
2008-09-02 13:11:54 +00:00
Max Horn
dca7116cb5
Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
...
svn-id: r33730
2008-08-09 23:07:32 +00:00
Travis Howell
f7cc93f71a
Removed unneeded #includes.
...
svn-id: r33627
2008-08-05 00:27:25 +00:00
Max Horn
4900a3e96e
Remove some code which was rendered obsolete by md5's commit r33610
...
svn-id: r33617
2008-08-04 17:46:22 +00:00
Filippos Karapetis
2efe13026d
Fixing compilation under MSVC
...
svn-id: r33610
2008-08-04 15:01:41 +00:00
Max Horn
b54a1227d9
OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
...
svn-id: r33585
2008-08-03 17:05:01 +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
62713a8b1b
Removed OSystem::getFilesystemFactory() default implentation, as announced
...
svn-id: r32824
2008-06-28 14:14:16 +00:00
Max Horn
8b56010712
Removed unneeded #include
...
svn-id: r32654
2008-06-10 21:40:53 +00:00
Eugene Sandulenko
5e666ef774
Patch #1971285 : "Nintendo Wii port"
...
svn-id: r32547
2008-06-04 20:28:20 +00:00
Neil Millstone
d019420649
Removing DS ifdef from getFileSystemFactory().
...
svn-id: r32248
2008-05-24 15:01:19 +00:00
Max Horn
df58a64ce0
Removed some dead code
...
svn-id: r32178
2008-05-19 13:13:41 +00:00
Max Horn
6206fb2a18
Removed the default OSystem::getTimeAndDate() implementation
...
svn-id: r32138
2008-05-15 11:36:56 +00:00
Joost Peters
2c67073084
Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()
...
svn-id: r31195
2008-03-19 11:07:27 +00:00
Max Horn
05b159609b
Removed remaining traces of the dead MorphOS backend, which itself was removed about one year ago
...
svn-id: r31114
2008-03-12 18:42:47 +00:00
Max Horn
3afe9c0b9e
Added OSystem_SDL::getFilesystemFactory()
...
svn-id: r31107
2008-03-11 17:24:34 +00:00
Robert Göffringmann
3b27b9fa43
the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.
...
svn-id: r31034
2008-03-03 00:41:59 +00:00
Marcus Comstedt
964caae2dd
Moved Dreamcast filesystem factory to platform directory.
...
svn-id: r31021
2008-03-01 15:45:54 +00:00
Max Horn
5c99d45d9f
Don't #include the FS factory implementations in common/system.cpp; rather, rely on the build system to include them
...
svn-id: r30957
2008-02-24 23:14:04 +00:00
Torbjörn Andersson
f3b497787a
Fixed warning.
...
svn-id: r30948
2008-02-24 01:12:39 +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
Max Horn
c4c481fecf
Removed backends/intern.h
...
svn-id: r30611
2008-01-22 14:16:02 +00:00
Eugene Sandulenko
ef319ad674
Patch #1859448 : Add OSystem::getTimeAndDate API
...
svn-id: r30034
2007-12-28 07:43:52 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +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
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
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
8fc8c4847d
Implemented a simple EventManager class
...
svn-id: r26154
2007-03-17 00:07:34 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00