Files
MinecraftConsoles/Minecraft.World/Layer.h
void_17 b9a2951901 Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f.
2026-03-02 17:39:35 +07:00

36 lines
543 B
C++

#pragma once
#include "ArrayWithLength.h"
class LevelType;
#ifndef _CONTENT_PACAKGE
#define _BIOME_OVERRIDE
#endif
class Layer
{
private:
__int64 seed;
protected:
shared_ptr<Layer>parent;
private:
__int64 rval;
__int64 seedMixup;
public:
static LayerArray getDefaultLayers(__int64 seed, LevelType *levelType);
Layer(__int64 seedMixup);
virtual void init(__int64 seed);
virtual void initRandom(__int64 x, __int64 y);
protected:
int nextRandom(int max);
public:
virtual intArray getArea(int xo, int yo, int w, int h) = 0;
};