Commit Graph
86814 Commits
Author SHA1 Message Date
Cameron Cawley a873544840 DS: Fix building with AGI engine disabled 2018-04-07 09:30:07 +02:00
Cameron Cawley 9111998c49 DS: Fix compilation with devkitARM r47 2018-04-07 09:30:07 +02:00
Cameron Cawley 668084c58a RISCOS: Package translated documentation 2018-04-07 09:27:08 +02:00
Thierry Crozat 7f0df7a011 I18N: Update translations templates 2018-04-07 09:26:38 +02:00
Adrian Frühwirth 00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Paul Gilbert 07775ca717 XEEN: Fix animation for Elemental Storm spell 2018-04-06 22:43:44 -04:00
Paul Gilbert fa00855a10 XEEN: Don't set a _buttonValue when Ctrl or Alt is pressed
This avoids a problem where holding down Ctrl for the GMM
was passing multiple turns.. very noticeable if there were
monsters nearby, or the party is standing on a trap tile
2018-04-06 22:30:29 -04:00
Paul Gilbert 9d94d97cc6 XEEN: Fix crash getting Scarab of Imaging 2018-04-06 21:05:40 -04:00
Paul Gilbert 4586cee0ab XEEN: Fix Space tiles not appearing in the map & minimap 2018-04-06 19:13:32 -04:00
Paul Gilbert 37b9de6d25 XEEN: Cleanup of monster move check method 2018-04-06 19:11:26 -04:00
Paul Gilbert 70b76dc8de XEEN: Fix teleporting outdoors 2018-04-06 07:09:50 -04:00
Ben Castricum 73ad01efb4 I18N: Update translation (Dutch)
Currently translated at 100.0% (964 of 964 strings)
2018-04-06 12:28:05 +02:00
Paul Gilbert e69ff28de2 XEEN: Fix equipping belts 2018-04-05 22:32:38 -04:00
Paul Gilbert b8d3bffc3a XEEN: Fix Barok giving Enchant Item spell to party 2018-04-05 22:14:33 -04:00
Paul Gilbert c9460d1340 XEEN: Remove map load assert to allow Northern Sphinx map to load 2018-04-05 22:10:50 -04:00
Paul Gilbert 8648a48080 XEEN: Move check code for nearby monsters to it's own method 2018-04-05 20:06:14 -04:00
Paul Gilbert a54850cae0 XEEN: Fix getting multiple Northern Sphinx keys 2018-04-05 19:48:15 -04:00
Paul Gilbert 37dbd365e2 XEEN: Fix lockpicking to use selected character 2018-04-05 07:36:45 -04:00
Paul Gilbert 5b1f054133 XEEN: Fix entering password in Castle Basenji 2018-04-05 07:01:40 -04:00
Paul Gilbert 98b20059ba XEEN: Refine bounds of scene drawing clip area 2018-04-04 23:02:02 -04:00
Paul Gilbert fe88ea1092 XEEN: Draw proper sky tiles outside bounds of sky maps 2018-04-04 22:45:52 -04:00
Paul Gilbert 99799bca62 XEEN: Don't show space or sky tiles as obscured in the minimap 2018-04-04 22:16:16 -04:00
Paul Gilbert 4352ea6a23 XEEN: Improved clipping for drawing within scene area 2018-04-04 21:34:12 -04:00
Adrian Frühwirth a0d7a99439 COMMON: Add WARN_UNUSED_RESULT to scummsys.h 2018-04-04 20:56:41 +00:00
Adrian Frühwirth 4c5afcf780 COMMON: Verify nb_NO locale
Despite looking weird, this is the correct locale for Norwegian (Bokmål).
2018-04-04 22:48:28 +02:00
Eugene Sandulenko 21ef072c11 BLADERUNNER: Fix memory leaks 2018-04-04 22:41:12 +02:00
LMerckx f0dfc19f29 SDL: Allow to load a custom game controller mapping file
And add a specific joystick button to open virtual keyboard
2018-04-04 20:40:16 +02:00
Paul Gilbert 73d72f4fc8 XEEN: Fix cmdIfMapFlag crash when banging Winterkill gong 2018-04-03 22:58:17 -04:00
Paul Gilbert 4fefa88282 XEEN: Don't allow saving in the war zone 2018-04-03 22:00:18 -04:00
Paul Gilbert e5c4adb3c0 XEEN: Fixes for fighting in the Warzone 2018-04-03 21:13:44 -04:00
Paul Gilbert 0f82830778 XEEN: Simplify original's code for monsters picking targets 2018-04-03 19:57:03 -04:00
Paul Gilbert 326533ab9b XEEN: Cleanup of class hates switch 2018-04-03 19:31:32 -04:00
Eugene Sandulenko d3648232fd BLADERUNNER: Implement scene jumping via bootparams.
Specify bootparam in form CTTTSSS, where C is chapter, TTT is set
and SSS is scene number. So, for RC02 it is 1016079.
2018-04-03 22:06:34 +02:00
Paul Gilbert 847163aa5d XEEN: Fix crash entering Newcastle 2018-04-02 22:44:52 -04:00
Paul Gilbert a467e669b2 XEEN: Fix subtraction of Megacredits paying for castle improvements 2018-04-02 22:42:43 -04:00
Paul Gilbert 92b1cbbb7f XEEN: Fix game state after restarting game 2018-04-02 21:36:36 -04:00
Paul Gilbert c8b9b7c8a2 XEEN: Fix script for Miles the Cartographer 2018-04-02 21:06:01 -04:00
Paul Gilbert 9f77bb3d84 XEEN: Fix entering the Temple of Yak 2018-04-02 17:57:53 -04:00
Eugene Sandulenko c395c5f619 BLADERUNNER: Added 'draw actors' debug command.
Implemented as a hack on top of 'draw obj' with skipping all other
scene objects.
2018-04-02 23:50:47 +02:00
Bastien Bouclet 066a14bd4c MOHAWK: MYST: Fix the myst flyby playing over the closed book
In older releases of Myst the flyby video had the play on card change
flag set to true, causing the bug. As a workaround patch the resource to
mach newer releases.

