aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/modal.cpp
AgeCommit message (Collapse)Author
2018-05-24FULLPIPE: fix URIGabriel Corona
The previous URI spawns many useless subshells on the POSIX backend through (harmless) shell command injection.
2018-05-05FULLPIPE: Reduce duplicate header includesDavid Fioramonti
Remove duplicate headers in two files and ordered the headers similar to other fullpipe files.
2018-05-01FULLPIPE: Remove useless AD includeBastien Bouclet
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-12-02FULLPIPE: Fix bug #10317: Save game metadata is missingEugene Sandulenko
2017-11-27FULLPIPE: Properly cleanup menu after quittingEugene Sandulenko
2017-11-18FULLPIPE: Remove manual memory management and fix in-game save/loadColin Snover
2017-11-18FULLPIPE: Fix use-after-free in ModalMainMenuColin Snover
Pointers to objects which are invalidated when the scene gets unloaded may continue to be accessed if a mouse hover event is dispatched to the ModalMainMenu.
2017-11-18FULLPIPE: Fix memory leaks of PreloadItemsColin Snover
2017-11-18FULLPIPE: Fix memory leaks in PictureObject, BackgroundColin Snover
2017-11-18FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion ↵Colin Snover
and Sc2
2017-11-18FULLPIPE: Fix memory leaks in ModalMainMenuColin Snover
2017-11-18FULLPIPE: Remove unnecessary and unsafe C-style castsColin Snover
2017-11-18FULLPIPE: Fix memory leaks in ModalVideoPlayerColin Snover
2017-11-18FULLPIPE: Make dimensions/coordinate getters pure functionsColin Snover
2017-11-18FULLPIPE: Improve memory safety and fix leaks in sound codeColin Snover
2016-12-26FULLPIPE: Decrease header dependencyEugene Sandulenko
2016-12-23FULLPIPE: Open relevant URLs in demo for purchasing full gamesEugene Sandulenko
2016-12-12FULLPIPE: Fix colors in intro videoPaul Gilbert
2016-12-11FULLPIPE: Center map on opening. Fixes bug #9668Eugene Sandulenko
2016-12-11FULLPIPE: Implement Russian demo differencesEugene Sandulenko
2016-12-11FULLPIPE: Implement demo-specific help screenEugene Sandulenko
2016-12-11FULLPIPE: Initial support for Russian Demo. The demo startsEugene Sandulenko
2016-12-11FULLPIPE: Fix compilationEugene Sandulenko
2016-12-11FULLPIPE: Beginnings of support of Russian demoEugene Sandulenko
2016-12-10FULLPIPE: Implemented support for German demoEugene Sandulenko
2016-12-09FULLPIPE: Implement switching scenes from the mapEugene Sandulenko
2016-12-08FULLPIPE: Implement ModalMap::findMapSceneId() and plug new map code inEugene Sandulenko
2016-12-08FULLPIPE: Implement ModalMap::init2()Eugene Sandulenko
2016-12-07FULLPIPE: Implement ModalMap::isSceneEnabled()Eugene Sandulenko
2016-12-07FULLPIPE: Implement ModalMap::checkScenePass()Eugene Sandulenko
2016-12-06FULLPIPE: Renames in ModalMapEugene Sandulenko
2016-12-06FULLPIPE: Map code difference for German versionEugene Sandulenko
2016-12-05FULLPIPE: Implemented ModalMap::getSceneHPicture()Eugene Sandulenko
2016-12-01FULLPIPE: Fix quitting game via menuEugene Sandulenko
2016-09-30FULLPIPE: Enable debug menu permanently after cheat code to match the originalEugene Sandulenko
2016-09-20FULLPIPE: Fix debug menu cheatEugene Sandulenko
2016-09-20FULLPIPE: Read playtime and save date from save headersEugene Sandulenko
2016-09-19FULLPIPE: Correct slot number on loadingEugene Sandulenko
2016-09-19FULLPIPE: Fix crash at load dialog initializationEugene Sandulenko
2016-09-19FULLPIPE: Remove obsolete TODO commentTorbjörn Andersson
2016-09-11FULLPIPE: Make sound controls work and persistentEugene Sandulenko
2016-09-04FULLPIPE: Rename in ExCommand structureEugene Sandulenko
2016-09-04JANITORIAL: Fix whitespacesEugene Sandulenko
2016-08-30FULLPIPE: Fix jumping on MapEugene Sandulenko
2016-08-29FULLPIPE: Fix few bugs in Map codeEugene Sandulenko
2015-01-21JANITORIAL: Remove unnecessary semicolonsTorbjörn Andersson
2014-06-18FULLPIPE: Fixed ModalQueryEugene Sandulenko
2014-06-18FULLPIPE: Implement ModalCredits::update()Eugene Sandulenko
2014-06-18FULLPIPE: Implemented ModalIntro::update()Eugene Sandulenko