From 8cfcc2915c1e9cdea78b6003511e99a3511058d0 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 22 Feb 2012 21:20:20 +0000 Subject: Rewritten ore generation from scratch, using a different (much faster) algorithm. Chunk generation now about 2x faster :) git-svn-id: http://mc-server.googlecode.com/svn/trunk@321 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorldGenerator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cWorldGenerator.h') diff --git a/source/cWorldGenerator.h b/source/cWorldGenerator.h index 1852e74d2..3083b37dd 100644 --- a/source/cWorldGenerator.h +++ b/source/cWorldGenerator.h @@ -28,6 +28,8 @@ protected: // Thread-unsafe: MTRand r1; + + void GenerateOre(char a_OreType, int a_MaxHeight, int a_NumNests, int a_NestSize, char * a_BlockData); static unsigned int MakeIndex(int x, int y, int z ); -- cgit v1.2.3