diff options
author | madmaxoft <github@xoft.cz> | 2014-03-09 19:30:38 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-09 19:30:38 +0100 |
commit | 1fdeabcf78394d197a7ab5e0f9edca07abdedd0e (patch) | |
tree | abe7a7be675fd7b89111c5484964a6f9e4bd07e9 /src/Generating/PieceGenerator.h | |
parent | Merge branch 'master' into PieceGenerator (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Generating/PieceGenerator.h | 7 |
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 |