Releases: caewok/fvtt-elevation-ruler
Drag Ruler compatibility!
Basic compatibility with Drag Ruler. Some under-the-hood changes extending Ray to a Ray3d class to make segment distance measurements easier to accomplish.
Fix issue #1 (Ruler updating for other users)
Foundry v10 compatibility
Foundry v10 compatibility; v9 only supported in 0.4 versions.
Due to various improvements in Foundry v10 Ruler class, libRuler is now deprecated; only libWrapper is required as a dependency.
- Updated Levels module support.
- Added Elevated Vision module support.
Note: Enhanced Terrain Layer has an issue in v10 that may need to be resolved before it will function with this module.
v10 Testing
0.5.0-alpha Merge branch 'release/0.5.0-alpha'
Foundry v9 Keybindings
Require Foundry v9; replace df-hotkeys module dependency with Foundry keybindings.
Full Changelog: 0.3.3...0.4.0
Fix issue #5
Fix issue #5 (levels_data undefined).
Static distanceFunction
Fix repeated warnings when using devMode for logging.
Call the libRuler distance function when projecting on a grid, to accommodate modules that might modify the distance function.
DF Hotkeys install fix
Correct module.json link to DragonFlagon Hotkeys Library.
libRuler 0.1 compatibility
Move to libRuler 0.1 compatibility.
Improvements:
- Wraps libRuler RulerUtilities functions to 3d versions:
iterateGridUnderLine
,calculateDistance
,pointsAlmostEqual
. - Adds user setting to prefer the starting token elevation when measuring.
- Revamps the projection from 3-D to 2-D to account for specific grid types and diagonal rules. This should more closely correspond to user expectations concerning vertical movement in a grid.
Breaking changes due to libRuler changes:
- Relies on the libRuler RulerUtilities functions
Ghostly jumping tokens
Correct "jumping token" issue where when the token is moved, it will appear to drift off the path and move twice.
For conceptual consistency, switch to projecting the origin point for the token so that the projected path goes from the token at a given height to the destination point. This was the intended approach, but the origin/destination got flipped in the projection code. May not result in a different outcome in most cases, but may be different for edge cases when measuring diagonals.
Minor checks
Minor update with additional checks on presence of elevation increment flag. Additional logging.