aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2015-12-16OSX: Fix menus when using SDL2Thierry Crozat
We remove the menus added by SDL before inserting our own menus, but the code assumed that there were two SDL generated menus. SDL2 actually adds three menus. So the new code makes no assumptions on the number of menus so that it works with both SDL1.2 and SDL2. Also fix an issue on OS X 10.4 and earlier that caused the app menu to be nameless.
2015-12-15PS3: Remove the SDL2 mixer manager.Bastien Bouclet
It was only used by the PS3 backend, and the standard SDL mixer was fixed to work in the PS3 case.
2015-12-15PS3: Make use of an updated SDL2 versionBastien Bouclet
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
2015-12-08SDL/DISPMANX: Remove dispmanx graphics output.vanfanel
2015-11-12SDL/DISPMANX Fixed small issues with merging: Use append_var, fix spacing ↵vanfanel
issues and changed SurfaceSdlGraphicsManager constructor call parameters on DispmanXSdlGraphicsManager constructor.
2015-11-11Merge branch 'master' into dispmanxvanfanel
2015-10-20SDL/DISPMANX Make additional notes on README.RASPBERRYPI telling users to ↵vanfanel
manually disable some features that are sub-optimal on the Pi when they don't pass a host parameter
2015-10-19SDL/DISPMANX Fixed dispmanx activation parameter on README.RASPBERRYPIvanfanel
2015-10-18SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of ↵vanfanel
DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi.
2015-10-08WIN: Fix mingw64 compilation, by limiting last hack.Kirben
2015-10-08WIN: Add hack for command line display in Windows versions built with MinGW.Kirben
2015-07-22SDL/DISPMANX: Updated class member names, configure script and asociated ↵vanfanel
files and docs to conform to fingolfin's corrections.
2015-07-20RASPBERRYPI: Changed the RGB code for the game screen surface and added ↵vanfanel
RaspberryPi information file.
2015-03-29RASPBERRYPI: Added Raspberry Pi native 2D API support (dispmanx)vanfanel
2015-03-06SDL: Fix compilation with SDL 2.0 under MSVCFilippos Karapetis
In SDL 2.0, intrin.h is now included in SDL_cpuinfo.h, which includes setjmp.h. SDL_cpuinfo.h is included from SDL.h and SDL_syswm.h. Thus, we remove the exceptions for setjmp and longjmp before these two includes.
2015-03-05MACOSX: Fix compilationMatthew Hoops
Broken by 3f22c12
2015-03-01SDL: Call setupIcon for each window creation with SDL2.Johannes Schickel
This should make sure that the logo is properly set on Win32 with SDL2.
2015-02-18WINCE: Fix compilation.Johannes Schickel
2015-02-16WIN32: Add experimental SDL2 support.Johannes Schickel
Based on changes by aquadran.
2015-02-16SDL: Handle icon setup in SdlWindow.Johannes Schickel
2015-02-16SDL: Add basic abstraction class for the SDL window.Johannes Schickel
2015-01-25SDL: Fix typo.Johannes Schickel
2015-01-25SDL: Add experimental support for SDL2.Johannes Schickel
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25SDL: Cleanup graphics manager switching a bit.Johannes Schickel
2015-01-25SDL: Refactor WM specific functionality into SdlGraphicsManager.Johannes Schickel
2014-10-28BACKENDS: Remove trailing whitespaceFilippos Karapetis
2014-09-07AMIGAOS: Make use of the new drawer iconraziel-
On AmigaOS the user can customize every icon including drawers. This is a customized drawer icon for ScummVM with the original "S" scaled on top of it. This icon may change with further revisions of AmigaOS4 (if the default icon images change).
2014-08-08AMIGAOS: Add a stack cookieraziel-
Setting up a static stack to avoid crashes from a stack set too low.
2014-08-08AMIGAOS: Cleanup of the AmigaOS version numberraziel-
2014-07-20BUILD: Add port specific makefile for AmigaOS4.D G Turner
This moves the AmigaOS4 specific packaging rules from the global ports.mk to a port specific makefile in the AmigaOS subdirectory of the SDL backend (used for AmigaOS). Previously, port specific makefiles were only used for cross compiling builds and thus had a single entry in the cross compiling section of the configure. Since AmigaOS4 is a desktop system supporting native build, this required a second entry for when the host system is detected as ppc-amigaos to support native builds. However, currently this does break packaging of cross compiled builds for Win32, OSX and Unix when done on AmigaOS4... but this is not likely and has limited impact. To fix this, default _port_mk lines would need to be added to the sections of the cross compiling switch for mingw32 etc. to override the AmigaOS4 OS setting of _port_mk.
2014-06-28BUILD: Move the PS3 make targets to a separate fileBastien Bouclet
2014-06-01BACKENDS: Fix invalid buffer size in CFStringGetCString callMatthew Hoops
2014-02-23OSX: Implement TaskbarManager for Mac OS XThierry Crozat
This implements count badge, progress bar, and icon overlay. It uses the NSDockTile API which is available since OS X 10.5. The code compiles and run on older system but without doing anything.
2014-02-18SDL: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-16SDL: Move debugging code to output SDL video driver name to initBackend.D G Turner
The initBackend() function is called later after the command line is parsed and thus debug() prints can be used, which are much less noisy.
2014-02-12SDL: Add debugging code to output SDL video driver name being used.D G Turner
2014-01-23Merge pull request #409 from lordhoto/rttiJohannes Schickel
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-21BUILD: Rename libunity support variable to "USE_UNITY" instead of ↵Johannes Schickel
"USE_TASKBAR_UNITY". This makes it consistent with other library support variables.
2013-11-14SDL: Fix bug where config file path could exceed maximum path length.D G Turner
The fix is the change in the MAXPATHLEN check, but have also migrated this to Common::String to make the fix easier. Thanks to klusark for pointing out this problem.
2013-11-11SDL: Remove misleading comments, based on incomplete information at MSDN. ↵Kirben
GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions.
2013-11-03SDL: Fix invalid memory access in getSystemLanguage.Johannes Schickel
A call to setlocale can invalidate the string a previous setlocale call returned. Instead of saving a pointer we copy the returned string now. This, for example, fixes invalid memory access on my system. See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the invalid memory access.
2013-11-03SDL: Remove side effect of setlocale() call to get Language.D G Turner
This is to fix bug #3615148 - "ALL: sscanf("%f"), atof() etc. not portable due to Locale" The side effect of setlocale("") is to change the active locale from the default of "C" to the detected system locale, but this changes the behaviour of sscanf() and several other functions in a system dependent and non-portable way. This has caused bugs in the ZVISION engine when running Zork Nemesis. The solution is to restore the default "C" locale after the call to get the language. Thanks to criezy for working out this fix.
2013-10-24SDL: Make activateManager/deactivateManager SdlGraphicsManager specific.Johannes Schickel
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI.
2013-10-23SDL: Reduce code duplication a bit.Johannes Schickel
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses overwriting this) we simply initialize it in OSystem_SDL::init.
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: Do not require a static graphics mode list in OpenGL and SurfaceSDL.Johannes Schickel
2013-10-23SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is ↵Johannes Schickel
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: Simplify initial graphics manager selection for OpenGL.Johannes Schickel
2013-10-23SDL: Get rid of _glModesCount.Johannes Schickel