]> git.localhorst.tv Git - blank.git/blobdiff - src/generator.hpp
use light levels for shading of blocks
[blank.git] / src / generator.hpp
index b3e8ffb0ad2f55045986eaca85d95d365fa80722..3d7ceaff801d82bc2d16e011b4e4d844d4a4a801 100644 (file)
@@ -13,7 +13,14 @@ namespace blank {
 class Generator {
 
 public:
-       explicit Generator(unsigned int seed);
+       struct Config {
+               unsigned int solid_seed = 0;
+               unsigned int type_seed = 0;
+               float stretch = 64.0f;
+               float solid_threshold = 0.8f;
+       };
+
+       explicit Generator(const Config &);
 
        void operator ()(Chunk &) const;