aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.cpp
AgeCommit message (Collapse)Author
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-23SDL: Always initialize video subsystem in initSDL.Johannes Schickel
2013-10-23SDL: Clean up graphics manager switching slighty.Johannes Schickel
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for 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-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-07-04SDL: Fix compilation by moving getMixerManager out of USE_OPENGL guard.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-06-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2011-08-11SDL: Previous commit broke compilation on MSVCPaul Gilbert
Including cursorman.cpp rather than cursorman.h resulted in the CursorManager class being present in multiple .obj files, resulting in linking errors.
2011-08-11SDL: Implement a hellish workaround to fix bug #3368143.Johannes Schickel
The bug in question is "SDL/OpenGL: Crash when switching renderer backend". To fix it I added a stupid graphics state copying to the SDL backend, in case the graphics manager is switched. The implementation of this is considered a pure workaround, no one should ever do it like this in reality... I just want to die when looking at this... Not sure why I actually committed it. Anyway it at least makes the OpenGL backend testable for those who do not want to fiddle with the config file directly.
2011-08-09SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.Johannes Schickel
This also adapts port I can not test (not even the compilation). So if this breaks anything I am sorry about it.
2011-08-06RECORDER: Added stub for delayMillis() processingEugene Sandulenko
2011-06-23Merge pull request #40 from bgK/ps3Eugene Sandulenko
PS3 Port
2011-06-23BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings ↵Julien
by initializing the buffers to 0
2011-06-22Merge pull request #26 from Littleboy/taskbarEugene Sandulenko
Taskbar integration
2011-06-22SDL: Allow building with current SDL 1.3hgBastien Bouclet
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-19SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its ↵Johannes Schickel
purpose. Hopefully I catched all uses of the old name in our ports...
2011-06-19SDL: Remove left over traces from the time the SdlEventSource subclassed ↵Johannes Schickel
DefaultEventManager.
2011-06-17SDL: Make logMessage() implementation independent from parent class(es)Max Horn
2011-06-16BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar ↵Littleboy
integration is not enabled
2011-06-16BACKENDS: Integrate glib main event loopLittleboy
- Unity needs a glib event loop to dispatch events. - Cleanup whitespace and indentation
2011-06-16BACKENDS: Add generic TaskbarManager class to handle taskbar integrationLittleboy
2011-06-14WINCE: Add support for language auto-detection in WinCECeRiAl
2011-06-06SDL: Use #define FORBIDDEN_SYMBOL_ALLOW_ALL (backends can use any symbol)Max 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-06-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax Horn
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warningsEugene Sandulenko
2011-04-12WEBOS: Correct indentation of WEBOS preprocessor checkKlaus Reimer
2011-04-12WEBOS: Add WEBOS defineKlaus Reimer
Using SDL_INIT_VIDEO flag for WebOS because without it the application won't start.
2011-02-24SDL: Prevent graphics manager hotswapping on startup. (This time for real)Johannes Schickel
2011-02-24SDL: Prevent unnecessary gfx manager hotswapdhewg
2010-11-29SDL: Move createLogFile implementions to the OSystem_SDL subclasses.Johannes Schickel
svn-id: r54581
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
2010-11-29SDL: Revert r54554, and add explanatory comment (fix for bug #3121841)Max Horn
svn-id: r54574
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-28SDL: Reduce redundant deletes from OSystem_SDL destructorMax Horn
svn-id: r54554
2010-11-28SDL: Merge deinit() into OSystem_SDL destructor and overload fatalErrorMax Horn
svn-id: r54526
2010-11-28SDL: Fix compilation on Windows too.Johannes Schickel
svn-id: r54524
2010-11-28SDL: Make SDL backend compile again.Johannes Schickel
svn-id: r54523
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-26I18N: Fix language detection in UNIX (not everyone speaks German yet)Jordi Vilalta Prat
svn-id: r54494
2010-11-26SDL: Hook up file logger to log on Windows.Johannes Schickel
For now the log file will be either "%APPDATA%/ScummVM/Logs/scummvm.log" or "%USERPROFILE%/Application Data/ScummVM/Logs/scummvm.log" to match the location of the default ScummVM configuration file. svn-id: r54490