summaryrefslogtreecommitdiffstats
path: root/src/Generating/PieceGenerator.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-09 19:30:38 +0100
committermadmaxoft <github@xoft.cz>2014-03-09 19:30:38 +0100
commit1fdeabcf78394d197a7ab5e0f9edca07abdedd0e (patch)
treeabe7a7be675fd7b89111c5484964a6f9e4bd07e9 /src/Generating/PieceGenerator.h
parentMerge branch 'master' into PieceGenerator (diff)
downloadcuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar.gz
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar.bz2
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar.lz
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar.xz
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.tar.zst
cuberite-1fdeabcf78394d197a7ab5e0f9edca07abdedd0e.zip
Diffstat (limited to 'src/Generating/PieceGenerator.h')
-rw-r--r--src/Generating/PieceGenerator.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Generating/PieceGenerator.h b/src/Generating/PieceGenerator.h
index 0e24510ae..310c21fdd 100644
--- a/src/Generating/PieceGenerator.h
+++ b/src/Generating/PieceGenerator.h
@@ -176,9 +176,10 @@ protected:
/** Tries to place a new piece at the specified (placed) connector. Returns true if successful. */
bool TryPlacePieceAtConnector(
- const cPlacedPiece & a_ParentPiece,
- const cPiece::cConnector & a_Connector,
- cPlacedPieces & a_OutPieces
+ const cPlacedPiece & a_ParentPiece, // The existing piece to a new piece should be placed
+ const cPiece::cConnector & a_Connector, // The existing connector (world-coords) to which a new piece should be placed
+ cPlacedPieces & a_OutPieces, // Already placed pieces, to be checked for intersections
+ cFreeConnectors & a_OutConnectors // List of free connectors to which the new connectors will be placed
);
/** Checks if the specified piece would fit with the already-placed pieces, using the specified connector