]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mg_decoration.h
Put ChatEvent handler into own function
[dragonfireclient.git] / src / mg_decoration.h
index 8ece5d684e3174a608ed4fe7684abed1a6b07f4c..16af02a1a478cd5ab840c8b0baa8d7c4b2cbbb80 100644 (file)
@@ -21,9 +21,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define MG_DECORATION_HEADER
 
 #include <set>
-#include "mapgen.h"
+#include "objdef.h"
+#include "noise.h"
+#include "nodedef.h"
 
-struct NoiseParams;
 class Mapgen;
 class MMVManip;
 class PseudoRandom;
@@ -40,6 +41,7 @@ enum DecorationType {
 #define DECO_PLACE_CENTER_Z  0x04
 #define DECO_USE_NOISE       0x08
 #define DECO_FORCE_PLACEMENT 0x10
+#define DECO_LIQUID_SURFACE  0x20
 
 extern FlagDesc flagdesc_deco[];
 
@@ -83,7 +85,7 @@ class Decoration : public ObjDef, public NodeResolver {
 
        std::set<u8> biomes;
        //std::list<CutoffData> cutoffs;
-       //JMutex cutoff_mutex;
+       //Mutex cutoff_mutex;
 };
 
 class DecoSimple : public Decoration {