1
0

VillageGen: Added well placement and the general algorithm description.

This commit is contained in:
madmaxoft
2014-05-12 22:43:59 +02:00
parent c0727c4265
commit 9c8e8ef7ae
3 changed files with 152 additions and 6 deletions

View File

@@ -95,6 +95,9 @@ public:
/** Returns the weight (chance) of this prefab generating as the next piece after the specified placed piece.
PiecePool implementations can use this for their GetPieceWeight() implementations. */
int GetPieceWeight(const cPlacedPiece & a_PlacedPiece, const cPiece::cConnector & a_ExistingConnector) const;
/** Returns the unmodified DefaultWeight property for the piece. */
int GetDefaultWeight(void) const { return m_DefaultWeight; }
protected:
/** Packs complete definition of a single block, for per-letter assignment. */