Max Horn
d0c9b0cb23
* turned DefaultSaveFileManager::checkPath into a virtual method
...
* add a subclass of DefaultSaveFileManager for UNIX, POSIXSaveFileManager, which overloads checkPath
* switched SDL backend to use POSIXSaveFileManager if UNIX is #defined
svn-id: r34872
2008-11-03 10:45:59 +00:00
Johannes Schickel
7d331b7341
Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
...
svn-id: r34837
2008-10-22 17:44:12 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +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
55a05dc0f4
Some cleanup by peres
...
svn-id: r34308
2008-09-03 15:22:19 +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
Max Horn
44266bfc28
Slightly cleaned up version of patch #2072006 : Enhance OSystem_SDL::setupIcon
...
svn-id: r34192
2008-08-27 18:21:03 +00:00
Travis Howell
dded0de6c2
Remove warning about change of config file location under Windows, since it is frequently repeated (due to code restructures). The information is mentioned in the README anyway.
...
svn-id: r34104
2008-08-22 13:01:23 +00:00
Max Horn
16e02f051d
Turned SymbianFilesystemFactory from a singleton into a normal class; adapted symbian backend accordingly
...
svn-id: r34101
2008-08-22 11:49:34 +00:00
Max Horn
79751b07ae
SDL backend: Simplified openConfigFileForReading/openConfigFileForWriting impl; also init _fsFactory in constructor, as it is needed to load the config file
...
svn-id: r34100
2008-08-22 11:45:29 +00:00
Max Horn
b727ac880d
Turned Windows, AmigaOS and POSIX FSFactories into plain classes; no need for them to be singletons (actually true for all other FS factories)
...
svn-id: r34098
2008-08-22 11:36:47 +00:00
Johannes Schickel
388b3f0296
Properly close files opened when checking for config file on WIN32.
...
svn-id: r33953
2008-08-16 22:30:47 +00:00
Travis Howell
7318533189
Fix win32 compile.
...
svn-id: r33626
2008-08-05 00:21:46 +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
4a9104515c
SDL: Properly init vars related to mixer double buffering
...
svn-id: r33385
2008-07-29 00:02:06 +00:00
Paul Gilbert
cb366384f7
In OSystem_SDL::closeMixer moved the call to SDL_CloseAudio to before the deletion of the _mixer variable in to fix an assert that was being generated in OSystem_SDL::mixCallback
...
svn-id: r33095
2008-07-18 09:36:49 +00:00
Max Horn
943b4c2036
Implemented audio double buffering (for now OSX only)
...
svn-id: r33075
2008-07-15 17:13:06 +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
Johannes Schickel
5c8a93b486
Update comment.
...
svn-id: r32752
2008-06-22 12:39:40 +00:00
Johannes Schickel
73da6ab51e
- Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
...
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)
svn-id: r32540
2008-06-04 17:20:25 +00:00
Johannes Schickel
6358878a43
Fixed choppy sound on my Vista box. (after talking with Fingolfin about it)
...
svn-id: r32331
2008-05-27 21:18:21 +00:00
Max Horn
77f2e18dcf
Reduce audio buffer size, as indicated on scummvm-devel
...
svn-id: r32316
2008-05-27 08:01:06 +00:00
Lars Persson
acc5d79d7c
Remove Symbian FS creation from common SDL code
...
svn-id: r31364
2008-04-02 21:19:17 +00:00
Max Horn
b0c6a12c81
Modified Patch #1925352 : Memory leak fixes
...
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn
6b3b7a5dc2
Implemented OSystem_SDL::getTimeAndDate (identical to OSystem::getTimeAndDate, which will eventually be REMOVED -- all porters should copy this change, if they haven't already)
...
svn-id: r31112
2008-03-12 18:36:51 +00:00
Max Horn
3afe9c0b9e
Added OSystem_SDL::getFilesystemFactory()
...
svn-id: r31107
2008-03-11 17:24:34 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
c4c481fecf
Removed backends/intern.h
...
svn-id: r30611
2008-01-22 14:16:02 +00:00
Eugene Sandulenko
77eea722af
Modified patch #1738058 : "Action recorder".
...
svn-id: r28968
2007-09-19 13:55:05 +00:00
Torbjörn Andersson
c915fb8807
Fixed compilation.
...
svn-id: r28532
2007-08-11 19:34:46 +00:00
Max Horn
9402981517
SDL backend cleanup (minor)
...
svn-id: r28520
2007-08-11 08:44:43 +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
Robert Göffringmann
4a11e7299a
fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
...
svn-id: r26171
2007-03-17 15:45:05 +00:00
Nicola Mettifogo
1e985051a9
reduced dependency from windows-specific header files
...
svn-id: r26034
2007-03-09 00:13:07 +00:00
Kostas Nakos
cc42cb8309
Implement Fingolfin's modular backend timer, savefile and mixer managers
...
svn-id: r24691
2006-11-12 11:47:43 +00:00
Max Horn
c718463a24
Added Audio::Mixer::setReady method to work around bug #1588848
...
svn-id: r24583
2006-11-01 21:28:14 +00:00
Max Horn
f4d8920f2b
SDL backend: got rid of setTimerCallback and clearSoundCallback
...
svn-id: r24446
2006-10-22 16:05:07 +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
df5be19409
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
...
svn-id: r24153
2006-10-07 01:05:12 +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
ca7880df6c
Added new method OSystem::getScreenChangeID(), which can be used by code to track screen changes even without getting all EVENT_SCREEN_CHANGED events
...
svn-id: r23661
2006-08-04 13:10:28 +00:00
Max Horn
492c65009c
Started to move 'monolithic' parts of our ports to the new 'background/platform' directory (see also the 'Modular_Backends' page in our Wiki)
...
svn-id: r23293
2006-06-24 12:33:52 +00:00