Fixes #10472.
2018-04-02 13:38:57 +02:00
Bastien Bouclet 5fec35d045 MOHAWK: MYST: Initialize more variables
To make static analysis tools quiet.
2018-04-02 13:38:57 +02:00
Paul Gilbert 9f31bd7349 XEEN: Fix implementation of cmdReturn opcode 2018-04-02 07:23:24 -04:00
Lothar Serra Mari 77f594693d NEWS: Mention fix for #10474 [browsing library in Myst 1.0] 2018-04-02 08:56:33 +02:00
Bastien Bouclet 235893fb44 MOHAWK: MYST: Implement opcodes 178 and 179
Used when turning pages in the library. Some versions of the game appear
to use them.

Fixes #10474.
2018-04-02 08:00:59 +02:00
Paul Gilbert 807a8b6cc7 XEEN: Fix entering the Witch Tower 2018-04-01 23:34:34 -04:00
Paul Gilbert 6e85a17795 XEEN: Fix showing sign text at F4 2,3 2018-04-01 23:26:26 -04:00
Thierry Crozat 766574e03e I18N: Regenerate translations data file 2018-04-02 05:05:02 +02:00
Paul Gilbert d621bf6816 XEEN: Fix object 0 not being removable, _objNumber cleanup
The original used 0 as "unset", and object index + 1 to indicate the
object at the current location. Given all the +1/-1 usages, I've
simplified the use of _objNumber to use -1 as unset, allowing the
direct object index to be used otherwise
2018-04-01 22:54:38 -04:00
Paul Gilbert 0cde83ea01 XEEN: Fix Coverity reported overruns 2018-04-01 22:35:14 -04:00
Paul Gilbert 388f55b857 XEEN: Have sprite enlargement do double width as well as height 2018-04-01 22:21:40 -04:00