David Corrales
dc29c25b71
Fixed a long due typo in the error messages inside the DefaultSaveFileManager.
...
svn-id: r29341
2007-10-31 19:09:23 +00:00
Filippos Karapetis
94499005cf
Fixed compilation under Windows
...
svn-id: r29340
2007-10-31 18:51:11 +00:00
David Corrales
2ac075e569
Removed the Common::File::removeFile() methods, and moved their implementation to the Common::DefaultSaveFileManager::removeSavefile() method, as per Marcus' appraisal and Max's approval.
...
svn-id: r29337
2007-10-31 13:59:59 +00:00
David Corrales
ec38b85a44
Committing the set of patches #1814434 , thanks to jvprat. They improve the documentation and parameter naming of the lookFile methods inside Common::FS.
...
svn-id: r29228
2007-10-16 20:24:39 +00:00
Lars Persson
cd3e35103c
Symbian OS does not have ELOOP defined as an error, so #ifdef around those two cases.
...
svn-id: r29118
2007-09-28 20:36:54 +00:00
Travis Howell
6b639c6b21
Rename file removal functions, to avoid conflicts. Add save game path, when removing files via SaveFileManager.
...
svn-id: r29001
2007-09-21 05:27:33 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
c3d3aebe87
Patch #1768757 : Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
...
svn-id: r28944
2007-09-18 20:02:04 +00:00
David Corrales
9752c75f40
Add a removeSavefile() to the default savefile manager based on the new Common::File::remove().
...
svn-id: r28282
2007-07-29 01:36:59 +00:00
David Corrales
21f352b2df
Added error codes to the SaveFileManager via the SFMError enum. Also, solved TODO's in the default-saves implementation.
...
svn-id: r28140
2007-07-18 20:51:26 +00:00
David Corrales
720c974faf
Changed SaveFileManager::listSavegames() function to be engine agnostic. It 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-12 17:58:15 +00:00
David Corrales
779f702b69
Fixed a very strange bug with strings. Also added a couple sanity checks.
...
svn-id: r27973
2007-07-08 17:44:26 +00:00
David Corrales
9bfe5d5354
Merged the FSNode branch with trunk r27681:27969
...
svn-id: r27970
2007-07-08 16:58:54 +00:00
David Corrales
256e4d9521
Initial patch to the listSavefiles method. Now only the existing savegames are marked as available.
...
svn-id: r27957
2007-07-08 07:19:50 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
5d59ee6091
Add a flag which makes it possible to disable the default savefile man (for backends which want to use our Makefile build system but don't want the default saveman)
...
svn-id: r26152
2007-03-16 23:07:08 +00:00
Max Horn
7f07e6e48a
Replaced the old code for compressed savegames (which was using the 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-02-18 02:25:39 +00:00
Max Horn
aaf706a43d
Don't mkdir the default savepath whenever we startup; rather, mkdir (on Unix/Symbian, at least) the savedir just before we need it, i.e. just before saving. Fixes bug #1504398
...
svn-id: r25150
2007-01-21 15:17:28 +00:00
Chris Apers
4e63968994
Fixed and updated Palm save manager
...
svn-id: r24602
2006-11-04 16:22:58 +00:00
James Brown
0e66c43c70
Fix some more duplicated files, and unify case for rpc include
...
svn-id: r23459
2006-07-09 13:10:45 +00:00
Max Horn
6a588f8399
Moved savefile code to new 'saves' backend module (work in progress)
...
svn-id: r23282
2006-06-24 10:08:43 +00:00