aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/resource.h
diff options
context:
space:
mode:
authorMax Horn2010-10-24 01:53:01 +0000
committerMax Horn2010-10-24 01:53:01 +0000
commitfa0151683c0cca507f3c16ab8b2ca91a4c4ae83a (patch)
tree06cd5eaa6e3e98d52965a6334930b43f18928b36 /engines/sword25/kernel/resource.h
parent48d15398e575bb9fa3e015126fa6087511ef9843 (diff)
downloadscummvm-rg350-fa0151683c0cca507f3c16ab8b2ca91a4c4ae83a.tar.gz
scummvm-rg350-fa0151683c0cca507f3c16ab8b2ca91a4c4ae83a.tar.bz2
scummvm-rg350-fa0151683c0cca507f3c16ab8b2ca91a4c4ae83a.zip
SWORD25: Replace ResourceManager's hash table by a Common::HashMap
svn-id: r53759
Diffstat (limited to 'engines/sword25/kernel/resource.h')
-rw-r--r--engines/sword25/kernel/resource.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sword25/kernel/resource.h b/engines/sword25/kernel/resource.h
index 27003641dd..5c6108a281 100644
--- a/engines/sword25/kernel/resource.h
+++ b/engines/sword25/kernel/resource.h
@@ -89,13 +89,6 @@ public:
}
/**
- * Returns the hash of the filename of a resource
- */
- uint getFileNameHash() const {
- return _fileNameHash;
- }
-
- /**
* Returns a resource's type
*/
uint getType() const {
@@ -107,7 +100,6 @@ protected:
private:
Common::String _fileName; ///< The absolute filename
- uint _fileNameHash; ///< The hash value of the filename
uint _refCount; ///< The number of locks
uint _type; ///< The type of the resource
Common::List<Resource *>::iterator _iterator; ///< Points to the resource position in the LRU list