mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-27 14:36:30 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
35 lines
878 B
C++
35 lines
878 B
C++
#pragma once
|
|
|
|
#include "StructureFeature.h"
|
|
#include "StructureStart.h"
|
|
|
|
class TheEndLevelRandomLevelSource;
|
|
|
|
class EndCityFeature : public StructureFeature
|
|
{
|
|
private:
|
|
TheEndLevelRandomLevelSource *source;
|
|
|
|
public:
|
|
EndCityFeature(TheEndLevelRandomLevelSource *source);
|
|
|
|
wstring getFeatureName();
|
|
|
|
static int getYPositionForFeature(int chunkX, int chunkZ, TheEndLevelRandomLevelSource *source);
|
|
|
|
protected:
|
|
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat = false);
|
|
virtual StructureStart *createStructureStart(int x, int z);
|
|
|
|
public:
|
|
class EndCityStart : public StructureStart
|
|
{
|
|
public:
|
|
static StructureStart *Create() { return new EndCityStart(); }
|
|
virtual EStructureStart GetType() { return eStructureStart_EndCity; }
|
|
|
|
EndCityStart();
|
|
EndCityStart(Level *level, TheEndLevelRandomLevelSource *source, Random *random, int chunkX, int chunkZ);
|
|
};
|
|
};
|