aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FuzzyZoomLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FuzzyZoomLayer.h')
-rw-r--r--Minecraft.World/FuzzyZoomLayer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Minecraft.World/FuzzyZoomLayer.h b/Minecraft.World/FuzzyZoomLayer.h
new file mode 100644
index 00000000..bc8f5e48
--- /dev/null
+++ b/Minecraft.World/FuzzyZoomLayer.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "Layer.h"
+
+class FuzzyZoomLayer : public Layer
+{
+public:
+ FuzzyZoomLayer(__int64 seedMixup, shared_ptr<Layer>parent);
+ 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 shared_ptr<Layer>zoom(__int64 seed, shared_ptr<Layer>sup, int count);
+}; \ No newline at end of file