]> git.localhorst.tv Git - blank.git/blobdiff - src/generator.hpp
get world seed from command line arguments
[blank.git] / src / generator.hpp
index 9dc39cb54a30bbdd19d59ab79506898472c6c523..b3e8ffb0ad2f55045986eaca85d95d365fa80722 100644 (file)
@@ -18,16 +18,18 @@ public:
        void operator ()(Chunk &) const;
 
        void Space(Block::Type t) { space = t; }
+       void Light(Block::Type t) { light = t; }
        void Solids(const std::vector<Block::Type> &s) { solids = s; }
 
 private:
        SimplexNoise solidNoise;
-       SimplexNoise typeNoise;
+       WorleyNoise typeNoise;
 
        float stretch;
        float solid_threshold;
 
        Block::Type space;
+       Block::Type light;
        std::vector<Block::Type> solids;
 
 };