4jcraft/Minecraft.World/WorldGen/Layers/ZoomLayer.h
2026-03-06 11:20:45 -06:00

18 lines
375 B
C++

#pragma once
#include "Layer.h"
class ZoomLayer : public Layer
{
public:
ZoomLayer(__int64 seedMixup, std::shared_ptr<Layer> parent);
virtual intArray getArea(int xo, int yo, int w, int h);
protected:
int random(int a, int b);
int random(int a, int b, int c, int d);
public:
static std::shared_ptr<Layer> zoom(__int64 seed, std::shared_ptr<Layer>sup, int count);
};