Changeset - r19549:dd9cbeaec418
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-08-18 11:37:23
frosch@openttd.org
(svn r24480) -Doc: Doxygenize ChooseShipTrack().
1 file changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/ship_cmd.cpp
Show inline comments
 
@@ -384,9 +384,13 @@ static void ShipArrivesAt(const Vehicle 
 

	
 

	
 
/**
 
 * returns the track to choose on the next tile, or -1 when it's better to
 
 * reverse. The tile given is the tile we are about to enter, enterdir is the
 
 * direction in which we are entering the tile
 
 * Runs the pathfinder to choose a track to continue along.
 
 *
 
 * @param v Ship to navigate
 
 * @param tile Tile, the ship is about to enter
 
 * @param enterdir Direction of entering
 
 * @param tracks Available track choices on \a tile
 
 * @return Track to choose, or INVALID_TRACK when to reverse.
 
 */
 
static Track ChooseShipTrack(Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks)
 
{
0 comments (0 inline, 0 general)