feat: TU19 (Dec 2014) Features & Content (#155)
* try to resolve merge conflict
* feat: TU19 (Dec 2014) Features & Content (#32)
* December 2014 files
* Working release build
* Fix compilation issues
* Add sound to Windows64Media
* Add DLC content and force Tutorial DLC
* Revert "Add DLC content and force Tutorial DLC"
This reverts commit 97a4399472.
* Disable broken light packing
* Disable breakpoint during DLC texture map load
Allows DLC loading but the DLC textures are still broken
* Fix post build not working
* ...
* fix vs2022 build
* fix cmake build
---------
Co-authored-by: Loki <lokirautio@gmail.com>
This commit is contained in:
@@ -11,6 +11,10 @@ private:
|
||||
|
||||
static const int MAX_DEPTH = 8; // 1.2.3 change
|
||||
|
||||
public:
|
||||
static void loadStatic();
|
||||
|
||||
private:
|
||||
static StructurePiece *createRandomShaftPiece(list<StructurePiece *> *pieces, Random *random, int footX, int footY, int footZ, int direction, int genDepth);
|
||||
static StructurePiece *generateAndAddPiece(StructurePiece *startPiece, list<StructurePiece *> *pieces, Random *random, int footX, int footY, int footZ, int direction, int depth);
|
||||
|
||||
@@ -21,15 +25,24 @@ private:
|
||||
public:
|
||||
class MineShaftRoom : public StructurePiece
|
||||
{
|
||||
public:
|
||||
static StructurePiece *Create() { return new MineShaftRoom(); }
|
||||
virtual EStructurePiece GetType() { return eStructurePiece_MineShaftRoom; }
|
||||
|
||||
private:
|
||||
list<BoundingBox *> childEntranceBoxes;
|
||||
|
||||
public:
|
||||
MineShaftRoom();
|
||||
MineShaftRoom(int genDepth, Random *random, int west, int north);
|
||||
~MineShaftRoom();
|
||||
|
||||
virtual void addChildren(StructurePiece *startPiece, list<StructurePiece *> *pieces, Random *random);
|
||||
virtual bool postProcess(Level *level, Random *random, BoundingBox *chunkBB);
|
||||
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag *tag);
|
||||
void readAdditonalSaveData(CompoundTag *tag);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -38,17 +51,33 @@ public:
|
||||
*/
|
||||
class MineShaftCorridor : public StructurePiece
|
||||
{
|
||||
public:
|
||||
static StructurePiece *Create() { return new MineShaftCorridor(); }
|
||||
virtual EStructurePiece GetType() { return eStructurePiece_MineShaftCorridor; }
|
||||
|
||||
private:
|
||||
bool hasRails; // was final
|
||||
bool spiderCorridor; // was final
|
||||
bool hasPlacedSpider;
|
||||
int numSections;
|
||||
|
||||
public:
|
||||
MineShaftCorridor();
|
||||
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag *tag);
|
||||
void readAdditonalSaveData(CompoundTag *tag);
|
||||
|
||||
public:
|
||||
MineShaftCorridor(int genDepth, Random *random, BoundingBox *corridorBox, int direction);
|
||||
|
||||
static BoundingBox *findCorridorSize(list<StructurePiece *> *pieces, Random *random, int footX, int footY, int footZ, int direction);
|
||||
virtual void addChildren(StructurePiece *startPiece, list<StructurePiece *> *pieces, Random *random);
|
||||
|
||||
protected:
|
||||
virtual bool createChest(Level *level, BoundingBox *chunkBB, Random *random, int x, int y, int z, WeighedTreasureArray treasure, int numRolls);
|
||||
|
||||
public:
|
||||
virtual bool postProcess(Level *level, Random *random, BoundingBox *chunkBB);
|
||||
};
|
||||
|
||||
@@ -58,9 +87,20 @@ public:
|
||||
*/
|
||||
class MineShaftCrossing : public StructurePiece
|
||||
{
|
||||
public:
|
||||
static StructurePiece *Create() { return new MineShaftCrossing(); }
|
||||
virtual EStructurePiece GetType() { return eStructurePiece_MineShaftCrossing; }
|
||||
|
||||
private:
|
||||
const int direction;
|
||||
const bool isTwoFloored;
|
||||
int direction;
|
||||
bool isTwoFloored;
|
||||
|
||||
public:
|
||||
MineShaftCrossing();
|
||||
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag *tag);
|
||||
void readAdditonalSaveData(CompoundTag *tag);
|
||||
|
||||
public:
|
||||
MineShaftCrossing(int genDepth, Random *random, BoundingBox *crossingBox, int direction);
|
||||
@@ -77,8 +117,18 @@ public:
|
||||
class MineShaftStairs : public StructurePiece
|
||||
{
|
||||
public:
|
||||
static StructurePiece *Create() { return new MineShaftStairs(); }
|
||||
virtual EStructurePiece GetType() { return eStructurePiece_MineShaftStairs; }
|
||||
|
||||
public:
|
||||
MineShaftStairs();
|
||||
MineShaftStairs(int genDepth, Random *random, BoundingBox *stairsBox, int direction);
|
||||
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag *tag);
|
||||
void readAdditonalSaveData(CompoundTag *tag);
|
||||
|
||||
public:
|
||||
static BoundingBox *findStairs(list<StructurePiece *> *pieces, Random *random, int footX, int footY, int footZ, int direction);
|
||||
virtual void addChildren(StructurePiece *startPiece, list<StructurePiece *> *pieces, Random *random);
|
||||
virtual bool postProcess(Level *level, Random *random, BoundingBox *chunkBB);
|
||||
|
||||
Reference in New Issue
Block a user