summaryrefslogtreecommitdiffstats
path: root/src/Generating/NetherFortGen.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-12 19:36:50 +0200
committermadmaxoft <github@xoft.cz>2014-04-12 19:36:50 +0200
commit83b25d085c333878e10acb18e6de9e83baf71e65 (patch)
treeee425210b493ac29e97929dee2d348e9f690cbf5 /src/Generating/NetherFortGen.cpp
parentFixed issues with 64-bit MSVC compilation. (diff)
downloadcuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar.gz
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar.bz2
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar.lz
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar.xz
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.tar.zst
cuberite-83b25d085c333878e10acb18e6de9e83baf71e65.zip
Diffstat (limited to 'src/Generating/NetherFortGen.cpp')
-rw-r--r--src/Generating/NetherFortGen.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Generating/NetherFortGen.cpp b/src/Generating/NetherFortGen.cpp
index 02779a8a3..b6ec46986 100644
--- a/src/Generating/NetherFortGen.cpp
+++ b/src/Generating/NetherFortGen.cpp
@@ -80,9 +80,9 @@ cNetherFortGen::cNetherFortGen(int a_Seed, int a_GridSize, int a_MaxDepth) :
m_MaxDepth(a_MaxDepth)
{
// Initialize the prefabs:
- for (size_t i = 0; i < g_NetherFortPrefabs1Count; i++)
+ for (size_t i = 0; i < g_NetherFortPrefabsCount; i++)
{
- cPrefab * Prefab = new cPrefab(g_NetherFortPrefabs1[i]);
+ cPrefab * Prefab = new cPrefab(g_NetherFortPrefabs[i]);
m_AllPieces.push_back(Prefab);
if (Prefab->HasConnectorType(0))
{
@@ -95,15 +95,17 @@ cNetherFortGen::cNetherFortGen(int a_Seed, int a_GridSize, int a_MaxDepth) :
}
// Initialize the starting piece prefabs:
- for (size_t i = 0; i < g_NetherFortStartingPrefabs1Count; i++)
+ for (size_t i = 0; i < g_NetherFortStartingPrefabsCount; i++)
{
- m_StartingPieces.push_back(new cPrefab(g_NetherFortStartingPrefabs1[i]));
+ m_StartingPieces.push_back(new cPrefab(g_NetherFortStartingPrefabs[i]));
}
+ /*
// DEBUG: Try one round of placement:
cPlacedPieces Pieces;
cBFSPieceGenerator pg(*this, a_Seed);
pg.PlacePieces(0, 64, 0, a_MaxDepth, Pieces);
+ */
}