aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
AgeCommit message (Collapse)Author
2015-02-16SDL: Handle icon setup in SdlWindow.Johannes Schickel
2015-02-16SDL: Add basic abstraction class for the SDL window.Johannes Schickel
2014-02-18SDL: Make GPL headers consistent in themselves.Johannes Schickel
2013-10-23SDL: Fix default graphics mode for switchable case.Johannes Schickel
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns the index in the table returned by getSupportedGraphicsModes. Now the correct ID is searched and then used.
2013-10-23SDL: Make setupGraphicsModes non-virtual.Johannes Schickel
The logic of switching the managers is pretty much fixed at the same level and cannot be easily overwritten.
2013-10-23SDL: Get rid of _glModesCount.Johannes Schickel
2013-10-23SDL: Get rid of loop in OSystem_SDL::setGraphicsMode.Johannes Schickel
2013-10-23SDL: Clean up graphics mode handling for OpenGL backend.Johannes Schickel
Instead of custom memory management Common::Array is used now.
2013-10-19SDL: Add a OpenGL SDL backend and hook it into the SDL backend.Johannes Schickel
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now.
2013-10-05BACKENDS: Remove OpenGL and OpenGL SDL backend.Johannes Schickel
This breaks our Tizen port.
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-02-28KEYMAPPER: HardwareInputSet now has defaultsTarek Soliman
Ports can add additional special keys. SDL no longer carries the static tables. Default behavior unchanged: HardwareInputSet() still gives an empty one.
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-13SDL: Get rid of unneeded forwards.Johannes Schickel
2012-02-13ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.Johannes Schickel
2012-02-12KEYMAPPER: Refactor HardwareKeySet generationTarek Soliman
2011-08-09SDL: Take advantage of SdlGraphicsManager.Johannes Schickel
This gets rid of the hacks, where SdlEventSource added events with custom type numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager. Furthermore it get rids of the uninituitive and hard to trace way of assigning the proper mouse coordinates to mouse related events. Formerly it passed the real screen coordinates through the even dispatching api to the graphics manager (at least hopefully ;-) and let that handle creating a new event with the proper coordinates. Now instead SdlEventSource handles the proper coordinate setup itself. Since this is a behavior change and I can not test all the SDL based small devices ports this commit might break compilation for them and more serve it might also break mouse position behavior. If any of that occurs I am sorry about it.
2011-06-16BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar ↵Littleboy
integration is not enabled
2011-06-16BACKENDS: Add generic TaskbarManager class to handle taskbar integrationLittleboy
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
This is used to provide default implementations for createConfigWriteStream and createConfigReadStream, which can be used by most backends. Note that backends can still override createConfigRead/WriteStream; this could be useful if settings on some port are not stored in a regular file (think 'Windows registry', for a hypothetical example).
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-29SDL: Move createLogFile implementions to the OSystem_SDL subclasses.Johannes Schickel
svn-id: r54581
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