From 1cac1de3b27c5c6a511bf86bd9cb1d763c5c7d5d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 25 Mar 2012 14:47:51 +0300 Subject: Almost support loading sounds from server --- src/filecache.cpp | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) (limited to 'src/filecache.cpp') diff --git a/src/filecache.cpp b/src/filecache.cpp index 5ba8ef5cc..0ef2dd11e 100644 --- a/src/filecache.cpp +++ b/src/filecache.cpp @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "filesys.h" #include "utility.h" #include "hex.h" +#include "sha1.h" #include #include @@ -34,7 +35,7 @@ bool FileCache::loadByPath(const std::string &path, std::ostream &os) if(!fis.good()){ verbosestream<<"FileCache: File not found in cache: " - <