aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_v1.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.
2016-08-24KYRA: Fix openSaveForWriting() to return OutSaveFileAlexander Tkachev
2014-02-18KYRA: Make GPL headers consistent in themselves.Johannes Schickel
2012-11-23KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError.Johannes Schickel
2012-11-11KYRA: clean up audio resource handlingathrxx
(this was really ugly, now it's somewhat less ugly)
2012-11-11KYRA: finish implementation of new HOF sequence player codeathrxx
2012-11-11KYRA: move HOF sequence player into its own classathrxx
(also cleaning up and fixing things while doing that)
2012-03-05KYRA: Some formatting fixes.Johannes Schickel
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2012-02-24KYRA: (EOB) - cleanup CGA/EGA code a bitathrxx
2012-02-21KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB IIathrxx
(also fix various thing connected to CGA/EGA modes)
2012-02-21KYRA: (EOB) - start work on CGA and EGA graphics modesathrxx
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2011-12-27KYRA: Fix compilation with clang.Johannes Schickel
2011-12-26KYRA: (EOB) - Start implementing EOB1 party transfer (not working yet)athrxx
(ScummVM specific solution which allows the selection of save files of all configured EOB1 targets)
2011-12-26KYRA: (EOB) - some refactoringathrxx
2011-12-26KYRA: (EOB) - more work on ingame menusathrxx
2011-12-26KYRA: (EOB) - initial code base commitathrxx
2011-12-26KYRA: (AdLib Driver) - increase versions and add necessary EOB modificationsathrxx
2011-10-29KYRA: Update engine description comment.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-27KYRA: add support for Russian Kyra 1 floppy fan translationathrxx
2011-06-25KYRA: _athrxx is the new Kyra maintainer.Johannes Schickel
2011-06-25KYRA: revert d7e700f370c258a5f4786d972af3666b93b71f94athrxx
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-10LOL: fix so-called bug #3313950athrxx
(LoL support for Italian fan translation)
2011-06-05KYRA: fix GMM savingathrxx
(match with 477d6233c3672d9a60cceea3570bc775df3d9253)
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-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-02-16KYRA/LOL: fixed hand item cursor bugathrxx
This fixes a bug when loading savegames with different active hand items via GMM. The mouse cursor was not set to the active hand item in these cases.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-10-28KYRA: Rename KyraEngine::saveGameState to KyraEngine::saveGameStateIntern.Johannes Schickel
This is to avoid name similarity between KyraEngine::saveGameState(Intern) and Engine::saveGameState. svn-id: r53912
2010-10-22KYRA: More cleanup.Johannes Schickel
svn-id: r53699
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-09-05KYRA: Get rid of local static non-POD object.Johannes Schickel
This fixes crashes with the plugins branch for dhewg. svn-id: r52579
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-04-12Revert "Fix use of "friend" keyword in KYRA for strict C++ compilers."Johannes Schickel
Actually g++ is just fine in this case :-). The thing I missed here was that I declared the "offending" classes as friends in subclasses of KyraEngine_v1, thus those friends were allowed to access the protected elements of KyraEngine_v1 too. svn-id: r48643
2010-04-12Fix use of "friend" keyword in KYRA for strict C++ compilers.Johannes Schickel
Unlike g++, which does inherit friends (it seems), C++ does specify that friend is not inherited. I.e. when B is a friend of A and you have a class C subclassing B, C is not allowed to access private memebers of A. svn-id: r48641
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-02-17Use Common::KeyCode instead of int as key type for KeyMap.Johannes Schickel
svn-id: r48078
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-26Typos.Johannes Schickel
svn-id: r46159
2009-11-26Initial doxygen description of the Kyrandia engine.Johannes Schickel
svn-id: r46158
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-07Access _keyMap a little different, so that no additional entries are ↵Johannes Schickel
created, when an unmapped key is pressed. svn-id: r45730
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-10-04Some fixes to comply with our coding guidelines.Johannes Schickel
svn-id: r44624
2009-10-04LoL PC98: Fix thumbnail creation for quick saves and autosave.Johannes Schickel
svn-id: r44623
2009-10-03LOL/PC-98: add keyboard supportFlorian Kagerer
svn-id: r44564