aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur.cpp
AgeCommit message (Collapse)Author
2018-04-07ALL: Load savegame thumbnail only when necessaryAdrian 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.
2017-08-07VOYEUR: Workaround original game using invalid hotspot IdsPaul Gilbert
2016-03-14VOYEUR: Changed engine to use Graphics::ManagedSurfacePaul Gilbert
2015-12-02VOYEUR: Remove useless global variableStrangerke
2014-07-03VOYEUR: Fix crash when playing video #42Paul Gilbert
2014-06-08VOYEUR: Don't reset mansion view position after looking at roomsPaul Gilbert
2014-05-28VOYEUR: Janitorial - Remove trailing whitespaceSven Hesse
2014-05-26VOYEUR: Fix showing credits in the introductionPaul Gilbert
2014-03-16VOYEUR: Fix some missing variable initializationsStrangerke
2014-03-14VOYEUR: Get rid of some magic valuesStrangerke
2014-03-13VOYEUR: Simplify the use of _vPortStrangerke
2014-03-09VOYEUR: Another try to get rid of the hidden overloaded functionsStrangerke
2014-03-09VOYEUR: Remove a default parameter in RL2Decoder::loadfile()Strangerke
2014-03-09VOYEUR: Remove useless VoyeurEngine pointer in SoundManagerStrangerke
2014-03-05VOYEUR: Fix memory leak when quitting in showTitleScreen()Strangerke
2014-03-05VOYEUR: Some cleanup related to the onOff and pick masksStrangerke
2014-03-04VOYEUR: Fix the new password behavior (still not saved, just as in the original)Strangerke
2014-03-04VOYEUR: Refresh mouse events in safe screen, fixing the 'enter password' ↵Strangerke
behavior
2014-03-03VOYEUR: Rewrite hotspot code in doLock()Strangerke
2014-03-03VOYEUR: Remove 2 parameters matching the default parameter in function callsStrangerke
2014-03-01VOYEUR: Fix the value of the CMapResource used in the fading of ↵Strangerke
showConversionScreen()
2014-03-01VOYEUR: Match the original and test _iForcedDeath after doHeadTitle()Strangerke
2014-02-27VOYEUR: Remove initializeManagers()Strangerke
2014-02-27VOYEUR: Remove setVm from GraphicsManagerStrangerke
2014-02-27VOYEUR: Remove setVm from FilesManagerStrangerke
2014-02-27VOYEUR: Remove setVm from EventManagerStrangerke
2014-02-27VOYEUR: Remove setVm from SoundManagerStrangerke
2014-02-26VOYEUR: Remove setVm from DebuggerStrangerke
2014-02-26VOYEUR: Remove setVm from SVoyStrangerke
2014-02-26VOYEUR: Remove a useless functionStrangerke
2014-02-20VOYEUR: Fix comment related to iForcedDeathStrangerke
2014-02-20VOYEUR: Add iForcedDeath as a boot parameterStrangerke
2014-02-20VOYEUR: Remove useless function in SoundManagerStrangerke
2014-02-19VOYEUR: Some British to American EnglishStrangerke
2014-02-18VOYEUR: Remove some useless variablesStrangerke
2014-02-18VOYEUR: Remove useless variable in synchronizeStrangerke
2014-02-18VOYEUR: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17VOYEUR: Changed signature check for savegames to use MKTAGPaul Gilbert
2014-02-13VOYEUR: Remove useless fields in Events, some renamingStrangerke
2014-02-12VOYEUR: Use American English instead of British English in several placesStrangerke
2014-02-12VOYEUR: Initialize properly a couple of Bolt variablesStrangerke
2014-02-10VOYEUR: Reduce the scope of a couple of variablesStrangerke
2014-02-07VOYEUR: Standardised delay amount between frame checks in video playback methodsPaul Gilbert
2014-02-07VOYEUR: Renaming SVoy fieldsPaul Gilbert
2014-02-05VOYEUR: Fix preloading incriminating videos if the debug _iForceDeath is setPaul Gilbert
2014-02-05VOYEUR: Opening sequence video should not be completely skippedPaul Gilbert
2014-02-04VOYEUR: Renamings for the fields of the new StateResource classPaul Gilbert
2014-02-04VOYEUR: Convert ControlResource::_ptr raw data to a deserialized state objectPaul Gilbert
2014-02-04VOYEUR: Cleaner implementation of RL2Decoder seekPaul Gilbert
2014-02-04VOYEUR: Converted RL2 header getFrameRate to use Common::RationalPaul Gilbert