aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
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: 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-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-08-02MACOSX: Turned update support off by default, simplified and cleaned the ↵Oystein Eftevaag
pull request
2011-07-19MACOSX: Add Sparkle supportCeRiAl
2011-07-19JANITORIAL: Fix MSVC warningsLittleboy
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
2011-07-13BACKENDS: Fix spelling of 'Mac OS X'Matthew Hoops
2011-07-13BACKENDS: Fix compilation on case-sensitive Mac OS XMatthew Hoops
2011-07-13BACKENDS: Fix a typoMatthew Hoops
2011-07-13BACKENDS: Remove unneeded define checkMatthew Hoops
2011-07-13BACKENDS: Rename appMenu_osx.* to appmenu_osx.*Matthew Hoops
2011-07-13BACKENDS: Fix compilation on Mac OS X without translation supportMatthew Hoops
2011-07-12Merge pull request #51 from CeRiAl/macosx-appmenu-i18nIsmail Khatib
MACOSX: Add i18n support for Mac OSX application menu
2011-07-12MACOSX: Fix application menu i18n compilation for Mac OSX 10.4+CeRiAl
2011-07-07PS3: Fix commentdhewg
2011-07-07MACOSX: Add i18n support for Mac OSX application menuCeRiAl
2011-06-30WIN32: Add option to disable the console window, keeping the current default ↵Travis Howell
of enabling the console window.
2011-06-26BACKENDS: Add special Win32 path to set SDL window iconLittleboy
We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback. This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later
2011-06-23Merge pull request #40 from bgK/ps3Eugene Sandulenko
PS3 Port
2011-06-23BACKENDS: Add better error handling to OSystem_Win32::getDefaultConfigFileName()Julien
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-22PS3: Map joypad buttons to features. Enable the virtual keyboard.Bastien Bouclet
2011-06-22PS3: Add a SDL 1.3 mixer, for use with the PS3 backend.Bastien Bouclet
SDL 1.3 allows converting from the S16SYS sound format to F32MSB, which is required by the PS3.
2011-06-22PS3: Initial version of the PlayStation 3 backendBastien Bouclet
2011-06-22SDL: Allow building with current SDL 1.3hgBastien Bouclet
2011-06-20WIN32: Properly setup priority in Win32 resource archive code.Johannes Schickel
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: Add define for Unity-specific taskbar codeLittleboy
2011-06-16BACKENDS: Move Win32TaskbarManager init code to constructorLittleboy
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 WIP Unity supportLittleboy
2011-06-16BACKENDS: Add use flag for taskbar integrationLittleboy
2011-06-16BACKENDS: Implement Win32 taskbar progress state and recent listLittleboy
2011-06-16BACKENDS: Add win32 stubs for taskbar integrationLittleboy
2011-06-16BACKENDS: Add generic TaskbarManager class to handle taskbar integrationLittleboy
2011-06-14WINCE: Add support for language auto-detection in WinCECeRiAl
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
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-06-04BACKENDS: Fix compilation on mingw64 (take 2)Littleboy
2011-06-04BACKENDS: Cast ShellExecute return value to long instead of intLittleboy
This should fix compilation on mingw64
2011-06-04BACKENDS: Fix compilation with mingwLittleboy
2011-06-04BACKENDS: Implement Win32 version of OSystem::displayLogFile interfaceLittleboy