Releases: blurite/pathfinder
Performance update
Pathfinder no longer accepts localized flags per each pathfinding attempt.
Instead, now the pathfinder is initialized with an array of int arrays, where the outer array contains zone-local flags.
The data structure looks like this:
Array<IntArray?>
Where Array is initialized with a size of 204820484
and IntArray is lazily initialized when the zone loads, with a size of 8x8.
A default Int is passed into the pathfinder that will be used in the absence of a valid zone.
Fix linter errors.
1.3.2 Fix line length too long linter errors.
Add route blocker checks as an optional version
1.3.1 Add route blocker checks as an optional version. Also ensure the norm…
Pathfinder now makes use of the ROUTE_BLOCKER flags.
1.3.0 Pathfinder now makes use of the ROUTE_BLOCKER flags and does not use …
Replace access bit flag magic numbers with constants
Replace access bit flag magic numbers with constants
Fix reachRectangleN function
Fix reachRectangleN function
Replace magic numbers with actual constants for collision flags in boundaries
Replace magic numbers with actual constants for collision flags in boundaries and remove the unused flag 0x80000 from all the checks alongside it.
Remove dumb pathfinder.
People should instead use their own version of the WorldArea class found in any RuneLite client for their dumb pathfinding needs. The version of dumb pathfinding found in this library was very incorrect.
Remove unused cases of bit 20 in pathfinder
1.2.4 Remove unused cases of bit 20 in pathfinder. While it was indeed _pot…
Line of sight clipped-tile check
1.2.3 - Line of sight now excludes full-tile projectile collision check on …