|
@@ -204,7 +204,8 @@ public:
|
|
|
/**
|
|
|
* Called by YAPF to move from the given node to the next tile. For each
|
|
|
* reachable trackdir on the new tile creates new node, initializes it
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n) */
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n)
|
|
|
*/
|
|
|
inline void PfFollowNode(Node& old_node)
|
|
|
{
|
|
|
TrackFollower F(Yapf().GetVehicle());
|
|
@@ -299,7 +300,8 @@ public:
|
|
|
/**
|
|
|
* Called by YAPF to move from the given node to the next tile. For each
|
|
|
* reachable trackdir on the new tile creates new node, initializes it
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n) */
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n)
|
|
|
*/
|
|
|
inline void PfFollowNode(Node& old_node)
|
|
|
{
|
|
|
TrackFollower F(Yapf().GetVehicle(), Yapf().GetCompatibleRailTypes());
|
|
@@ -381,7 +383,8 @@ public:
|
|
|
/**
|
|
|
* Called by YAPF to move from the given node to the next tile. For each
|
|
|
* reachable trackdir on the new tile creates new node, initializes it
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n) */
|
|
|
* and adds it to the open list by calling Yapf().AddNewNode(n)
|
|
|
*/
|
|
|
inline void PfFollowNode(Node& old_node)
|
|
|
{
|
|
|
TrackFollower F(Yapf().GetVehicle());
|