Age | Commit message (Collapse) | Author |
|
Reorganize all files in sub directories. The file placement isn't as intuitive as it might be for other engines, which is probably the reason why this hasn't been done before.
|
|
This is for save files created 2006, 2007 and early 2008. Which is probably the reason why this has gone unnoticed.
|
|
|
|
regression from 00e59a31 - savegames without thumbnails (like the quickstart party) would raise an error message.
|
|
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.
|
|
|
|
|
|
|
|
|
|
savefile size.
|
|
|
|
|
|
|
|
(ScummVM specific solution which allows the selection of save files of all configured EOB1 targets)
|
|
Now it returns the Surface, so the caller does not need to create one and pass it.
|
|
|
|
|
|
|
|
|
|
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
|
|
svn-id: r54358
|
|
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
|
|
This is to avoid name similarity between KyraEngine::saveGameState(Intern)
and Engine::saveGameState.
svn-id: r53912
|
|
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
|
|
This fixes crashes with the plugins branch for dhewg.
svn-id: r52579
|
|
svn-id: r51668
|
|
consistency
svn-id: r44634
|
|
svn-id: r44623
|
|
svn-id: r42765
|
|
graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
|
|
svn-id: r42232
|
|
svn-id: r41722
|
|
_flagsTable instead.
svn-id: r41351
|
|
- fixed saveload code
- added some opcode for the swamp
svn-id: r40763
|
|
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
|
|
svn-id: r40717
|
|
svn-id: r40715
|
|
svn-id: r35648
|
|
arguments").
svn-id: r35096
|
|
svn-id: r34953
|
|
- Changed internal save/load API to use slots instead of filename strings
- Changed internal save/load API to use Common::Error
svn-id: r34952
|
|
svn-id: r34916
|
|
svn-id: r34885
|
|
confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
|
|
svn-id: r34545
|
|
svn-id: r34535
|
|
svn-id: r34527
|
|
svn-id: r34246
|
|
"KYRA/SCUMM: Thumbnail support/improvement"
- Extended SCUMM engine to support savegames without thumbnail header. (Increased savegame version to prevent saves to be loaded from older ScummVM versions)
- Fixed KYRA to properly support savegames without thumbnail header.
svn-id: r34054
|
|
(Without Max' compressed backward seeking support for now)
svn-id: r34053
|