38237 Commits

Author SHA1 Message Date
Alejandro Marzini
e9c12368fc Fix link error with duplicated name files.
svn-id: r50255
2010-06-25 00:02:58 +00:00
Matthew Hoops
a8120dd9d6 Fix compile on Mac OS X (and probably *nix systems).
svn-id: r50254
2010-06-24 23:51:02 +00:00
Alejandro Marzini
de2b74e15a Added missing header.
svn-id: r50253
2010-06-24 23:41:27 +00:00
Alejandro Marzini
419e05bb89 Created macosx port from sdl backend.
svn-id: r50228
2010-06-24 19:05:59 +00:00
Alejandro Marzini
307d7aeb4f Added a init function to OSystem_SDL for early backend setup, and so allowing better sub classing.
svn-id: r50224
2010-06-24 17:37:09 +00:00
Alejandro Marzini
86a502c1de Renamed MacOSXMixerManager to BufferingSDLMixerManager.
svn-id: r50223
2010-06-24 17:13:32 +00:00
Alejandro Marzini
5fbed8a7e5 Made destructor virtual.
svn-id: r50199
2010-06-24 04:31:53 +00:00
Alejandro Marzini
d89cb33bcb Refactored SDL mixer manager. Created a SdlMixerManager subclass for Mac OSX.
svn-id: r50198
2010-06-24 04:11:54 +00:00
Alejandro Marzini
3029e50528 Fixed Posix port problem with destructor and configure.
svn-id: r50194
2010-06-23 22:02:00 +00:00
Alejandro Marzini
3af9282c19 Relocated Win32 and Posix ports. (Part 2)
svn-id: r50193
2010-06-23 21:07:03 +00:00
Alejandro Marzini
1069be7f9b Reversing modification by mistake from r50191.
svn-id: r50192
2010-06-23 21:00:21 +00:00
Alejandro Marzini
0fb9d3ccfa Relocated Win32 and Posix ports. (Part 1)
svn-id: r50191
2010-06-23 20:55:36 +00:00
Alejandro Marzini
04dce6a106 Fixed AudioCDManager not having a public inheritance. Backend code cleanup.
svn-id: r50189
2010-06-23 19:34:07 +00:00
Alejandro Marzini
1811e86648 Created posix port subclassed from sdl backend. Removed unnecessary #include in win32.cpp
svn-id: r50173
2010-06-22 23:55:25 +00:00
Alejandro Marzini
e7f00dfe13 Fixed build order, sound/ needs to come after backends/.
svn-id: r50171
2010-06-22 21:26:01 +00:00
Alejandro Marzini
9d41a45976 Created win32 port from sdl backend.
svn-id: r50103
2010-06-20 22:45:09 +00:00
Alejandro Marzini
e0fe48032d Made _sampleRate constant again in Audio::MixerImpl. (And Committing "common/timer.h" that should have been included in r50095)
svn-id: r50097
2010-06-20 20:19:53 +00:00
Alejandro Marzini
4a850209d7 Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager.
svn-id: r50095
2010-06-20 20:11:30 +00:00
Alejandro Marzini
99c0f82608 Fixed some disabled code that was with problems after modularization.
svn-id: r49899
2010-06-16 04:34:44 +00:00
Alejandro Marzini
54377bbb30 Adapted null backend to ModularBackend.
svn-id: r49681
2010-06-15 05:53:15 +00:00
Alejandro Marzini
d2f9355aee Improved ModularBackend and OSystem_SDL destructors.
svn-id: r49679
2010-06-15 05:15:34 +00:00
Alejandro Marzini
e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini
6a52a168ee Renamed abstract Manager files.
svn-id: r49677
2010-06-15 03:49:20 +00:00
Max Horn
3cd521ec30 Update build system
svn-id: r49664
2010-06-14 18:19:16 +00:00
Alejandro Marzini
77f114b835 Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL.
svn-id: r49637
2010-06-13 21:09:52 +00:00
Alejandro Marzini
a77738e53b Updated makefiles.
svn-id: r49636
2010-06-13 20:33:54 +00:00
Alejandro Marzini
360b82858c Added SdlEventManager.
svn-id: r49635
2010-06-13 20:31:25 +00:00
Alejandro Marzini
3cfa482b43 Created SdlMixerImpl. Added setSampleRate method to Audio::MixerImpl. Updated and removed mixer code in OSystem_SDL for using SdlMixerImpl.
svn-id: r49602
2010-06-12 02:54:51 +00:00
Alejandro Marzini
1447396d3f Added virtual desctructor to MutexManager.
svn-id: r49601
2010-06-12 00:15:22 +00:00
Alejandro Marzini
b49814f274 Fixed compilation error on Mac.
svn-id: r49600
2010-06-11 23:04:57 +00:00
Alejandro Marzini
e81fb60d34 Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged.
svn-id: r49590
2010-06-11 02:50:25 +00:00
Alejandro Marzini
11e8ac61d1 Added missing virtual functions in abstract class GraphicsManager.
svn-id: r49589
2010-06-11 01:55:59 +00:00
Alejandro Marzini
475fe8a3bd Added ModularBackend base class for backends.
svn-id: r49584
2010-06-10 20:31:08 +00:00
Alejandro Marzini
9e90858305 Removed deleted DefaultMutexManager from makefile.
svn-id: r49557
2010-06-10 03:20:00 +00:00
Alejandro Marzini
1cebd33262 Added an abstract version of MutexManager. Deleted DefaultMutexManager, now it's NullMutexManager.
svn-id: r49556
2010-06-10 03:18:16 +00:00
Alejandro Marzini
7b63e8ae25 Made creation of SdlMutexManager earlier than other modules.
svn-id: r49555
2010-06-10 03:16:50 +00:00
Alejandro Marzini
33c36f3c7c Commented AudioCDManager
svn-id: r49554
2010-06-10 02:08:08 +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
Alejandro Marzini
4177a1e16d Added an abstract version of AudioCDManager.
svn-id: r49547
2010-06-09 18:51:55 +00:00
Alejandro Marzini
9f2358612a Created DefaultAudioCDManager and SdlAudioCDManager
svn-id: r49532
2010-06-09 05:39:27 +00:00
Alejandro Marzini
7840aa1966 Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)
svn-id: r49531
2010-06-09 05:29:14 +00:00
Alejandro Marzini
5548548f95 Removed feature methods. Destructor made virtual.
svn-id: r49529
2010-06-09 03:38:57 +00:00
Alejandro Marzini
4fe0b4e1ad Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure virtual class GraphicsManager.
svn-id: r49528
2010-06-08 23:44:05 +00:00
Alejandro Marzini
7ea78b1036 Merged from trunk.
svn-id: r49499
2010-06-08 03:31:27 +00:00
Alejandro Marzini
7e9d54a69a Added Graphics and Mutex managers to makefile.
svn-id: r49498
2010-06-08 03:03:03 +00:00
Alejandro Marzini
b5a8fdc974 Made Mixer to subclass from Common::NonCopyable.
svn-id: r49497
2010-06-08 01:07:10 +00:00
Alejandro Marzini
8f5e39079c Deleted DefaultAudioManager.
svn-id: r49496
2010-06-08 01:00:21 +00:00
Martin Kiewitz
ea2e2053f2 SCI: slight cleanup on processPatch, etc.
svn-id: r49495
2010-06-07 21:55:57 +00:00
Martin Kiewitz
ae599e63c2 SCI: fix regression from #49484, we were ignoring 65535 patches and this broke kq6 - the check was previously for -1 and this case wasn't able to happen at all, maybe it was left-over code from freesci somehow
svn-id: r49494
2010-06-07 21:33:55 +00:00
Filippos Karapetis
419b4b7348 Added support for SCI2+ base36 encoded patches (audio36 and sync36)
svn-id: r49491
2010-06-07 17:44:17 +00:00