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
3abc11611e
Code formatting fixes
...
svn-id: r28945
2007-09-18 20:16:33 +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
Torbjörn Andersson
b159645be4
Initialise _stream.next_in as well, to silence another Valgrind warning in at
...
least some versions of Freddi Fish 1.
svn-id: r27063
2007-06-03 14:29:52 +00:00
Torbjörn Andersson
a5f34ae1da
Initialized _stream.avail_in (and fixed a typo in a comment) after discussing
...
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-06-03 14:14:51 +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
319a1c9b65
Reenabled window bit flags for automatica gzip header detection, and documented which zlib version introduced the feature. Also enforce that zlib version
...
svn-id: r26093
2007-03-11 16:00:38 +00:00
Lars Persson
20fce9c87e
Adding extra wbits is not supported by all versions of zlib. If they should be present, please indicate which version of zlib that is required for correct operation.
...
svn-id: r26092
2007-03-11 15:37:27 +00:00
Eugene Sandulenko
06c2976fa0
More fixes for MSVC8 warnings.
...
svn-id: r26063
2007-03-10 15:04:06 +00:00
Max Horn
2b3c08d420
Don't set ioFailed on EOS
...
svn-id: r25713
2007-02-19 08:48:54 +00:00
Marcus Comstedt
138b7bea41
Accept zlib format files as well when reading.
...
svn-id: r25690
2007-02-18 16:55:40 +00:00
Max Horn
35009ebff7
Const correctness
...
svn-id: r25688
2007-02-18 15:40:59 +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
87d3e4fb0e
Moved savefile.cpp to backends, to work around link error
...
svn-id: r23361
2006-06-30 22:06: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