summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2021-04-12 10:12:03 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-04-12 15:09:52 +0200
commit0137e71f6b56f0333b120f807e6d791b6b29aa4b (patch)
tree8240374fdcbd35356aacfe0f92ec8602865e8ac5 /src/Generating
parentUpdate the minimodules (diff)
downloadcuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.gz
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.bz2
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.lz
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.xz
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.zst
cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.zip
Diffstat (limited to 'src/Generating')
-rw-r--r--src/Generating/IntGen.h2
-rw-r--r--src/Generating/MineShafts.cpp4
-rw-r--r--src/Generating/ProtIntGen.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/IntGen.h b/src/Generating/IntGen.h
index 786c6099d..4ef8c3452 100644
--- a/src/Generating/IntGen.h
+++ b/src/Generating/IntGen.h
@@ -582,7 +582,7 @@ public:
}
- virtual void GetInts(int a_MinX, int a_MinZ, typename Super::Values & a_Values)
+ virtual void GetInts(int a_MinX, int a_MinZ, typename Super::Values & a_Values) override
{
// Generate the underlying biome groups:
int lowerValues[m_UnderlyingSizeX * m_UnderlyingSizeZ];
diff --git a/src/Generating/MineShafts.cpp b/src/Generating/MineShafts.cpp
index 2045533c1..189b28095 100644
--- a/src/Generating/MineShafts.cpp
+++ b/src/Generating/MineShafts.cpp
@@ -256,7 +256,7 @@ public:
int a_ProbLevelCorridor, int a_ProbLevelCrossing, int a_ProbLevelStaircase
);
- ~cMineShaftSystem();
+ virtual ~cMineShaftSystem() override;
/** Creates new cMineShaft descendant connected at the specified point, heading the specified direction,
if it fits, appends it to the list and calls its AppendBranches()
@@ -271,7 +271,7 @@ public:
bool CanAppend(const cCuboid & a_BoundingBox);
// cGridStructGen::cStructure overrides:
- virtual void DrawIntoChunk(cChunkDesc & a_Chunk);
+ virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override;
} ;
diff --git a/src/Generating/ProtIntGen.h b/src/Generating/ProtIntGen.h
index 4672b4209..87e13c6cc 100644
--- a/src/Generating/ProtIntGen.h
+++ b/src/Generating/ProtIntGen.h
@@ -847,7 +847,7 @@ public:
}
- virtual void GetInts(int a_MinX, int a_MinZ, size_t a_SizeX, size_t a_SizeZ, int *a_Values)
+ virtual void GetInts(int a_MinX, int a_MinZ, size_t a_SizeX, size_t a_SizeZ, int * a_Values) override
{
// Generate the underlying biome groups:
size_t lowerSizeX = a_SizeX + 2;