first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
class StructurePiece;
class BoundingBox;
class StructureStart
{
protected:
list<StructurePiece *> pieces;
BoundingBox *boundingBox;
StructureStart();
public:
~StructureStart();
BoundingBox *getBoundingBox();
list<StructurePiece *> *getPieces();
void postProcess(Level *level, Random *random, BoundingBox *chunkBB);
protected:
void calculateBoundingBox();
void moveBelowSeaLevel(Level *level, Random *random, int offset);
void moveInsideHeights(Level *level, Random *random, int lowestAllowed, int highestAllowed);
public:
bool isValid();
};