X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgenerator.hpp;h=70c38f59941e517e62de8a9a6920db9610c235f4;hb=7ef94f4e55a0b798eecbcc7166a80b8364b21ea4;hp=b3e8ffb0ad2f55045986eaca85d95d365fa80722;hpb=774253e509ce13881229efda8849bf6f3c47b665;p=blank.git diff --git a/src/generator.hpp b/src/generator.hpp index b3e8ffb..70c38f5 100644 --- a/src/generator.hpp +++ b/src/generator.hpp @@ -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.5f; + }; + + explicit Generator(const Config &); void operator ()(Chunk &) const;