So what is better now NPF or NTP?Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
- Benchmark shows that NTP is now around 10x faster than NPF.
- Made IsTunnelTile macro to determine if a tile is a tunnel.
- Added some useful debugging functions for making tiles red / getting accurate timestamps.
- Remove old depot finding algorithm.
- Disable warning for signed/unsigned comparisons.
New or old pathfinder?
Moderator: OpenTTD Developers
New or old pathfinder?
Re: New or old pathfinder?
Use the old one for multiplayer or if you experience lag during gameplay. The new one is more reliable and allow pbs as the old one doesn't.Nanaki13 wrote:So what is better now NPF or NTP?Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
- Benchmark shows that NTP is now around 10x faster than NPF.
- Made IsTunnelTile macro to determine if a tile is a tunnel.
- Added some useful debugging functions for making tiles red / getting accurate timestamps.
- Remove old depot finding algorithm.
- Disable warning for signed/unsigned comparisons.
Uncle Dex Says: Follow the KISS Principle!
Who is online
Users browsing this forum: Amazon [Bot] and 24 guests