Skip to content

Releases: caewok/fvtt-elevation-ruler

Drag Ruler compatibility!

04 Nov 23:04
Compare
Choose a tag to compare

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

06 Sep 20:09
Compare
Choose a tag to compare

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

05 Sep 14:43
Compare
Choose a tag to compare
0.5.0-alpha

Merge branch 'release/0.5.0-alpha'

Foundry v9 Keybindings

19 Dec 01:42
Compare
Choose a tag to compare

Require Foundry v9; replace df-hotkeys module dependency with Foundry keybindings.

Full Changelog: 0.3.3...0.4.0

Fix issue #5

18 Aug 23:24
Compare
Choose a tag to compare

Fix issue #5 (levels_data undefined).

Static distanceFunction

29 Jul 16:33
Compare
Choose a tag to compare

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

27 Jul 04:26
Compare
Choose a tag to compare

Correct module.json link to DragonFlagon Hotkeys Library.

libRuler 0.1 compatibility

26 Jul 02:02
Compare
Choose a tag to compare

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

21 Jul 23:31
Compare
Choose a tag to compare

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

20 Jul 13:50
Compare
Choose a tag to compare

Minor update with additional checks on presence of elevation increment flag. Additional logging.