Formerly the code was confused about what _saveSlots is doing, i.e. creating a
continous list of existing save slot ids.
(cherry picked from commit f410480cfd)
Playing with cabinet datafiles, this failed to find the "Charisma.smk"
file in the cabinets when in the Recreation (TV) room on Cygnus Alpha
and this caused an engine abort after the GUI dialog warning of the
"missing" video file. This was due to animation.cpp code using
Common::file::exists() instead of going via the ArchiveMan.
However,a hasFile() method implementation was also required to implement
fallback to decompressed (movie) files if the file requested is not in
the cabinet or the cabinet has been externally decompressed to files.
Thanks to fuzzie for the hasFile() patch.
Also, removed noisy warning which this correction triggers repeatedly in
installshield_cab.cpp hasFile(). This looks like leftover from
debugging, so not critical.
This disables the required input configurations, disables the implied
requirement for a landscape display, and explicitly notes that we
support large screens. This makes the Market happy with showing the
package to as many devices as possible (but doesn't help otherwise, so
this is for the branch only).
This commit re-converts the stereo rate converters to
reverse stereo since they had drifted apart during the last few
refactoring steps.
In the process it makes vol_l/vol_r behave the same as in the C++.
(cherry picked from commit 99307acf0a)
It might have been simpler to add a bool to Text::makeTextSprite() to
tell it to not byteswap the frame size when called from the movie
player but I was not sure it was a good idea to have frames with
different endianness stored in Text depending where they came from.
If we leave it for OSystem, the DefaultTimerManager destructor tries
constructing a StackLock which, predictably, calls a pure virtual
function, because OSystem_Android's destructor is finished.
(cherry picked from commit c382c0c195)
Otherwise the plugins fail to run on modern Android because they're set
to run in-process but they're not allowed to do so.
(cherry picked from commit 456b950c52)
Conflicts:
dists/android/AndroidManifest.xml
dists/android/plugin-manifest.xml
Android 3.1 changed the default behaviour for broadcasts so that it
doens't wake up non-running receivers, so we need to override that.
(cherry picked from commit ff3f4d9493)