aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/package/packagemanager.h
diff options
context:
space:
mode:
authorMax Horn2010-10-25 23:19:39 +0000
committerMax Horn2010-10-25 23:19:39 +0000
commita7832856252828450a63fdd1d10c337cc8fb671e (patch)
tree265a3aae7e0d4dad340ce73194273e3a9800b299 /engines/sword25/package/packagemanager.h
parente0d5db0bb822f4772d90cd404fb23e89524f7b3a (diff)
downloadscummvm-rg350-a7832856252828450a63fdd1d10c337cc8fb671e.tar.gz
scummvm-rg350-a7832856252828450a63fdd1d10c337cc8fb671e.tar.bz2
scummvm-rg350-a7832856252828450a63fdd1d10c337cc8fb671e.zip
SWORD25: Simplify FS 'wrapper' code a bit, add FIXME comments
The save system of this engine currently partially bypasses the SaveFileManager API, by (abusing) the fact that the Lua engine allows creating files in arbitrary places (it exposes fopen, fread, fwrite etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable. In addition, the filenames used for the savestates ("0.b25s") do not comply with our naming conventions for engine savestates. It should be possible to overcome all this, but it might require hacking the Lua engine; or we could try to replace some of the BS2.5 script functions with our own, dynamically. svn-id: r53838
Diffstat (limited to 'engines/sword25/package/packagemanager.h')
-rw-r--r--engines/sword25/package/packagemanager.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/sword25/package/packagemanager.h b/engines/sword25/package/packagemanager.h
index 96f136dd83..03598012a6 100644
--- a/engines/sword25/package/packagemanager.h
+++ b/engines/sword25/package/packagemanager.h
@@ -190,23 +190,6 @@ public:
int doSearch(Common::ArchiveMemberList &list, const Common::String &filter, const Common::String &path, uint typeFilter = FT_DIRECTORY | FT_FILE);
/**
- * Returns a file's size
- * @param FileName The filename
- * @return The file size. If an error occurs, then 0xffffffff is returned.
- * @remarks For files in packages, then uncompressed size is returned.
- **/
- uint getFileSize(const Common::String &fileName);
-
- /**
- * Returns the type of a file.
- * @param FileName The filename
- * @return Returns the file type, either (BS_PackageManager::FT_DIRECTORY
- * or BS_PackageManager::FT_FILE).
- * If the file was not found, then 0 is returned.
- */
- uint getFileType(const Common::String &fileName);
-
- /**
* Determines whether a file exists
* @param FileName The filename
* @return Returns true if the file exists, otherwise false.