Merge branch 'master' into jgrpp
# Conflicts: # source.list # src/blitter/32bpp_anim.cpp # src/linkgraph/linkgraphjob.cpp # src/order_cmd.cpp # src/vehicle.cpp # src/vehicle_type.h
This commit is contained in:
@@ -1009,7 +1009,7 @@ static void NPFFollowTrack(AyStar *aystar, OpenListNode *current)
|
||||
* When we are looking for one specific target (optionally multiple tiles), we
|
||||
* should use a good heuristic to perform aystar search. When we search for
|
||||
* multiple targets that are spread around, we should perform a breadth first
|
||||
* search by specifiying CalcZero as our heuristic.
|
||||
* search by specifying CalcZero as our heuristic.
|
||||
*/
|
||||
static NPFFoundTargetData NPFRouteInternal(AyStarNode *start1, bool ignore_start_tile1, AyStarNode *start2, bool ignore_start_tile2, NPFFindStationOrTileData *target, AyStar_EndNodeCheck target_proc, AyStar_CalculateH heuristic_proc, AyStarUserData *user, uint reverse_penalty, bool ignore_reserved = false, int max_penalty = 0)
|
||||
{
|
||||
|
||||
@@ -48,14 +48,6 @@ protected:
|
||||
this->tile_type = GetTileType(tile);
|
||||
this->rail_type = GetTileRailTypeByTrack(tile, TrackdirToTrack(td));
|
||||
}
|
||||
|
||||
TILE(const TILE &src)
|
||||
{
|
||||
tile = src.tile;
|
||||
td = src.td;
|
||||
tile_type = src.tile_type;
|
||||
rail_type = src.rail_type;
|
||||
}
|
||||
};
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user