Commit Graph

117 Commits

Author SHA1 Message Date
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
Max Horn
f95f5ed133 Added OSystem::getTimerManager and OSystem::getMixer methods (wip)
svn-id: r24405
2006-10-21 12:03:43 +00:00
Torbjörn Andersson
d7b786ea41 Implemented "iconify window" opcode. This, of course, needs support in the
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-10-02 04:46:50 +00:00
Max Horn
6a588f8399 Moved savefile code to new 'saves' backend module (work in progress)
svn-id: r23282
2006-06-24 10:08:43 +00:00
Max Horn
ae50315fa0 Added a default implementation of the OSystem CD API (which simply does nothing)
svn-id: r22370
2006-05-06 18:10:38 +00:00
Max Horn
5d5c02d66c Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
9217472f0e With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Chris Apers
4c8cd695da Typo
svn-id: r20351
2006-02-02 20:35:21 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
1d6ecabfbe Prepare new backends and potential native version
svn-id: r18747
2005-09-03 16:15:39 +00:00
Joost Peters
bc394b6ea3 Added: PSP backend
svn-id: r18696
2005-08-16 17:15:37 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Max Horn
aa9debccec Forgot to commit this
svn-id: r16567
2005-01-15 23:08:12 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
6f6668ce21 Reduce dependencies on common/savefile.h from 88 to 14
svn-id: r16528
2005-01-10 22:18:39 +00:00
Max Horn
788c828026 yet another attempt to get makeInstance working for gcc 3.3, gcc 3.2, and MSVC (thanks to wjp for the suggestion). Works fine with GCC 3.2 and 3.3
svn-id: r16525
2005-01-10 21:06:49 +00:00
Max Horn
bc44b5ec15 Added new interface SeekableReadStream
svn-id: r16493
2005-01-09 01:41:43 +00:00
Max Horn
5d88c39549 Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133)
svn-id: r16454
2005-01-06 18:38:34 +00:00
Max Horn
74bf578bda Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
e5f90509a6 Cleaned up SaveFileManager stuff a little bit
svn-id: r14056
2004-06-25 22:11:48 +00:00
Max Horn
cff4e1d49f Tweaks (Morphos & Palm backends badly need updating :-/)
svn-id: r13848
2004-05-21 20:43:07 +00:00
Max Horn
39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn
af80eef70e fix circular header dependency, by moving StackLock class to common/system.h (it ties closely into OSystem anyway)
svn-id: r13292
2004-03-15 01:52:07 +00:00
Max Horn
e46ba2f29f Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
2004-03-15 00:45:45 +00:00
Chris Apers
fbd040ac9f Obsolete
svn-id: r13144
2004-03-02 13:07:08 +00:00
Max Horn
751435d54f cleanup
svn-id: r13069
2004-02-27 15:52:23 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Chris Apers
db2bf22b35 Removed 'fullscreen' option (PalmOS)
svn-id: r11656
2003-12-15 15:13:36 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Max Horn
a7eb1b5207 forgot to commit this, sorry guys
svn-id: r11048
2003-11-02 10:18:10 +00:00