X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgenerator.hpp;h=dedfb72b7c94fc5461bf795accf09d33f9b86542;hb=76b3ec0f6aa0dacf6d4944a2787991f3585299e8;hp=3d7ceaff801d82bc2d16e011b4e4d844d4a4a801;hpb=f90ec88e6728ce865bcf892c810a36abd90d9001;p=blank.git diff --git a/src/generator.hpp b/src/generator.hpp index 3d7ceaf..dedfb72 100644 --- a/src/generator.hpp +++ b/src/generator.hpp @@ -17,15 +17,15 @@ public: unsigned int solid_seed = 0; unsigned int type_seed = 0; float stretch = 64.0f; - float solid_threshold = 0.8f; + float solid_threshold = 0.5f; }; - explicit Generator(const Config &); + explicit Generator(const Config &) noexcept; - void operator ()(Chunk &) const; + void operator ()(Chunk &) const noexcept; - void Space(Block::Type t) { space = t; } - void Light(Block::Type t) { light = t; } + void Space(Block::Type t) noexcept { space = t; } + void Light(Block::Type t) noexcept { light = t; } void Solids(const std::vector &s) { solids = s; } private: