Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-07 | PLUMBERS: Optimized heap allocation | whitertandrek | |
No sense in deleting and then allocating an object again because loadStream method destroy previous data. | |||
2018-04-07 | PLUMBERS: Removed unnecessary calls | whitertandrek | |
destructor of Common::File anyway calls close method | |||
2018-04-07 | PLUMBERS: Change file allocation from heap to stack | whitertandrek | |
2018-04-07 | PLUMBERS: Remove unnecessary conditional | whitertandrek | |
delete perfoms the check anyway | |||
2018-04-07 | ALL: Load savegame thumbnail only when necessary | Adrian Frühwirth | |
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-06 | XEEN: Fix animation for Elemental Storm spell | Paul Gilbert | |
2018-04-06 | XEEN: Don't set a _buttonValue when Ctrl or Alt is pressed | Paul Gilbert | |
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 | XEEN: Fix crash getting Scarab of Imaging | Paul Gilbert | |
2018-04-06 | XEEN: Fix Space tiles not appearing in the map & minimap | Paul Gilbert | |
2018-04-06 | XEEN: Cleanup of monster move check method | Paul Gilbert | |
2018-04-06 | XEEN: Fix teleporting outdoors | Paul Gilbert | |
2018-04-05 | XEEN: Fix equipping belts | Paul Gilbert | |
2018-04-05 | XEEN: Fix Barok giving Enchant Item spell to party | Paul Gilbert | |
2018-04-05 | XEEN: Remove map load assert to allow Northern Sphinx map to load | Paul Gilbert | |
2018-04-05 | XEEN: Move check code for nearby monsters to it's own method | Paul Gilbert | |
2018-04-05 | XEEN: Fix getting multiple Northern Sphinx keys | Paul Gilbert | |
2018-04-05 | XEEN: Fix lockpicking to use selected character | Paul Gilbert | |
2018-04-05 | XEEN: Fix entering password in Castle Basenji | Paul Gilbert | |
2018-04-04 | XEEN: Refine bounds of scene drawing clip area | Paul Gilbert | |
2018-04-04 | XEEN: Draw proper sky tiles outside bounds of sky maps | Paul Gilbert | |
2018-04-04 | XEEN: Don't show space or sky tiles as obscured in the minimap | Paul Gilbert | |
2018-04-04 | XEEN: Improved clipping for drawing within scene area | Paul Gilbert | |
2018-04-04 | BLADERUNNER: Fix memory leaks | Eugene Sandulenko | |
2018-04-03 | XEEN: Fix cmdIfMapFlag crash when banging Winterkill gong | Paul Gilbert | |
2018-04-03 | XEEN: Don't allow saving in the war zone | Paul Gilbert | |
2018-04-03 | XEEN: Fixes for fighting in the Warzone | Paul Gilbert | |
2018-04-03 | XEEN: Simplify original's code for monsters picking targets | Paul Gilbert | |
2018-04-03 | XEEN: Cleanup of class hates switch | Paul Gilbert | |
2018-04-03 | BLADERUNNER: Implement scene jumping via bootparams. | Eugene Sandulenko | |
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-02 | XEEN: Fix crash entering Newcastle | Paul Gilbert | |
2018-04-02 | XEEN: Fix subtraction of Megacredits paying for castle improvements | Paul Gilbert | |
2018-04-02 | XEEN: Fix game state after restarting game | Paul Gilbert | |
2018-04-02 | XEEN: Fix script for Miles the Cartographer | Paul Gilbert | |
2018-04-02 | XEEN: Fix entering the Temple of Yak | Paul Gilbert | |
2018-04-02 | BLADERUNNER: Added 'draw actors' debug command. | Eugene Sandulenko | |
Implemented as a hack on top of 'draw obj' with skipping all other scene objects. | |||
2018-04-02 | MOHAWK: MYST: Fix the myst flyby playing over the closed book | Bastien Bouclet | |
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 | MOHAWK: MYST: Initialize more variables | Bastien Bouclet | |
To make static analysis tools quiet. | |||
2018-04-02 | XEEN: Fix implementation of cmdReturn opcode | Paul Gilbert | |
2018-04-02 | MOHAWK: MYST: Implement opcodes 178 and 179 | Bastien Bouclet | |
Used when turning pages in the library. Some versions of the game appear to use them. Fixes #10474. | |||
2018-04-01 | XEEN: Fix entering the Witch Tower | Paul Gilbert | |
2018-04-01 | XEEN: Fix showing sign text at F4 2,3 | Paul Gilbert | |
2018-04-01 | XEEN: Fix object 0 not being removable, _objNumber cleanup | Paul Gilbert | |
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 | XEEN: Fix Coverity reported overruns | Paul Gilbert | |
2018-04-01 | XEEN: Have sprite enlargement do double width as well as height | Paul Gilbert | |
2018-04-01 | XEEN: Properly crop scene contents from drawing on the top border | Paul Gilbert | |
2018-04-01 | XEEN: Fix combat crash when additional monsters join the front row | Paul Gilbert | |
2018-04-01 | XEEN: Fix laugh sound in death cutscene | Paul Gilbert | |
2018-04-01 | BLADERUNNER: Remove leftover debug output | Eugene Sandulenko | |
2018-04-01 | XEEN: Fix getting treasure non-weapon item names | Paul Gilbert | |
2018-04-01 | XEEN: Fix attribute colouring in Char Info dialog | Paul Gilbert | |