-
- Downloads
Mapgen: Remove calculateNoise from most mapgens
This commit moves noise calculation to the functions where the noise is actually required, increasing the separation of concerns and level of interdependency for each mapgen method. Valleys Mapgen is left unmodified.
Showing
- src/mapgen.cpp 2 additions, 0 deletionssrc/mapgen.cpp
- src/mapgen_flat.cpp 5 additions, 25 deletionssrc/mapgen_flat.cpp
- src/mapgen_flat.h 0 additions, 1 deletionsrc/mapgen_flat.h
- src/mapgen_fractal.cpp 2 additions, 20 deletionssrc/mapgen_fractal.cpp
- src/mapgen_fractal.h 0 additions, 1 deletionsrc/mapgen_fractal.h
- src/mapgen_v5.cpp 4 additions, 23 deletionssrc/mapgen_v5.cpp
- src/mapgen_v5.h 0 additions, 1 deletionsrc/mapgen_v5.h
- src/mapgen_v7.cpp 18 additions, 36 deletionssrc/mapgen_v7.cpp
- src/mapgen_v7.h 0 additions, 3 deletionssrc/mapgen_v7.h
- src/mapgen_valleys.cpp 0 additions, 1 deletionsrc/mapgen_valleys.cpp
Loading
Please register or sign in to comment