Age | Commit message (Collapse) | Author |
|
setSurface is done in a different thread than the one that starts
the scummvm main. The main thread would then wait until the setSurface
thread notifies. The setSurface thread would notify before it actually
calls setSurface, meaning if the thread is preemted before calling
setSurface, initSurface will assert, causing the app to crash.
|
|
|
|
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
|
|
We still prefer 16bpp for performance reasons.
|
|
BUILD: Taskbar Cleanup/Fixes
|
|
WII: Implement changes needed by DevKitPPC R26 and later
|
|
"USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
|
|
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
|
|
Overlays with alpha channel in ScummVM use pre-multiplied alpha.
Thus, is it necessary to set the source blend function to ONE, not
SOURCE_ALPHA.
While there is no firm decision on the texture format to be used to
cursors, make sure to set the key color to R=G=B=A=0.0, so that it
can be used with either pre-multiplied or non-pre-multiplied blending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
base.mmp.in.
|
|
|
|
|
|
|
|
SDL backend instead. Add more engines for the split build.
|
|
|
|
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.
|
|
|
|
|
|
|
|
Instead of custom memory management Common::Array is used now.
|
|
|
|
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...
|
|
OpenGL revamp
|
|
|
|
Thanks to Chris Warren-Smith for testing this a bit.
|
|
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.
|
|
The vanilla android toolchain even is unhappy when unknown folders are
present in the resources directory, so have moved the ouya specific
resources out to another directory.
|
|
The aapt throws an "invalid resource directory name" if the
resource directory name is not known to the tools. Unfortunately,
"values-television" is an OUYA specific addition and thus breaks
with the standard vanilla Android toolchain.
|
|
Basic OUYA support
|
|
This breaks our Tizen port.
|
|
This is consistent with scanString(), and I have verified that the
included test cases still work.
|
|
|
|
|