Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert deb4261b6a XEEN: Fix rendering of game screen on startup 2017-12-09 16:31:27 -05:00
Paul Gilbert 7ed6b9cdfa XEEN: Fix restoring UI movement buttons after showing dialog 2017-12-09 15:14:17 -05:00
Paul Gilbert 2ed494b8fe XEEN: Fix attacking monsters outdoors 2017-12-09 14:56:15 -05:00
Paul Gilbert 61a33af8b4 XEEN: Fix outdoors monsters disappearing from view 2017-12-09 12:40:28 -05:00
Thierry Crozat 75102d4274 DISTS: Update contact email for Linux appdata
This also fixes the tag used for the contact, as per documented on
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
2017-12-09 17:21:26 +00:00
Paul Gilbert 9c432233a2 XEEN: Change monster _damageType from int to DamageType enum 2017-12-09 12:18:15 -05:00
Paul Gilbert 02606937eb XEEN: Cleanup and fix flags for setOutdoorsMonsters 2017-12-08 22:32:37 -05:00
Willem Jan Palenstijn fca876ea03 DISTS/FEDORA: Switch from bz2 to xz for sources 2017-12-09 01:05:50 +01:00
Eugene Sandulenko 6d59ecdd41 FULLPIPE: Load gameobj.h 2017-12-08 23:57:48 +01:00
Eugene Sandulenko 7724e51936 FULLPIPE: Added debug output for GameObject 2017-12-08 23:57:48 +01:00
Eugene Sandulenko 1408ffc427 FULLPIPE: Better debug output for movement 2017-12-08 23:57:48 +01:00
Eugene Sandulenko c728c29857 FULLPIPE: More debug output to loading 2017-12-08 23:57:48 +01:00
Colin Snover 39385589f6 NEWS: Fix Voyeur news not indented consistently with the rest of news 2017-12-08 16:03:58 -06:00
Colin Snover 97e6ebc20b NEWS: Fix portmanteau of macOS (new name) and OS X (old name) 2017-12-08 16:02:32 -06:00
Colin Snover c21eccb517 SKY: Fix setSub incorrectly falling through to subsequent cases 2017-12-08 12:41:16 -06:00
Willem Jan Palenstijn c5f67ac471 WAGE: Improve error message 2017-12-08 11:41:32 +00:00
Willem Jan Palenstijn c6c39d5578 WAGE: Handle null strings in toString and improve consistency 2017-12-08 11:41:32 +00:00
Willem Jan Palenstijn f35cb961f2 WAGE: Avoid calling method of nullptr 2017-12-08 11:41:32 +00:00
Colin Snover 257a99bdb8 Revert "WAGE: Fix crashes for poorly initialized objects"
This reverts commit ea0fb987e0.

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-08 11:41:32 +00:00
Matan Bareket ff8a0311e3 Added MD5 for the German version of Imo and the King 2017-12-08 07:56:33 +00:00
Colin Snover 8e829371c9 SKY: Fix unaligned pointer dereferences
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-08 07:55:56 +00:00
Paul Gilbert 4c777a9afc XEEN: Separation of scene indoors & outdoors drawing 2017-12-07 22:13:35 -05:00
Paul Gilbert 9d85901c43 XEEN: Fixes for outdoor map drawing 2017-12-07 20:59:05 -05:00
stevenew 707182255a I18N: Update translation (Danish)
Currently translated at 100.0% (960 of 960 strings)
2017-12-07 20:59:51 +01:00
Tarek Soliman e9a2b7d898 MAEMO: Update host_alias 2017-12-07 01:05:11 -06:00
Paul Gilbert b907ccce96 XEEN: Rename InterfaceMap class to InterfaceScene
This is avoid confusion with the minimap and map dialog classes
2017-12-06 21:50:30 -05:00
Paul Gilbert e400695ae6 XEEN: Further fixes for map rendering 2017-12-06 21:36:10 -05:00
stevenew e06d649570 I18N: Update translation (Danish)
Currently translated at 95.1% (913 of 960 strings)
2017-12-07 02:38:53 +01:00
Paul Gilbert 695df4db36 XEEN: Lots of constants added to minimap code 2017-12-06 20:38:43 -05:00
rootfather 104aaffd22 NEWS: Add release dates to the NEWS files 2017-12-06 12:19:37 +01:00
Paul Gilbert 586444a0c5 XEEN: Cleanup of the map dialog class 2017-12-05 22:24:15 -05:00
Paul Gilbert 9381f423df XEEN: Split drawing minimap indoors & outdoors into separate methods 2017-12-05 19:53:16 -05:00
stevenew a2b77df076 I18N: Update translation (Danish)
Currently translated at 90.0% (864 of 960 strings)
2017-12-05 22:21:44 +01:00
Paul Gilbert e98d9f9016 XEEN: Replacing numbers with surface type enum in minimap 2017-12-04 20:33:05 -05:00
Paul Gilbert 61e1ee7f04 XEEN: Split the minimap code into it's own file 2017-12-04 19:45:04 -05:00
Paul Gilbert 2c2c328dfc XEEN: Fix ground tile rendering in automap dialog 2017-12-04 07:23:07 -05:00
Thierry Crozat 71ff55ee65 I18N: Regenerate translations data file 2017-12-04 05:05:02 +01:00
Paul Gilbert 341c6a95e3 XEEN: Fix Coverity warnings 2017-12-03 21:58:36 -05:00
Paul Gilbert 9ba9265583 XEEN: Fix empty patch in automap dialog contents 2017-12-03 21:42:22 -05:00
Colin Snover a5bc89102e ALL: Remove obsolete register keyword
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-03 20:27:42 -06:00
Thierry Crozat ef33d8a2fb I18N: Update translations templates 2017-12-04 03:26:53 +01:00
Colin Snover d087c9605f BASE: Remove bad casts between incompatible Plugin types
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-03 20:26:38 -06:00
Paul Gilbert 55855cab83 XEEN: Fix drawing outer frame for automap dialog 2017-12-03 20:57:56 -05:00
Paul Gilbert e8fb9920a9 XEEN: Cleanup of window opening & closing 2017-12-03 20:08:11 -05:00
Eugene Sandulenko 20fb25d58a FULLPIPE: Renames in ExCommand 2017-12-03 23:04:58 +01:00
Eugene Sandulenko 26747d0400 FULLPIPE: Added more debug output to the class loading 2017-12-03 23:04:58 +01:00
Thierry Crozat 8b1488ab63 I18N: Update translations templates 2017-12-03 19:35:07 +01:00
Colin Snover 20b2c1b7e1 SDL: Fix memory corruption when switching to/from 32-bit cursors
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-03 12:33:05 -06:00
Paul Gilbert 4fbf11db90 GRAPHICS: Fix ManagedSurface clear calls when no surface is set 2017-12-03 13:10:41 -05:00
Willem Jan Palenstijn 3a933138ce SCI: Avoid buffer overflow in amigamac sound driver
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-03 12:49:11 +01:00