Commit graph

69 commits

Author SHA1 Message Date
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
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +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
Torbjörn Andersson
32e2f9e8f3 Fixed warning when DISABLE_SCALERS is defined.
svn-id: r30074
2007-12-29 14:11:12 +00:00
Paul Gilbert
806ac51e45 Added events for the middle mouse button - EVENT_MBUTTONDOWN and EVENT_MBUTTONUP
svn-id: r30068
2007-12-29 09:48:49 +00:00
Max Horn
9b0dc6f757 Do not use SDL_WM_ToggleFullScreen, it's buggy on too many systems. Should fix bug #1705410.
svn-id: r30006
2007-12-26 23:00:18 +00:00
Nicola Mettifogo
e74af15a7f Workaround for bug #1763018. Since Amiga key doesn't work as a modifier with SDL, we're allowing Amiga users to quit with Ctrl-z or Alt-x. This also fixes bug #1762886.
svn-id: r29826
2007-12-11 20:21:44 +00:00
Lars Persson
40a74b3b08 Symbian build system does not cope with include file with the same name, specific sub include path will fix this depency.
svn-id: r29625
2007-11-24 11:41:54 +00:00
Lars Persson
c6905d56a9 Don't include windows.h for Symbian emulator builds
svn-id: r29119
2007-09-28 20:41:22 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +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
4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Torbjörn Andersson
c915fb8807 Fixed compilation.
svn-id: r28532
2007-08-11 19:34:46 +00:00
Filippos Karapetis
156fa8e84f windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZE
svn-id: r28522
2007-08-11 11:31:31 +00:00
Max Horn
9402981517 SDL backend cleanup (minor)
svn-id: r28520
2007-08-11 08:44:43 +00:00
Max Horn
45aea284d1 whitespaces
svn-id: r27787
2007-06-30 12:39:12 +00:00
Max Horn
f97cbb8294 Update GUI::Key constructs
svn-id: r27643
2007-06-23 00:05:32 +00:00
Max Horn
2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +00:00
Matthew Hoops
2496c5b554 fix compile (thanks salty-horse!)
svn-id: r27614
2007-06-22 18:57:07 +00:00
Max Horn
55f93678b8 Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)
svn-id: r27612
2007-06-22 17:51:51 +00:00
Max Horn
bd9ba26109 Modified version of patch #1740493 (EVENTS: Event Key Codes)
svn-id: r27592
2007-06-21 18:35:15 +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
f80799cd5b Fix for bug #1690813: BASS: Crash when changing scalers during intro
svn-id: r27435
2007-06-15 21:21:42 +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