From ea361fe2b4c00a51eaecfbd480904ee629cb17a5 Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sun, 11 Oct 2009 16:03:52 +0000 Subject: [PATCH] Removed unused code. --- hch/CLodHandler.cpp | 16 ---------------- hch/CLodHandler.h | 1 - 2 files changed, 17 deletions(-) diff --git a/hch/CLodHandler.cpp b/hch/CLodHandler.cpp index 2a4161812..9352027ff 100644 --- a/hch/CLodHandler.cpp +++ b/hch/CLodHandler.cpp @@ -287,22 +287,6 @@ void CLodHandler::extractFile(std::string FName, std::string name) } } -int CLodHandler::readNormalNr (const unsigned char* bufor, int bytCon, bool cyclic) -{ - int ret=0; - int amp=1; - for (int i=0; i=amp/2) - { - ret = ret-amp; - } - return ret; -} - void CLodHandler::init(std::string lodFile, std::string dirName) { myDir = dirName; diff --git a/hch/CLodHandler.h b/hch/CLodHandler.h index 5761145ee..cb82c2cef 100644 --- a/hch/CLodHandler.h +++ b/hch/CLodHandler.h @@ -70,7 +70,6 @@ public: CLodHandler(); ~CLodHandler(); - int readNormalNr (const unsigned char* bufor, int bytCon, bool cyclic=false); //lod header reading helper int infs(unsigned char * in, int size, int realSize, std::ofstream & out, int wBits=15); //zlib fast handler int infs2(unsigned char * in, int size, int realSize, unsigned char*& out, int wBits=15); //zlib fast handler unsigned char * giveFile(std::string defName, int * length=NULL); //returns pointer to the decompressed data - it must be deleted when no longer needed!