aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-25SCI: Add a default case to the switch in toDebugString()Filippos Karapetis
Silences a false positive in MSVC
2018-08-25SCI32: Remove reg32_t and use reg_t in all casesFilippos Karapetis
reg32_t was a transitive solution, before reg_t's were adapted to use 32-bit addresses internally, and before support for SCI3 was added. It was introduced as another way to handle large script offsets in SCI3, and was only used for the program counter (PC). It's no longer needed, as we now support SCI3 script offsets using reg_t's, so we can use make_reg32 in all cases where we need to access offsets over 64KB
2018-08-25SCI32: Adapt the pathfinding debug code to work woth SCI32 gamesFilippos Karapetis
2018-08-23IOS: Fix Arrow Key Capture in TextInputHandler.Michael Zinn
This should fix these working from external keyboards i.e. IPad Pro and other sources as well. This is presumably what the original author intended.
2018-08-24I18N: Update translation (French)Purple T
Currently translated at 100.0% (989 of 989 strings)
2018-08-23BUILD: Fix build failureDan Church
Only happens when --enable-plugins is turned on.
2018-08-23WINTERMUTE: Check keyboard state array indexlolbot-iichan
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was provided, fixed
2018-08-23WINTERMUTE: Support more key codes for mappinglolbot-iichan
some keypresses were producing warnings because key codes were not listed in mappings, added more key codes
2018-08-23WINTERMUTE: Fix printable flag for keyboard statelolbot-iichan
_currentPrintable was set depending on _currentCharCode, which is 112 for both F1 and 'p' keys, fixed after detailed research on which keys should be considered printable
2018-08-22Fix linkHubert Maier
Fix the Compiling AmigaOS4 link
2018-08-23SCI32: Fix attacking necrotaurs with the sword in QFG4Filippos Karapetis
Fixes bug #10419
2018-08-23SCI32: Add workarounds for OOB reads for parametersFilippos Karapetis
These are mostly used to silence known cases, for now. Some workarounds of this type have already been addded
2018-08-21TSAGE: Don't allow saving in Ringworld copy protection dialogPaul Gilbert
2018-08-22I18N: Update translations templatesThierry Crozat
2018-08-22GUI: Add editable path in file browser dialogChatziargyriou Eleftheria
2018-08-21SCI32: Extend a script workaround to all screens in QFG4Filippos Karapetis
Fixes bug #10420
2018-08-21SCI32: Extend a pathfinding workaround to all screens in QFG4Filippos Karapetis
Fixes entry into the Gypsy camp - bug #10418
2018-08-20TSAGE: Fix ejecting disc from left cycle's drive in Ringworld 1Paul Gilbert
2018-08-21SCI32: Ignore invalid kernel call when toggling the music in Hoyle 5Filippos Karapetis
2018-08-21SCI32: Fix fade-in for some screens in Hoyle 5Filippos Karapetis
2018-08-21SCI32: Add handling for config settings used in Hoyle 5Filippos Karapetis
2018-08-21SCI32: Add stub for kWinDLL - used in Hoyle 5Filippos Karapetis
2018-08-21SCI: Enable detection entry for Hoyle 3 AmigaFilippos Karapetis
The game works correctly now
2018-08-21SCI: Add support for text loading in Hoyle 3 AmigaFilippos Karapetis
2018-08-21SCI: Add workaround for buggy script in Hoyle 3 AmigaFilippos Karapetis
2018-08-21SCI32: Add several workarounds for uninitialized reads in Hoyle 5Filippos Karapetis
2018-08-21SCI: Update commentFilippos Karapetis
2018-08-20BUILD: Remove .dwo files on cleanTorbjörn Andersson
2018-08-20AUDIO: Fix Compilation with Fluidsynth v1.1.6 or earlier.D G Turner
The function signature for these functions was changed from (char *) to (const char *) in the v1.1.7 release, so compiling against Fluidsynth v1.1.6 or earlier requires the copying of the strings to prevent compilation errors such as "error: invalid conversion from 'const char*' to 'char*'". Normally, we would break compatibility with older versions as platforms should be using the latest Fluidsynth v1.X release of v1.1.11. However, since this is trivial to fix and prevents breakage for legacy platforms, am restoring the string duplication with scumm_strdup(). Apart from this, we should look at the Fluidsynth v2.X releases currently in RC testing as the API is now changed for this.
2018-08-19PS2: Replace usage of strdup with scumm_strdupCameron Cawley
2018-08-18STARTREK: Simplify sine table usageDavid Fioramonti
The if checks that StarTrekEngine::sin is doing to evaluate the correct index for the sine table lookup are already done in Common::SineTable::at().
2018-08-18STARTREK: Update cos/sin table constructor changeDavid Fioramonti
They now take in the size rather than the power of 2 exponent.
2018-08-18COMMON: FFT update cos/sin table constructor changeDavid Fioramonti
They now take in the size rather than the power of 2 exponent.
2018-08-18BLADERUNNER: Update cos/sin table constructor changeDavid Fioramonti
They now take in the size rather than the power of 2 exponent.
2018-08-18COMMON: allow cos/sin number of points to be more flexibleDavid Fioramonti
Previously, the cos/sin table had to be a power of 2, but there are many use cases where the number of points is not necessarily a power of 2 so this change the constructor so it now takes in the number of points rather than the number of points as the exponent of a power of 2. The restriction is that the size must be divisible by 4.
2018-08-18COMMON: Make strdup a forbidden symbolCameron Cawley
2018-08-18COMMON: Move new_strdup to common/str.cppCameron Cawley
2018-08-18IOS: Replace strdup with Common::StringColin Snover
2018-08-18PARALLACTION: Replace use of strdup with Common::String & mallocColin Snover
2018-08-18LURE: Replace use of strdup with Common::StringColin Snover
2018-08-18AGI: Replace use of strdup with Common::StringColin Snover
It was also necessary to make sure that the Common::String objects were initialised correctly by switching to use a C++ container for engine objects instead of calloc, since they were no longer C-compatible PODs.
2018-08-18GOB: Replace use of strdup with Common::StringColin Snover
2018-08-18SWORD2: Replace use of strdup with Common::StringColin Snover
2018-08-18SCUMM: Replace use of strdup with Common::StringColin Snover
2018-08-18GRAPHICS: Fix incorrect maximum length passed to strlcpyColin Snover
2018-08-18GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/deleteColin Snover
2018-08-18AUDIO: Remove unnecessary string duplications in FluidSynth driverColin Snover
2018-08-18GUI: Replace use of strdup with Common::StringColin Snover
strdup is a POSIX API, not an ANSI C API. It is not available with -std=c++11 on newlib-based systems, and VS 2015 will throw errors unless it is #defined to alias to _strdup or unless deprecation warnings are turned off (which is not a good idea in general). Common::String is a safer and potentially faster (due to small string optimisation) alternative, so prefer it instead.
2018-08-18DREAMCAST: Fix compilationCameron Cawley
2018-08-18I18N: Update translations templatesThierry Crozat