X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworld%2FGenerator.cpp;h=c37c18b6c2aa4a7f337286d6810bfd154ea6e002;hb=b066e776622f96e906600a0c4a08de392bd03676;hp=3962252fa71837cf5152990a820dd03732f33ef1;hpb=39df551265bff648c1ac166043bb4b046122cc8d;p=blank.git diff --git a/src/world/Generator.cpp b/src/world/Generator.cpp index 3962252..c37c18b 100644 --- a/src/world/Generator.cpp +++ b/src/world/Generator.cpp @@ -13,9 +13,10 @@ Generator::Generator(const Config &config) noexcept , typeNoise(config.seed) , stretch(1.0f/config.stretch) , solid_threshold(config.solid_threshold) +// TODO: stable dynamic generator configuration , space(0) -, light(0) -, solids() { +, light(13) +, solids({ 1, 4, 7, 10 }) { } @@ -47,8 +48,6 @@ void Generator::operator ()(Chunk &chunk) const noexcept { } } } - chunk.Invalidate(); - chunk.CheckUpdate(); } }