X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgenerator.hpp;fp=src%2Fgenerator.hpp;h=3d7ceaff801d82bc2d16e011b4e4d844d4a4a801;hb=f90ec88e6728ce865bcf892c810a36abd90d9001;hp=b3e8ffb0ad2f55045986eaca85d95d365fa80722;hpb=32a2a1231de8438f8408007c41247361b1c52417;p=blank.git diff --git a/src/generator.hpp b/src/generator.hpp index b3e8ffb..3d7ceaf 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.8f; + }; + + explicit Generator(const Config &); void operator ()(Chunk &) const;