aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
AgeCommit message (Collapse)Author
2010-11-29SDL: Move #include <SDL.h> into a special wrapper fileMax Horn
svn-id: r54572
2010-11-28SDL: Merge deinit() into OSystem_SDL destructor and overload fatalErrorMax Horn
svn-id: r54526
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
2010-11-28BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.Johannes Schickel
This is done as discussed on -devel. svn-id: r54516
2010-11-26SDL: Hook up file logger to log on UNIX-like systems.Johannes Schickel
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log. svn-id: r54489
2010-11-25OSYSTEM: Add API to query the system locale.Johannes Schickel
I also adapted the SDL backend to implement the API. svn-id: r54479
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-10-21OPENGL: Add an SdlEventSource member to OSystem_SDL instead of subclassing ↵Johannes Schickel
SdlEventSource. Derived backends are allowed to overwrite that member in case they need special handling of SDL events. svn-id: r53675
2010-10-13OPENGL: Replace SdlEventManager by SdlEventSource.Johannes Schickel
Formerly SdlEventManager was a subclass of DefaultEventManager but did not really have anything in common with the idea of our EventManager interface. Now I made a new object SdlEventSource which only subclasses EventSource and which is responsible for obtaining events from SDL (and processing them). svn-id: r53433
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-07-30SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.Alejandro Marzini
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493
2010-07-19SDL: Hack to handle special SDL events.Alejandro Marzini
svn-id: r51015
2010-07-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832
2010-07-11Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵Alejandro Marzini
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-03Cleanup and documentation.Alejandro Marzini
svn-id: r50610
2010-07-02Cleanup and documentation.Alejandro Marzini
svn-id: r50589
2010-06-29Modularized Linuxmoto port.Alejandro Marzini
svn-id: r50474
2010-06-27Improved getDefaultConfigFileName(). Code cleanup.Alejandro Marzini
svn-id: r50364
2010-06-26Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString ↵Alejandro Marzini
function. svn-id: r50301
2010-06-24Added a init function to OSystem_SDL for early backend setup, and so ↵Alejandro Marzini
allowing better sub classing. svn-id: r50224
2010-06-24Refactored SDL mixer manager. Created a SdlMixerManager subclass for Mac OSX.Alejandro Marzini
svn-id: r50198
2010-06-23Fixed AudioCDManager not having a public inheritance. Backend code cleanup.Alejandro Marzini
svn-id: r50189
2010-06-20Created win32 port from sdl backend.Alejandro Marzini
svn-id: r50103
2010-06-20Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager.Alejandro Marzini
svn-id: r50095
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-13Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to ↵Alejandro Marzini
Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL. svn-id: r49637
2010-06-13Added SdlEventManager.Alejandro Marzini
svn-id: r49635
2010-06-12Created SdlMixerImpl. Added setSampleRate method to Audio::MixerImpl. ↵Alejandro Marzini
Updated and removed mixer code in OSystem_SDL for using SdlMixerImpl. svn-id: r49602
2010-06-11Fixed compilation error on Mac.Alejandro Marzini
svn-id: r49600
2010-06-11Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now ↵Alejandro Marzini
subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged. svn-id: r49590
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- 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-07Removed code that is now in managers. Added mutex and graphics manager ↵Alejandro Marzini
initialization and functions redirections. svn-id: r49473
2010-06-02OSYSTEM: Get rid of kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r49388
2010-06-01Inline palettes in SDL backend into class OSystem_SDLMax Horn
svn-id: r49383
2010-05-21SDL: Split quit() method into deinit() so error codes could be returned.Eugene Sandulenko
svn-id: r49131
2010-04-04Commit of patch #2980597 "GSoC: GUI: Text input + Right Alt (bug #2978736)".Johannes Schickel
svn-id: r48524
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-10Remove last traces of OSystem::getOutputSampleRate()Max Horn
svn-id: r48229
2010-03-08Move some aspect ratio related stuff to graphics/scaler/aspect.hMax Horn
svn-id: r48186
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-04Prevent SDL backend from eating up keypress events with Ctrl+Alt set.Johannes Schickel
svn-id: r46259
2009-11-30Remove use_scaler defines around enum in order for graphics to compile properly.Lars Persson
svn-id: r46216
2009-11-15Make _mouseKeyColor a uint32 when USE_RGB_COLOR is defined to fix key color ↵Matthew Hoops
with some cursors when using a >8bpp cursor. svn-id: r45929
2009-11-10SDL: cleanupMax Horn
svn-id: r45817
2009-11-10SDL: Remove const from new handle*() method for now, to allow using remapKey ↵Max Horn
(ultimately, the goal is to get back the const by changing how remapping works) svn-id: r45797
2009-11-09Revert rev 45791 and make the first param of OSystem_SDL::remapKey again ↵Max Horn
non-const (as it may have to be modified for remapping. Of course. Silly me :/) svn-id: r45796
2009-11-09SDL: Factor code from OSystem_SDL::pollEvent into various new virtual ↵Max Horn
methods, to make it easier to customize these (no code indention changes for easier diffing) svn-id: r45792