From a80025c352fb91ff295423940b3ded22755b70f0 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 25 Jun 2011 18:35:32 +0300 Subject: moved mapgen stuff around abit --- src/mapgen.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/mapgen.h') diff --git a/src/mapgen.h b/src/mapgen.h index 5aa0282fa..57d0ee8a0 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -21,9 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #define MAPGEN_HEADER #include "common_irrlicht.h" +#include "utility.h" // UniqueQueue struct BlockMakeData; class MapBlock; +class ManualMapVoxelManipulator; namespace mapgen { @@ -44,6 +46,19 @@ namespace mapgen */ bool get_have_sand(u64 seed, v2s16 p2d); double tree_amount_2d(u64 seed, v2s16 p); + + + struct BlockMakeData + { + bool no_op; + ManualMapVoxelManipulator *vmanip; + u64 seed; + v3s16 blockpos; + UniqueQueue transforming_liquid; + + BlockMakeData(); + ~BlockMakeData(); + }; }; // namespace mapgen -- cgit v1.2.3