aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
AgeCommit message (Collapse)Author
2008-08-20- Committed Max' compressed save backseeking support from patch #2050337 ↵Johannes Schickel
"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
2008-08-04Pushed some port specific code from DefaultSaveFileManager out to port ↵Max Horn
specific code in backends/platform/ svn-id: r33621
2008-08-04Modified DefaultSaveFileManager::checkPath to perform at least basic checks ↵Max Horn
on non-UNIX, non-Symbian systems svn-id: r33615
2008-08-04Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager ↵Max Horn
(eventually, should be pushed into backends/platform/ code) svn-id: r33614
2008-08-04DefaultSaveFileManager: Killed class StdioSaveFile, used ↵Max Horn
FilesystemNode::openForReading()/openForWriting() instead (may cause regressions, watch out) svn-id: r33608
2008-08-04Removed join_paths from default save manager, and use FSNode API instead ↵Max Horn
(may lead to regressions, watch out) svn-id: r33605
2008-07-07Don't let listSavefiles() search subdirectories. Files with the same name ↵Sven Hesse
(in different directories) would cause duplicate entries for the same file. svn-id: r32938
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-10Fix DefaultSaveFileManager::listSavefiles to return the savefile *name*, not ↵Max Horn
the *path* (which is meaningless in the context of savefiles) svn-id: r30373
2007-12-30The PS2, DS and PalmOS ports currently do not properly implement their ↵Max Horn
SaveFileManagers -- flagging the incorrect & invalid code by making it not compile. Note: Portser should probably also fix their code in the 0.11 branch svn-id: r30079
2007-12-28Modify DFSM::getSavePath to return a Common::String instead of a char*Max Horn
svn-id: r30061
2007-12-28Change the checkPath() method to receive a String& instead of a char*, to ↵David Corrales
make code clearer. svn-id: r30060
2007-12-28Fixed compilation.Torbjörn Andersson
svn-id: r30050
2007-12-28Get rid of PSP / PalmOS hacks in DefaultSaveFileManager::getSavePathMax Horn
svn-id: r30046
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-12-10When renaming a savefile, close the old file before deleting it to avoid errors.Nicola Mettifogo
svn-id: r29818
2007-11-06Patch #1825132: SAVEFILEMAN: renameSavefile implementationMax Horn
svn-id: r29433
2007-11-03work around lack of errno in ceKostas Nakos
svn-id: r29387
2007-10-31Fixed a long due typo in the error messages inside the DefaultSaveFileManager.David Corrales
svn-id: r29341
2007-10-31Fixed compilation under WindowsFilippos Karapetis
svn-id: r29340
2007-10-31Removed the Common::File::removeFile() methods, and moved their ↵David Corrales
implementation to the Common::DefaultSaveFileManager::removeSavefile() method, as per Marcus' appraisal and Max's approval. svn-id: r29337
2007-10-16Committing the set of patches #1814434, thanks to jvprat. They improve the ↵David Corrales
documentation and parameter naming of the lookFile methods inside Common::FS. svn-id: r29228
2007-09-28Symbian OS does not have ELOOP defined as an error, so #ifdef around those ↵Lars Persson
two cases. svn-id: r29118
2007-09-21Rename file removal functions, to avoid conflicts. Add save game path, when ↵Travis Howell
removing files via SaveFileManager. svn-id: r29001
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Code formatting fixesMax Horn
svn-id: r28945
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944
2007-07-29Add a removeSavefile() to the default savefile manager based on the new ↵David Corrales
Common::File::remove(). svn-id: r28282
2007-07-18Added error codes to the SaveFileManager via the SFMError enum. Also, solved ↵David Corrales
TODO's in the default-saves implementation. svn-id: r28140
2007-07-12Changed SaveFileManager::listSavegames() function to be engine agnostic. It ↵David Corrales
now returns a list will the full paths of existing files that match a given regex. Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly. svn-id: r28046
2007-07-08Fixed a very strange bug with strings. Also added a couple sanity checks.David Corrales
svn-id: r27973
2007-07-08Merged the FSNode branch with trunk r27681:27969David Corrales
svn-id: r27970
2007-07-08Initial patch to the listSavefiles method. Now only the existing savegames ↵David Corrales
are marked as available. svn-id: r27957
2007-06-03Initialise _stream.next_in as well, to silence another Valgrind warning in atTorbjörn Andersson
least some versions of Freddi Fish 1. svn-id: r27063
2007-06-03Initialized _stream.avail_in (and fixed a typo in a comment) after discussingTorbjörn Andersson
with Fingolfin. This seems to fix the mysterious bug #1726120, though I'll need to test that a bit more before closing it. svn-id: r27062
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-16Add a flag which makes it possible to disable the default savefile man (for ↵Max Horn
backends which want to use our Makefile build system but don't want the default saveman) svn-id: r26152
2007-03-11Reenabled window bit flags for automatica gzip header detection, and ↵Max Horn
documented which zlib version introduced the feature. Also enforce that zlib version svn-id: r26093
2007-03-11Adding extra wbits is not supported by all versions of zlib. If they should ↵Lars Persson
be present, please indicate which version of zlib that is required for correct operation. svn-id: r26092
2007-03-10More fixes for MSVC8 warnings.Eugene Sandulenko
svn-id: r26063
2007-02-19Don't set ioFailed on EOSMax Horn
svn-id: r25713
2007-02-18Accept zlib format files as well when reading.Marcus Comstedt
svn-id: r25690
2007-02-18Const correctnessMax Horn
svn-id: r25688
2007-02-18Replaced the old code for compressed savegames (which was using the ↵Max Horn
gzopen/gzread/etc. API, and thuse tied to FILE/fopen/fread/etc.) with a new wrapper approach, which allows reading/writing gzip data via arbitrary SaveFile implementations, and thus can be used with custom savefile implementations svn-id: r25669
2007-01-21Don't mkdir the default savepath whenever we startup; rather, mkdir (on ↵Max Horn
Unix/Symbian, at least) the savedir just before we need it, i.e. just before saving. Fixes bug #1504398 svn-id: r25150
2006-11-04Fixed and updated Palm save managerChris Apers
svn-id: r24602
2006-07-09Fix some more duplicated files, and unify case for rpc includeJames Brown
svn-id: r23459
2006-06-30Moved savefile.cpp to backends, to work around link errorMax Horn
svn-id: r23361
2006-06-24Moved savefile code to new 'saves' backend module (work in progress)Max Horn
svn-id: r23282