Age | Commit message (Collapse) | Author |
|
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.
|
|
It was only used by the PS3 backend, and the standard SDL mixer was fixed
to work in the PS3 case.
|
|
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
|
|
|
|
issues and changed SurfaceSdlGraphicsManager constructor call parameters on DispmanXSdlGraphicsManager constructor.
|
|
|
|
manually disable some features that are sub-optimal on the Pi when they don't pass a host parameter
|
|
|
|
DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi.
|
|
|
|
|
|
files and docs to conform to fingolfin's corrections.
|
|
RaspberryPi information file.
|
|
|
|
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.
|
|
Broken by 3f22c12
|
|
This should make sure that the logo is properly set on Win32 with SDL2.
|
|
|
|
Based on changes by aquadran.
|
|
|
|
|
|
|
|
This is based upon skristiansson's change set to make ScummVM work with SDL2.
|
|
|
|
|
|
|
|
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).
|
|
Setting up a static stack to avoid crashes from a stack set too low.
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
The initBackend() function is called later after the command line is
parsed and thus debug() prints can be used, which are much less noisy.
|
|
|
|
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
|
|
"USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
|
|
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.
|
|
GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions.
|
|
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.
|
|
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.
|
|
We can do this now that we can use virtual inheritance and dynamic_cast
because we enabled RTTI.
|
|
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses
overwriting this) we simply initialize it in OSystem_SDL::init.
|
|
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.
|
|
|
|
used.
|
|
The logic of switching the managers is pretty much fixed at the same level
and cannot be easily overwritten.
|
|
|
|
|