53245 Commits

Author SHA1 Message Date
Paul Gilbert
701df47cae XEEN: Fix removing too many Monga Melons during quest 2018-04-10 20:57:37 -04:00
Paul Gilbert
5d6dbf7858 XEEN: Fix loading Dark Side savegames from WOX menu 2018-04-10 20:26:52 -04:00
Paul Gilbert
8ccb7c5249 XEEN: Fix Golem cutscene usage on Dark Side 2018-04-10 19:57:24 -04:00
Strangerke
555056714b LILLIPUT: Some refactoring 2018-04-10 23:49:31 +02:00
Bastien Bouclet
3a8655bc81 MOHAWK: MYST: Fix flyby movies to behave more like the original
* Keep playing the previously running background sound while playing the
  flyby.
* Don't play the flyby after loading a save.
* Play the flyby before both linking sounds.

Fixes #10482, Fixes #10483.
2018-04-10 19:58:56 +02:00
Strangerke
bf5b3f62e2 LILLIPUT: more renaming 2018-04-10 07:44:48 +02:00
Paul Gilbert
80fa7481ff XEEN: Fix subtitle cutscene text for entering Darkside towns 2018-04-09 21:48:59 -04:00
Paul Gilbert
efb1f9219c XEEN: Add warning for invalid cmdFreezeFrequency channel values
I got a crash once for an invalid channel when falling to the
Water Elemental Plain from the Dark Side Skyroads, but couldn't
replicate it. So I've put in a warning for now
2018-04-09 21:20:40 -04:00
Paul Gilbert
083f18af93 XEEN: Fix falling from the Dark Side Skyroads 2018-04-09 21:19:10 -04:00
Paul Gilbert
b13b00deb3 XEEN: Add Patcher class for doing on-the-fly map patches
The first patch is a script patch for Ellinger's Tower Level 2
on the Dark Side. It fixes an incorrect index for a wall item
of a curtain that's meant to be removed
2018-04-09 19:33:31 -04:00
Paul Gilbert
30f0da8660 XEEN: Fix reading and setting character specific flags 2018-04-08 19:51:50 -04:00
Paul Gilbert
90f2bb6a15 XEEN: Fix cutscene subtitles for Ellinger's Tower 2018-04-08 19:23:36 -04:00
Paul Gilbert
5425604669 XEEN: Rename cutscenes _mazeFlag to _keyFound 2018-04-08 19:17:46 -04:00
Strangerke
c8eff89a7e LILLIPUT: more WIP renaming 2018-04-09 00:56:17 +02:00
Paul Gilbert
07fb37ed70 XEEN: Fix restarting World game after exiting to menu from Dark Side 2018-04-08 18:53:59 -04:00
Paul Gilbert
de365eb0c6 XEEN: Allow deselecting items in Items dialog 2018-04-08 18:43:42 -04:00
Paul Gilbert
5c62d90c1b XEEN: Fix display of negative values in Character dialog HP tooltip 2018-04-08 18:25:41 -04:00
Paul Gilbert
fa9218f2d2 XEEN: Further numeric fixes for dialog with Gremlin King 2018-04-08 15:36:17 -04:00
Paul Gilbert
2888953c7b XEEN: Fix display of the 123 Chooser dialog 2018-04-08 15:36:17 -04:00
Paul Gilbert
315b88e1bf XEEN: Fix buying spells in Dark Side 2018-04-08 13:55:21 -04:00
Paul Gilbert
ae6c2612a2 XEEN: Fix checking if a specific monster is dead 2018-04-08 11:23:18 -04:00
Paul Gilbert
d9fd699050 XEEN: Fix using Lloyd's Beacon across the sides 2018-04-08 11:17:31 -04:00
Adrian Frühwirth
76857c715a LILLIPUT: Fix missing format specifier in call to debugC() 2018-04-08 01:09:58 +02:00
Paul Gilbert
642dea8ff8 XEEN: Add missing return in event processing switch 2018-04-07 19:04:06 -04:00
Paul Gilbert
54ff19bcf5 XEEN: Fix double-casting of spells during combat 2018-04-07 18:40:47 -04:00
Paul Gilbert
e5ff44eaf3 XEEN: Fix gfx glitch in top-left corner of the minimap 2018-04-07 18:30:45 -04:00
Paul Gilbert
b8715dca0e XEEN: Cleanup of unused local in Scripts 2018-04-07 18:30:37 -04:00
Strangerke
7f9c06f91a LILLIPUT: more renaming, rework setMode 2018-04-08 00:02:22 +02:00
Strangerke
6695610756 LILLIPUT: More renaming work 2018-04-07 23:58:32 +02:00
Strangerke
397a94bc62 LILLIPUT: Some more renaming in the sequence manager 2018-04-07 23:58:32 +02:00
Paul Gilbert
ea29c2356f XEEN: Allow saving game after Clouds ending finishes 2018-04-07 17:23:13 -04:00
Paul Gilbert
c2b5d625fa XEEN: Fix check to allow Lloyding into Xeen's castle 2018-04-07 17:13:54 -04:00
Paul Gilbert
f1cfc9e696 XEEN: Cleanup of game completion flags 2018-04-07 16:55:07 -04:00
Paul Gilbert
a42ca33a1c XEEN: Add 'strength' debugger command 2018-04-07 16:30:04 -04:00
Eugene Sandulenko
db1b7b0e1f JANITORIAL: Fix whitespace 2018-04-07 22:22:42 +02:00
Paul Gilbert
c1ae848818 XEEN: Allow loading savegames during combat using GMM
The original didn't allow loading during combat from it's
options dialog, and I'll leave that untouched, but the ability
to load out of a unwinnable combat is too convenient to not
allow in some form.
2018-04-07 15:53:27 -04:00
Paul Gilbert
569833b4ca XEEN: Reset combat data when loading a new savegame 2018-04-07 15:41:16 -04:00
Eugene Sandulenko
25eeee8e50 BLADERUNNER: Remove dead code 2018-04-07 21:08:54 +02:00
Paul Gilbert
a575346ba3 XEEN: Fix Protection From Elements spell 2018-04-07 12:31:32 -04:00
Paul Gilbert
d8e4f35cc0 XEEN: Remove unused GameEvent class 2018-04-07 11:07:54 -04:00
Paul Gilbert
6a32516490 XEEN: Cache mouse clicks as well as keyboard in EventsManager
This allows the well open door/gate, shoot at enemies, then close
to work with the mouse as well as the keyboard. The pending event
queue has also been limited to 5 pending events. Trust me, you
don't want to spent time spamming Shoot at a high level monster
that can't reach you, only for when it's killed to have to wait
several minutes whilst your party keeps shooting.
2018-04-07 11:02:09 -04:00
Adrian Frühwirth
9b21e7507c TUCKER: Do not assign negative value to unsigned int 2018-04-07 13:06:05 +02:00
whitertandrek
00e8bc1945 PLUMBERS: Optimized heap allocation
No sense in deleting and then allocating an object again because loadStream method destroy previous data.
2018-04-07 11:33:13 +02:00
whitertandrek
6e661ab485 PLUMBERS: Removed unnecessary calls
destructor of Common::File anyway calls close method
2018-04-07 11:33:13 +02:00
whitertandrek
c77e34b607 PLUMBERS: Change file allocation from heap to stack 2018-04-07 11:33:13 +02:00
whitertandrek
b643af27c3 PLUMBERS: Remove unnecessary conditional
delete perfoms the check anyway
2018-04-07 11:33:13 +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