1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 14:15:23 +00:00
OpenDiablo2/d2core/d2map
nicholas-eden dd21809288
Pull go-astar code into the repo, improve perf (#411)
Copied go-astar into d2common/d2astar, made a few optimizations.  Runs
roughly 30% faster according to my benchmarking.

Added a `maxCost` param to prevent searching the entire map for a path.
This probably needs tweaked a bit, but follows the original game more
closely.

Co-authored-by: Nicholas Eden <neden@zigzagame.com>
2020-06-23 02:04:17 -04:00
..
d2mapengine Pull go-astar code into the repo, improve perf (#411) 2020-06-23 02:04:17 -04:00
d2mapentity Pull go-astar code into the repo, improve perf (#411) 2020-06-23 02:04:17 -04:00
d2mapgen Added basic map generation for first area of south town (#408) 2020-06-23 01:05:01 -04:00
d2maprenderer Added basic map generation for first area of south town (#408) 2020-06-23 01:05:01 -04:00
d2mapstamp Fixed map stamp offset issue (#403) 2020-06-22 19:33:12 -04:00