From 2928cb6853f1e007e98f174c37d75c793a0c09cc Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 16 Feb 2012 17:45:26 +0000 Subject: cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorldGenerator_Test.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/cWorldGenerator_Test.h') diff --git a/source/cWorldGenerator_Test.h b/source/cWorldGenerator_Test.h index 0dd9d5b1c..5a5483fa9 100644 --- a/source/cWorldGenerator_Test.h +++ b/source/cWorldGenerator_Test.h @@ -10,6 +10,10 @@ class cWorldGenerator_Test : public cWorldGenerator { +public: + + cWorldGenerator_Test(cWorld * a_World) : cWorldGenerator(a_World) {} + protected: virtual void GenerateTerrain( cChunkPtr a_Chunk ) override; virtual void GenerateFoliage( cChunkPtr a_Chunk ) override; -- cgit v1.2.3