84943 Commits

Author SHA1 Message Date
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
aa168e079f XEEN: Fix single pixel difference for post-deposit message
I still haven't tracked down how the original handles the
integer division rounding that results in the pre and post
deposit Deposit dialog message being offset by 1 pixel.
But since the problem could be resolved by standardising
when center alignment is set in both messages, and I
haven't noticed any problem elsewhere, I think this is
sufficient for now
2018-04-07 11:11:12 -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
28a3faa178 AUDIO: Really fix constant type in Nuked OPL emulator 2018-04-07 14:41:06 +02:00
Adrian Frühwirth
9b21e7507c TUCKER: Do not assign negative value to unsigned int 2018-04-07 13:06:05 +02:00
Bastien Bouclet
6409e99089 N64: Remove the port-specific integer type definitions
They are identical to those detected by configure on buildbot
2018-04-07 12:44:47 +02:00
Eugene Sandulenko
b1d2d56198 AUDIO: Specify constant type in Nuked OPL emulator 2018-04-07 12:40:28 +02:00
Eugene Sandulenko
52fc7e34d8 CONFIGURE: Do not even try to build Nuked OPL when disabled 2018-04-07 12:22:18 +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
61e262be89 SUPERNOVA: Fix missing return statement 2018-04-07 11:25:47 +02:00
Torbjörn Andersson
4702681be2 IMAGE: Explicitly initialize CinePak codebooks
Starship Titanic produces lots of "uninitialized value" warnings
at the very beginning of the game, when turning right. This is
because in the very first movie frame it uses codebooks that have
not been loaded. Explicitly set their data to 0 to guarantee
consistent behavior.
2018-04-07 10:03:50 +02:00
Eugene Sandulenko
7f6d431fe3 JANITORIAL: Add missing endline 2018-04-07 09:53:46 +02:00
Eugene Sandulenko
ca73d36dc8 CONFIGURE: Add option to disable Nuked OPL and disable it on low-end platforms 2018-04-07 09:52:44 +02:00
Eugene Sandulenko
e0968df671 BASE: Show nuked audio driver only when compiled 2018-04-07 09:37:58 +02:00
Thierry Crozat
71a6657308 I18N: Update translations templates 2018-04-07 09:34:10 +02:00
nukeykt
b2052bc66f AUDIO: Add Nuked OPL3 core 2018-04-07 09:34:00 +02:00
Matthew Stewart
c36a5f3395 DS: Fix touch input 2018-04-07 09:30:07 +02:00
Matthew Stewart
a43f914abe DS: Fix building with ndstool 2018-04-07 09:30:07 +02:00
Cameron Cawley
b3ccc1ce74 DS: Fix detection of external libraries 2018-04-07 09:30:07 +02:00
Cameron Cawley
a7defc2136 DS: Add necessary files to .gitignore 2018-04-07 09:30:07 +02:00
Cameron Cawley
7717b55e51 DS: Disable highres games by default 2018-04-07 09:30:07 +02:00
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