aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.h
AgeCommit message (Collapse)Author
2018-05-05CGE: Add play time metadata to savegamesAdrian Frühwirth
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-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2014-04-25CGE2: Remove detection of Sfinx from CGE1.uruk
2014-03-15CGE: Remove a useless structure member, reduce a variable scopeStrangerke
2014-03-15CGE: Remove a useless variable, remove some associated dead codeStrangerke
2014-02-18CGE: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-26CGE: Fix warning in detectionStrangerke
Thanks clone2727 for reporting it
2013-05-19CGE: Introduce gametypeStrangerke
2012-06-28CGE: Remove unused Demo text idStrangerke
2012-06-28CGE: Rename variableStrangerke
2012-06-27CGE: Add ending message to tell the user he finished the game. Fix bug #3538396Strangerke
2012-02-22CGE: Avoid including advancedDetector.h from cge.hMax Horn
2011-12-05CGE: Better handling of the wide 'space' characterStrangerke
2011-11-28CGE: Add to the console a function to display boundariesStrangerke
2011-11-16CGE: Add RTL, hook Main Menu to right click on audio buttonStrangerke
2011-09-18CGE: Rename Snail into CommandHandler, plus some associated renamingsStrangerke
2011-09-17CGE: Move _talk and _text to CGEEngineStrangerke
2011-09-17CGE: Move some more globals to CGEEngineStrangerke
2011-09-17CGE: Remove duplicated forward declarationStrangerke
2011-09-17CGE: some more cleanupStrangerke
2011-09-17CGE: Move some more globals to CGEEngineStrangerke
2011-09-17CGE: Move 4 global to CGEEngineStrangerke
2011-09-16CGE: Move _vga to CGEEngineStrangerke
2011-09-16CGE: Get rid of some more global functions and static membersStrangerke
2011-09-16CGE: Move two globals functions to CGEEngineStrangerke
2011-09-15CGE: Transform some static and globals into class membersStrangerke
2011-09-14CGE: Rename cave into sceneStrangerke
2011-09-14CGE: Remove useless functionStrangerke
2011-09-07CGE: Clean up and split snBarrier(), remove progName()Strangerke
2011-09-06CGE: Replace Hxy by Common::PointStrangerke
2011-09-06CGE: Cleanup: remove residuals of the demo codeStrangerke
Thanks to fingolfin and LordHoto for pointing it out
2011-09-06CGE: Remove 'count' static variable from snailStrangerke
Thanks LordHoto for pointing it out
2011-09-06CGE: Take into account some of LordHoto's commentsStrangerke
2011-09-04CGE: Remove two useless callback typesStrangerke
2011-09-01CGE: Fix thumbnails display when a game is loaded.Strangerke
2011-08-29CGE: Remove code related to demos, and tag demos as unsupportedStrangerke
2011-08-27CGE: Remove user first name input, used originally for savegame namesStrangerke
2011-08-20CGE: Suppress some debug code present in the originalStrangerke
2011-08-19CGE: Remove unused snSelect function, and broken config.cpp.Alyssa Milburn
2011-08-13CGE: Fix for HLINE not being available for demoPaul Gilbert
The HorizLine class is really only used for on-screen debugging information anyway, so it's not a problem.
2011-08-12CGE: Work on implementing MIDI music playback.Paul Gilbert
Music playback is now sort of working, but it seems like only a beat track of the MIDI is getting played
2011-08-10CGE: Further fixes to savegames.Paul Gilbert
2011-08-07CGE: Remove JBW flag (useless)Strangerke
2011-08-06CGE: Removed the _mini data block originally used to hold inventory shapes ↵Paul Gilbert
in high memory
2011-08-06CGE: Fixed up freeing of caveValues dataPaul Gilbert
2011-08-02CGE: Rename some more definesStrangerke
2011-07-31CGE: Rename some class members, various clean upStrangerke
2011-07-30CGE: Move some conditional defines to variablesStrangerke
2011-07-30CGE: un-static-fy several variables, clean Heart classStrangerke