aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/filesystemutil.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-10-20 11:11:09 +0000
committerPaul Gilbert2010-10-20 11:11:09 +0000
commit14e82dbe7f25c1a31cc8afbc712ee0246c7706dc (patch)
tree4c147a55e4eef66b8f50c756bac695c32c51170b /engines/sword25/kernel/filesystemutil.cpp
parent66ecd08868b83d166e6e01c2e4c2b66eecdbe99a (diff)
downloadscummvm-rg350-14e82dbe7f25c1a31cc8afbc712ee0246c7706dc.tar.gz
scummvm-rg350-14e82dbe7f25c1a31cc8afbc712ee0246c7706dc.tar.bz2
scummvm-rg350-14e82dbe7f25c1a31cc8afbc712ee0246c7706dc.zip
SWORD25: Added description field to savegames
This stores the date and time of when the game was saved, since ScummVM doesn't support getting a file's age like the original engine did. svn-id: r53638
Diffstat (limited to 'engines/sword25/kernel/filesystemutil.cpp')
-rw-r--r--engines/sword25/kernel/filesystemutil.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/sword25/kernel/filesystemutil.cpp b/engines/sword25/kernel/filesystemutil.cpp
index 945ba0d2c2..4268cf83fa 100644
--- a/engines/sword25/kernel/filesystemutil.cpp
+++ b/engines/sword25/kernel/filesystemutil.cpp
@@ -91,15 +91,6 @@ public:
return size;
}
- virtual TimeDate getFileTime(const Common::String &filename) {
- // TODO: There isn't any way in ScummVM to get a file's modified date/time. We will need to check
- // what code makes use of it. If it's only the save game code, for example, we may be able to
- // encode the date/time inside the savegame files themselves.
- TimeDate result;
- g_system->getTimeAndDate(result);
- return result;
- }
-
virtual bool fileExists(const Common::String &filename) {
Common::File f;
if (f.exists(filename))