summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefab.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-24 15:03:39 +0200
committermadmaxoft <github@xoft.cz>2014-05-24 15:03:39 +0200
commit96a22cd82c350b1205985a9b8e01f5e6c11f069a (patch)
tree67e70ca37a35c1be21b392f8836c3b886447931a /src/Generating/Prefab.cpp
parentMerge branch 'master' into VillageGen (diff)
downloadcuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar.gz
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar.bz2
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar.lz
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar.xz
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.tar.zst
cuberite-96a22cd82c350b1205985a9b8e01f5e6c11f069a.zip
Diffstat (limited to 'src/Generating/Prefab.cpp')
-rw-r--r--src/Generating/Prefab.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Generating/Prefab.cpp b/src/Generating/Prefab.cpp
index 506e1c2cc..05979507a 100644
--- a/src/Generating/Prefab.cpp
+++ b/src/Generating/Prefab.cpp
@@ -292,6 +292,15 @@ int cPrefab::GetPieceWeight(const cPlacedPiece & a_PlacedPiece, const cPiece::cC
+void cPrefab::SetDefaultWeight(int a_DefaultWeight)
+{
+ m_DefaultWeight = a_DefaultWeight;
+}
+
+
+
+
+
void cPrefab::AddConnector(int a_RelX, int a_RelY, int a_RelZ, eBlockFace a_Direction, int a_Type)
{
m_Connectors.push_back(cConnector(a_RelX, a_RelY, a_RelZ, a_Type, a_Direction));