aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.h
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-01-31DM: Fix GCC warningsStrangerke
2016-10-11DM: Handle demo dungeon fileStrangerke
2016-09-20DM: Janitorial - remove trailing spacesStrangerke
2016-09-19DM: Fix 2 GCC warnings, some renamingStrangerke
2016-09-19DM: Some more renamingStrangerke
2016-09-19DM: Change the definition of setMapAndTime, move SoundIndex enum to SoundManStrangerke
2016-09-18DM: Rename some more enumsStrangerke
2016-09-18DM: rename members of DescriptionMask, PanelContent, CreatureSize, CreatureMaskStrangerke
2016-09-16DM: Fix some more non-MSVC warnings, remove a useless variableStrangerke
2016-09-13DM: Get rif od SquareType, rename SquareMaskStrangerke
2016-09-11DM: Get rid of getBoundedValue, replace it by CLIPStrangerke
2016-09-11DM: Rework functions related to Directions in order to make them consistent ↵Strangerke
and remove redundancy
2016-09-11DM: Make some functions private, move 2 functions to more specific classesStrangerke
2016-09-11DM: Move some globals to DMEngineStrangerke
2016-09-11DM Rename enum members in dm.h and dialog.hStrangerke
2016-09-03DM: Fix the style used for some pointers and castsStrangerke
2016-09-03DM: Fix include headersBendegúz Nagy
Add DM_ prefix Add missing include guards
2016-09-03DM: Clean up includesBendegúz Nagy
Swap <> to "" with scummvm files Add dm/ prefix to dm files Reorder includes to system files, dm files
2016-08-27DM: More renaming in DungeonMan, move some arraysStrangerke
2016-08-27DM: Rework fuseSequenceStrangerke
2016-08-27DM: Remove custom warning functionStrangerke
2016-08-26DM: Fix GCC errors in detection.cppBendegúz Nagy
2016-08-26DM: Rename functions of DMEngine and DialogManStrangerke
2016-08-26DM: Add target and original platform to save filesBendegúz Nagy
2016-08-26DM: Add proper save headerBendegúz Nagy
2016-08-26DM: Remove some warningsBendegúz Nagy
2016-08-26DM: Add file error checking for save gameBendegúz Nagy
2016-08-26DM: Complete f437_STARTEND_drawTittleBendegúz Nagy
2016-08-26DM: Fix some GCC warningsStrangerke
2016-08-26DM: Add loading from gameBendegúz Nagy
2016-08-26DM: Make ScummVM's save dialog open up when savingBendegúz Nagy
2016-08-26DM: Make thumbnail capture the dungeonBendegúz Nagy
2016-08-26DM: Add support for loading from launcherBendegúz Nagy
2016-08-26DM: Pull sound handling into a separate classBendegúz Nagy
2016-08-26DM: Add missing localization warnings and query function for languageBendegúz Nagy
2016-08-26DM: Add entrance creditsBendegúz Nagy
2016-08-26DM: Add DMEngine::f446_STARTEND_fuseSequnce()Bendegúz Nagy
2016-08-26DM: Add DMEngine::f445_STARTEND_fuseSequenceUpdateBendegúz Nagy
2016-08-26DM: Add gimme debug command spawning itemsBendegúz Nagy
2016-08-26DM: Add debug command .posBendegúz Nagy
2016-08-26DM: Add debugger consoleBendegúz Nagy
2016-08-26DM: Fix dungon not drawn behind entrance doorsBendegúz Nagy
2016-08-26DM: Fill stub method f438_STARTEND_OpenEntranceDoorsBendegúz Nagy
2016-08-26DM: Swap some warnings to stub methodsBendegúz Nagy
Stub methods: f362_commandHighlightBoxEnable, f442_SARTEND_processCommand202_entranceDrawCredits, f437_STARTEND_drawTittle
2016-08-26DM: Add f064_SOUND_RequestPlay_CPSD, f65_playPendingSound, f505_soundGetVolumeBendegúz Nagy
2016-08-26DM: Add f60_playSoundBendegúz Nagy
2016-08-26DM: Some renaming, add a couple of STUBSStrangerke
2016-08-26DM: Add sound loadingBendegúz Nagy
2016-08-26DM: Add f444_endGame and checks for Common::EVENT_QUITBendegúz Nagy