Bastien Bouclet
26d0935b9f
COMMON: Remove usage of ScopedPtr in OutSaveFile
...
It's not very useful. However this is mostly to test the theory that the
build failure we've been experiencing in
engines/scumm/he/logic/football.cpp with the osx builder on buildbot is
related to the size of the intermediary assembly source file.
2019-01-05 12:02:19 +01:00
Eugene Sandulenko
e8b70a4686
ALL: Fix compilation with disabled cloud but enabled libcurl
2016-10-17 18:55:22 +02:00
Alexander Tkachev
368f664c81
COMMON: Fix WriteStream::pos() once again
...
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't
ever return -1 to indicate that an error occured, so uint32 was a better
choice, but that's what is used in WriteStream base class now.
That method is abstract, so that's also why OutSaveFile had to override
it.
2016-08-24 16:24:16 +06:00
Alexander Tkachev
3da38ca60b
CLOUD: Replace USE_CLOUD with USE_LIBCURL
...
In most cases that's the right one to check. USE_CLOUD is defined when
either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl,
USE_CLOUD still could be defined and linking errors would appear.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
aee713141b
CLOUD: Make OutSaveFile start saves sync
...
It had to become a proxy class in order to do that.
finalize() starts the saves sync.
2016-08-24 16:07:55 +06:00
Johannes Schickel
121687d2ed
BACKENDS: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Littleboy
5a1874e3d9
COMMON: Add SaveFileManager::copySavefile() and update SaveFileManager::renameSavefile() to use it
2011-03-24 18:51:58 -04:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Eugene Sandulenko
d4d072fe04
Patch #1857121 : Refactoring of the getSavePath method
...
svn-id: r30032
2007-12-28 07:37:04 +00:00
Nicola Mettifogo
cd740a5474
When renaming a savefile, close the old file before deleting it to avoid errors.
...
svn-id: r29818
2007-12-10 18:59:18 +00:00
Max Horn
3598192859
Patch #1825132 : SAVEFILEMAN: renameSavefile implementation
...
svn-id: r29433
2007-11-06 10:52:47 +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
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
87d3e4fb0e
Moved savefile.cpp to backends, to work around link error
...
svn-id: r23361
2006-06-30 22:06:45 +00:00