aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/detection.cpp
AgeCommit message (Collapse)Author
2019-11-03ENGINES: Add an engine ID to all the enginesBastien 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.
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-02-25HUGO: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26HUGO: Only request actual save slots in listSaves.Johannes Schickel
2014-02-18HUGO: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17HUGO: Indent REGISTER_PLUGIN_* for consistency.Johannes Schickel
2014-02-09HUGO: Reduce the scope of some variablesStrangerke
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-07-03HUGO: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-06-10HUGO: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-08HUGO: Misc savegame modificationsstrangerke
- Add initial savegame on slot 0 - Save viewstate as it may now contain several different values when saving - Fix loading from GMM - Implement ctrl-N
2011-02-12HUGO: Cleanup based on Fingolfin commentsArnaud Boutonné
svn-id: r55887
2010-11-29HUGO: Fix save/load screens, which were always showing slot0 infoArnaud Boutonné
svn-id: r54658
2010-11-29HUGO: Add GMM save/load and RTLArnaud Boutonné
svn-id: r54576
2010-11-26HUGO: Get rid of initial savegameArnaud Boutonné
svn-id: r54503
2010-11-07HUGO: Use DOS names for and exact names in endGame()Arnaud Boutonné
svn-id: r54131
2010-10-10HUGO: Use _targetName for naming save filesMatthew Hoops
svn-id: r53145
2010-09-04HUGO: Fix decryption in H2 DOS, plus some cleanupArnaud Boutonné
svn-id: r52525
2010-08-27HUGO: Hopefully fix GCC_PRINTF issue in utilArnaud Boutonné
* Add a mask in each call of Warn(), Error() and Box() not using one * cleanup: use the same wording for 'End of namespace Hugo' in all files svn-id: r52406
2010-08-20Hugo : Style - Add parenthesis around condition when conditional operator is ↵Arnaud Boutonné
used, as mentioned in Code Formatting Conventions svn-id: r52230
2010-08-17HUGO: Fix file permissionsSven Hesse
755->644 svn-id: r52177
2010-08-17Hugo: Fix very minor typo.John Willis
svn-id: r52140
2010-08-17HUGO: Adding engine to the main treeEugene Sandulenko
svn-id: r52137