X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ffilecache.cpp;h=33677cc8379a2984312b613f9ec9edeb03da237d;hb=b97c9c65777b0389f4cc9a6e3257506f29761e03;hp=5ba8ef5cce6404debba6bfa6e93a397c76bfd3a2;hpb=f801e16b787f033cea4e473d69b54fe65248a439;p=oweals%2Fminetest.git diff --git a/src/filecache.cpp b/src/filecache.cpp index 5ba8ef5cc..33677cc83 100644 --- a/src/filecache.cpp +++ b/src/filecache.cpp @@ -1,32 +1,32 @@ /* -Minetest-c55 -Copyright (C) 2010 celeron55, Perttu Ahola -Copyright (C) 2012 Jonathan Neuschäfer +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola +Copyright (C) 2013 Jonathan Neuschäfer This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU Lesser General Public License for more details. -You should have received a copy of the GNU General Public License along +You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "filecache.h" + #include "clientserver.h" #include "log.h" #include "filesys.h" -#include "utility.h" -#include "hex.h" - #include #include +#include +#include bool FileCache::loadByPath(const std::string &path, std::ostream &os) { @@ -34,7 +34,7 @@ bool FileCache::loadByPath(const std::string &path, std::ostream &os) if(!fis.good()){ verbosestream<<"FileCache: File not found in cache: " - <