From 19e711a1e3f631079c9c8eef93fe4d62a7e801cd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 14 Feb 2012 21:09:14 +0000 Subject: Slight cleanup - removed old code, some additional comments on dangerous functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@261 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkLoader.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 source/cChunkLoader.h (limited to 'source/cChunkLoader.h') diff --git a/source/cChunkLoader.h b/source/cChunkLoader.h deleted file mode 100644 index aa6f3806f..000000000 --- a/source/cChunkLoader.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -class cChunk; -class cChunkLoader -{ -public: - cChunkLoader(); - ~cChunkLoader(); - - cChunk* LoadChunk( int a_X, int a_Y, int a_Z ); - bool SaveChunk( const cChunk & a_Chunk ); - - struct ChunkPack; -private: - cChunk* LoadFormat1( int a_X, int a_Y, int a_Z ); - ChunkPack* LoadPak1( int PakX, int PakY, int PakZ ); // This loads a .pak file from disk and returns it, nothing more - - // Old stuffs - cChunk* LoadOldFormat( int a_X, int a_Y, int a_Z ); - bool SaveOldFormat( const cChunk & a_Chunk ); - - static void SaveThread( void* a_Param ); - - bool m_bStop; - cCriticalSection* m_CriticalSection; - cEvent* m_Event; - - struct ChunkPacks; // Defined in .cpp - ChunkPacks* m_ChunkPacks; -}; \ No newline at end of file -- cgit v1.2.3