aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2012-11-18OSX: Remove use of deprecated methodsThierry Crozat
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we use CFURLRef instead.
2012-11-18OSX: Improve native OS X browser dialogMax Horn
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-24SDL: Remove main.cpp.Alyssa Milburn
Backends have to provide their own main, instantiating OSystem_SDL directly is unsupported.
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
2012-03-17JANITORIAL: Remove +x from files, which should not be executable.Christoph Mallon
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-21KEYMAPPER: Remove automapping dead codeTarek Soliman
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
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
2012-01-23WINDOWS: Add default save paths for Windows NT4 onwardsTravis Howell
2012-01-14OSX: Avoid use of NSString:stringWithCString, for OS X 10.2 and 10.3 ↵Oystein Eftevaag
compatibility
2011-12-13WIN32: Fix build by adapting to the latest Archive changesFilippos Karapetis
2011-12-13WIN32: (Hopefully) fix compilation by adapting to latest Archive changes.Johannes Schickel
2011-10-03MACOSX: Detect system preferred language when starting bundleThierry Crozat
This reimplement getSystemLanguage() for MacOS X because setlocale() only works if the application is started from the terminal. Instead we use CFBundleCopyPreferredLocalizationsFromArray() which requires the translations to be listed in the bundle plist file (this had already been committed). This fixes bug #3394080.
2011-09-22MAEMO: Add basic platform backend with stubbed keymapperTarek Soliman
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: 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...