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
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
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
9d41a45976
Created win32 port from sdl backend.
...
svn-id: r50103
2010-06-20 22:45:09 +00:00
Alejandro Marzini
4a850209d7
Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager.
...
svn-id: r50095
2010-06-20 20:11:30 +00:00
David Turner
4ac81f3d18
Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.
...
svn-id: r49902
2010-06-16 07:22:54 +00:00
Martin Kiewitz
831e626ccd
SDL: only change mouse cursor, when mouse is currently within our window, also enable mouse position changing again for SCI
...
svn-id: r49866
2010-06-15 16:58:03 +00:00
Max Horn
703f0ca29c
SYSTEM: Unify OSystem::getSupportedFormats() signature
...
svn-id: r49838
2010-06-15 12:21:08 +00:00
Alejandro Marzini
d2f9355aee
Improved ModularBackend and OSystem_SDL destructors.
...
svn-id: r49679
2010-06-15 05:15:34 +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
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
7b63e8ae25
Made creation of SdlMutexManager earlier than other modules.
...
svn-id: r49555
2010-06-10 03:16:50 +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
9d8bff31a4
Moved toggleMouseGrab from SdlGraphicsManager. Disabled some code, will fix later. Added code for access for moved variables and functions in SdlGraphicsManager.
...
svn-id: r49475
2010-06-07 03:25:24 +00:00
Alejandro Marzini
e23ae648bc
Removed old subsystems design files. Removed graphics.cpp
...
svn-id: r49474
2010-06-07 03:23:05 +00:00
Alejandro Marzini
56b9e6c9b7
Removed code that is now in managers. Added mutex and graphics manager initialization and functions redirections.
...
svn-id: r49473
2010-06-07 03:19:18 +00:00
Max Horn
767edc91fa
OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects
...
svn-id: r49388
2010-06-02 00:52:57 +00:00
Max Horn
93867d567f
Inline palettes in SDL backend into class OSystem_SDL
...
svn-id: r49383
2010-06-01 22:28:24 +00:00
Alejandro Marzini
38dbbca964
Removed OSystem pointer. Added left initialization code to file subsystem.
...
svn-id: r49370
2010-06-01 04:02:44 +00:00
Alejandro Marzini
0bc8f4c8b4
SDL audio subsystem created.
...
svn-id: r49369
2010-06-01 04:00:55 +00:00
Torbjörn Andersson
1c32db1e08
Removed some unused variables, found by cppcheck.
...
svn-id: r49306
2010-05-29 08:09:47 +00:00
Alejandro Marzini
16c559a095
Added again base-backend. Started sdl backend refatoring, file, mutex and timer subsystems created.
...
svn-id: r49305
2010-05-29 01:56:34 +00:00
Eugene Sandulenko
01c55efc95
SDL: Split quit() method into deinit() so error codes could be returned.
...
svn-id: r49131
2010-05-21 18:22:11 +00:00
Eugene Sandulenko
e7330aa0af
Fix spelling
...
svn-id: r49130
2010-05-21 18:18:52 +00:00
Andre Heider
be0885e9d1
Revert r48979. Instead, make the HQ scalers depend on the normal ones. Configure reflects that now.
...
svn-id: r48996
2010-05-10 17:25:12 +00:00
Andre Heider
998531a022
Since configure allows HQ scalers without the normal onces, allow this combination.
...
svn-id: r48979
2010-05-09 12:30:20 +00:00
Andre Heider
a3e428f6db
Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
...
svn-id: r48977
2010-05-09 11:00:17 +00:00
Andre Heider
845d1869d8
abort() when calling setPalette() or grabPalette() in non CLUT8 modes.
...
svn-id: r48757
2010-04-20 21:16:58 +00:00
Johannes Schickel
9c8813b6d4
Commit of patch #2980597 "GSoC: GUI: Text input + Right Alt (bug #2978736 )".
...
svn-id: r48524
2010-04-04 22:08:18 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
c934642bdb
COMMON: Move typedef StringList from str.h to new header str-array.h
...
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
9b837d66d4
Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
...
svn-id: r48238
2010-03-11 23:39:51 +00:00
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01:44 +00:00
Max Horn
28c6c600d4
Move some aspect ratio related stuff to graphics/scaler/aspect.h
...
svn-id: r48186
2010-03-08 10:29:00 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
157a1df30d
Fix sample buffer calculation. Now it really asks for a buffer of 2048 samples for 22050Hz, like the comment states.
...
svn-id: r47558
2010-01-25 17:59:05 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
71b4b3dcba
- Adapt documentation, that keycolor in setMouseCursor may not exceed the maximum color value of the specified format.
...
- Change SDL backend to assert out on invalid keycolor values
In case we really need a way to specify "no keycolor" we need to
discuss on how to do it *properly*.
svn-id: r47123
2010-01-07 15:28:58 +00:00
Matthew Hoops
144bd33ec4
Silence some gcc 3.4.5 warnings.
...
svn-id: r46415
2009-12-19 02:03:41 +00:00