37 struct GlobalParameters {
41 ::ll::TypedStorage<8, 8, ::Random&> mRandom;
42 ::ll::TypedStorage<8, 8, ::PerlinSimplexNoise const&> mMaterialAdjNoise;
43 ::ll::TypedStorage<4, 4, ::ISurfaceBuilder::WaterLevelStrategy const> mWaterLevelStrategy;
44 ::ll::TypedStorage<2, 2, short> mSeaLevel;
45 ::ll::TypedStorage<1, 1, bool const> mUseCCOrLater;
50 GlobalParameters& operator=(GlobalParameters
const&);
51 GlobalParameters(GlobalParameters
const&);
55 struct PerColumnParameters {
59 ::ll::TypedStorage<8, 8, ::BlockVolume&> mBlocks;
60 ::ll::TypedStorage<8, 8, ::BlockPos const&> mPos;
61 ::ll::TypedStorage<4, 4, float> mDepthValue;
62 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange const> mHeightRange;
63 ::ll::TypedStorage<8, 8, ::HeightmapWrapper const&> mPreWorldGenHeightmap;
68 PerColumnParameters& operator=(PerColumnParameters
const&);
69 PerColumnParameters(PerColumnParameters
const&);
70 PerColumnParameters();
73 struct SurfaceBuilderParameters {
76 using GetTemperatureCallback = ::std::function<float(
::BlockPos const&,
short)>;
81 ::ll::TypedStorage<8, 8, ::SurfaceBuilderData const*> mSurfaceBuilderData;
82 ::ll::TypedStorage<8, 8, ::ISurfaceBuilder const*> mSurfaceBuilder;
83 ::ll::TypedStorage<8, 8, ::MountainAttributes const*> mMountainAttributes;
84 ::ll::TypedStorage<8, 8, ::SurfaceMaterialAdjustmentAttributes const*> mSurfaceMaterialAdjustmentAttributes;
85 ::ll::TypedStorage<8, 64, ::std::function<float(
::BlockPos const&,
short)>> mGetTemperatureCallback;
90 SurfaceBuilderParameters();