aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
AgeCommit message (Collapse)Author
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-22Get rid of the wrappers around the zlib stream wrapper wrappers ;)Max Horn
svn-id: r36007
2009-01-22Revert my previous commit. File still produces error ↵Max Horn
'wrapCompressedReadStream' is not a member of 'Common' with gcc 4.2.4, though svn-id: r36006
2009-01-22Removed incorrect Common:: prefix from stuff that is not part of namespace ↵Max Horn
Common svn-id: r36005
2009-01-01Set/unified svn:keywords for all *.h and *.cpp filesMax Horn
svn-id: r35651
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-21Since we don't have FSNode::lookupFile() any more, switch to usingTorbjörn Andersson
FSDirectory::listMatchingMembers() instead. I hope the new code behaves close enough to the old one. svn-id: r35143
2008-11-06Merged SFMError into Common::Error, added some new error codes; revised some ↵Max Horn
error handling in DefaultSaveManager svn-id: r34915
2008-11-03add PSPSaveFileManager class (subclassed DefaultSaveFileManager)Joost Peters
svn-id: r34891
2008-11-03* turned DefaultSaveFileManager::checkPath into a virtual methodMax Horn
* add a subclass of DefaultSaveFileManager for UNIX, POSIXSaveFileManager, which overloads checkPath * switched SDL backend to use POSIXSaveFileManager if UNIX is #defined svn-id: r34872
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-16Merged common/gzip-stream.* and common/zlib.*Max Horn
svn-id: r34578
2008-09-15Turned compressed savefile wrapper into a generic stream wrapperMax Horn
svn-id: r34566
2008-09-15fix eos() behaviour for CompressedInSaveFileWillem Jan Palenstijn
svn-id: r34562
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-07Remove SYMBIAN special handing from default handler.Lars Persson
svn-id: r34403
2008-09-03Some cleanup by peresMax Horn
svn-id: r34308
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-09-02Added missing include.Johannes Schickel
svn-id: r34275
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