aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-08SKY: Fix setSub incorrectly falling through to subsequent casesColin Snover
2017-12-08WAGE: Improve error messageWillem Jan Palenstijn
2017-12-08WAGE: Handle null strings in toString and improve consistencyWillem Jan Palenstijn
2017-12-08WAGE: Avoid calling method of nullptrWillem Jan Palenstijn
2017-12-08Revert "WAGE: Fix crashes for poorly initialized objects"Colin Snover
This reverts commit ea0fb987e042a86b8da683cafa7b9cf04d1636e6. This issue was discovered during a full build of ScummVM using Clang 5. It is UB to call a null pointer. Whatever caller is trying to do so needs to be fixed instead.
2017-12-08Added MD5 for the German version of Imo and the KingMatan Bareket
2017-12-08SKY: Fix unaligned pointer dereferencesColin Snover
Dereferencing an unaligned pointer will cause a memory fault on at least older ARM and SPARC architectures, and is warned about starting in Clang 4.
2017-12-07XEEN: Separation of scene indoors & outdoors drawingPaul Gilbert
2017-12-07XEEN: Fixes for outdoor map drawingPaul Gilbert
2017-12-07I18N: Update translation (Danish)stevenew
Currently translated at 100.0% (960 of 960 strings)
2017-12-07MAEMO: Update host_aliasTarek Soliman
2017-12-06XEEN: Rename InterfaceMap class to InterfaceScenePaul Gilbert
This is avoid confusion with the minimap and map dialog classes
2017-12-06XEEN: Further fixes for map renderingPaul Gilbert
2017-12-07I18N: Update translation (Danish)stevenew
Currently translated at 95.1% (913 of 960 strings)
2017-12-06XEEN: Lots of constants added to minimap codePaul Gilbert
2017-12-06NEWS: Add release dates to the NEWS filesrootfather
2017-12-05XEEN: Cleanup of the map dialog classPaul Gilbert
2017-12-05XEEN: Split drawing minimap indoors & outdoors into separate methodsPaul Gilbert
2017-12-05I18N: Update translation (Danish)stevenew
Currently translated at 90.0% (864 of 960 strings)
2017-12-04XEEN: Replacing numbers with surface type enum in minimapPaul Gilbert
2017-12-04XEEN: Split the minimap code into it's own filePaul Gilbert
2017-12-04XEEN: Fix ground tile rendering in automap dialogPaul Gilbert
2017-12-04I18N: Regenerate translations data fileThierry Crozat
2017-12-03XEEN: Fix Coverity warningsPaul Gilbert
2017-12-03XEEN: Fix empty patch in automap dialog contentsPaul Gilbert
2017-12-03ALL: Remove obsolete register keywordColin Snover
The register keyword was deprecated from the C++11 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809>, and removed from the C++17 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340>, so cannot exist in a well-formed C++17 program. It has never done anything in GCC <https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html> and because of the way it is specified in the standard, it is “as meaningful as whitespace” <http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859>. The one remaining use of the register keyword is in the DS backend, where it is used to create a local register variable using the non-standard GCC Extended Asm feature. Closes gh-1079.
2017-12-04I18N: Update translations templatesThierry Crozat
2017-12-03BASE: Remove bad casts between incompatible Plugin typesColin Snover
Previously, a C-style cast was used to convert a Common::Array<Plugin *>, populated with pointers to StaticPlugin and DynamicPlugin instances, to a Common::Array<PluginSubclass<T> *>, but PluginSubclass<T> is a *sibling* class to StaticPlugin/DynamicPlugin, so this cast was invalid and the results undefined. The methods for retrieving subclasses of plugins can't be easily changed to just generate an array of temporary wrapper objects that expose an identical API which dereferences to the preferred PluginObject subclass because pointers to these objects are retained by other parts of ScummVM, so the wrappers would needed to be persisted or they would need to just re-expose the underlying Plugin object again. This indicated that a way to solve this problem is to have the callers receive Plugin objects and get the PluginObject from the Plugin by explicitly stating their desired type, in a similar manner to std::get(std::variant), so that the pattern used by this patch to solve the problem. Closes gh-1051.
2017-12-03XEEN: Fix drawing outer frame for automap dialogPaul Gilbert
2017-12-03XEEN: Cleanup of window opening & closingPaul Gilbert
2017-12-03FULLPIPE: Renames in ExCommandEugene Sandulenko
2017-12-03FULLPIPE: Added more debug output to the class loadingEugene Sandulenko
2017-12-03I18N: Update translations templatesThierry Crozat
2017-12-03SDL: Fix memory corruption when switching to/from 32-bit cursorsColin Snover
When a 32-bit cursor has the same size as an 8- or 16-bit cursor, the mouse surfaces were not being regenerated even though the 32-bit cursors have a different memory requirement. This lead to memory corruption as an inappropriate surface would be used for the other type of cursor. The shoe-horned 32-bit cursor support is clearly showing its scrappy nature here and probably ought to be revisited in the future if the SurfaceSdl graphics manager sticks around. Fixes Trac#10349, Trac#10350, Trac#10351.
2017-12-03GRAPHICS: Fix ManagedSurface clear calls when no surface is setPaul Gilbert
2017-12-03SCI: Avoid buffer overflow in amigamac sound driverWillem Jan Palenstijn
By default, frac_t is interpreted as signed. The resulting range isn't large enough to store offsets, so we interpret it as unsigned here instead. Fixes a crash in QfG1/Mac where instrument->loop_size is 49457.
2017-12-02PSP2: fix clipping and display quality for odd resolutions (Phantasmagoria)rsn8887
2017-12-02PSP2: fix odd resolutions on PSP2, fixes Phantasmagoriarsn8887
2017-12-02PSP2: fix building with latest SDL2 for Vitarsn8887
2017-12-02I18N: Update translations templatesThierry Crozat
2017-12-01BACKENDS: Fix shake position getting stuckColin Snover
If a game is doing a screen shake (for example, DOTT when the stereo is on), and the user does an RTL, the screen shake offset may get stuck if the engine does not reset it on shutdown. To avoid this in all cases, just always reset the screen shake whenever the graphics manager is told to switch to a new graphics mode.
2017-12-01SCUMM: Fix array overflow writing var when no current script is setColin Snover
This situation is triggered normally when _currentScript is 0xFF, but it could potentially also happen if _currentScript is some other number >= NUM_SCRIPT_SLOT, so the check is a bit more conservative than it might appear to need to be.
2017-12-01SCUMM: Fix signed integer overflow reading default v70HE cursorColin Snover
2017-12-01SCUMM: Fix buffer overflow reading default v70HE cursorColin Snover
2017-12-01SCUMM: Fix possible return of garbage valuesColin Snover
2017-12-01SCUMM: Fix UB shifting negative integers in ActorColin Snover
2017-12-01AUDIO: Fix UB shift of negative integer in AdLib driverColin Snover
2017-12-01COMMON: Fix UB shifting negative integersColin Snover
Compilers optimise these back into shifts on architectures where shifts of negative integers work the same as mul/div, so this solves the UB without actually causing any performance issue.
2017-12-01SCUMM HE: Fix UB shifting negative integersColin Snover
2017-12-01SCI: Partially clean up SCI16 video playback codeColin Snover