Commit Graph
22 Commits
Author SHA1 Message Date
Bastien Bouclet c08bb9cb4a ENGINES: Use an uppercase C for the metaengine copyright strings 2018-12-10 18:39:26 +01:00
Bastien Bouclet 9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
Paul Gilbert 560f10c346 XEEN: Fix Coverity warnings 2018-07-26 18:54:17 -07:00
Paul Gilbert b71bfdd531 XEEN: Savegame name wasn't showing up for slot 99 2018-05-04 19:36:22 -04:00
Paul Gilbert c2cdb2808d XEEN: Implement changes needed for World of Xeen 2 CD talkie 2018-04-28 18:06:23 -04:00
Paul Gilbert fbed392767 XEEN: Add launcher Engine tab option for more durable armor 2018-04-13 22:56:57 -04: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 99729bc15d XEEN: Add custom engine option for showing inventory item costs
This first new option displays the effective cost of items
when viewing in the standard character inventory. This makes
it easier to compare the value (and thus relative power)
of items against either other
2018-03-25 23:14:22 -04:00
Adrian Frühwirth f026186cdf XEEN: Be strict about matching digits in savegame filenames 2018-03-26 01:24:25 +02:00
Adrian Frühwirth 25535c10c2 XEEN: Let listSaves return list sorted on slot numbers 2018-03-26 01:07:31 +02:00
Paul Gilbert d51aa4659b XEEN: Add full game names to detection entries 2018-03-15 22:28:45 -04:00
Paul Gilbert a85a98b867 XEEN: Add detection for Clouds & Dark Side 2018-02-13 20:10:43 -05:00
Paul Gilbert e0ea40c3e3 XEEN: Added skeleton child engine for Swords of Xeen 2018-02-12 22:10:24 -05:00
Paul Gilbert 269ab8841d XEEN: Fix showing savegame meta info 2018-01-14 18:13:12 -05:00
Paul Gilbert 07f2b34d26 XEEN: Fix re-encryption of save archive indexes 2018-01-13 10:51:24 -05:00
Paul Gilbert 49de1602b0 XEEN: Create a separate current state saver for each side
Previously, I only had a single savefile, which maintains the
state of the party and mazes. But I've realised that I'll need
a separate archive for each side of Xeen. I'm still not entirely
happy with the cleanliness of the new structure, but it at least
is now functionally separating the sides.
2017-12-22 08:52:31 -05:00
Paul Gilbert 74612b40f7 XEEN: Fix some Coverity warnings 2017-11-14 21:06:12 -05:00
Paul Gilbert edaf645ae0 XEEN: Create a WorldOfXeen sub-namespace 2016-09-22 18:36:30 -04:00
Paul Gilbert 552f0cce8e XEEN: Move game cutscene methods into their own classes 2016-08-27 15:19:25 -04:00
Paul Gilbert 619a165f35 XEEN: Merge Clouds and DarkSide engines into WorldOfXeenEngine 2015-11-17 21:08:07 -05:00
Paul Gilbert a8da12bbe4 XEEN: Added skeletons for Clouds, Dark Side, and World of Xeen engines 2014-12-25 17:02:51 +11:00
Paul Gilbert d0225f7532 XEEN: Initial commit 2014-12-23 15:49:35 +11:00