Manuel Vögele
|
47715e95f6
|
Replace newly private functions with public alternatives
|
2023-06-12 19:50:55 +02:00 |
|
Manuel Vögele
|
1dccbcb081
|
Reformat with prettier
|
2023-06-12 19:36:20 +02:00 |
|
pkonshik
|
9af692566c
|
Apply changes for v11 compatibility (#277)
|
2023-06-11 13:17:36 +02:00 |
|
Manuel Vögele
|
a9c15d779b
|
v10 compat: Make Drag Ruler play nice with Foundry v10's hex grid and the new hex-size-support module
|
2022-10-15 16:00:38 +02:00 |
|
Manuel Vögele
|
8a91c8843d
|
v10 compat: Get rid of several deprecation warnings (fixes #237)
|
2022-10-14 11:17:27 +02:00 |
|
Manuel Vögele
|
7a00d6fcc2
|
Stop pathfinding if the measurement is canceled mid-pathfinding
|
2022-10-04 21:32:26 +02:00 |
|
Manuel Vögele
|
4957188630
|
If a previous pathfinding job is done, reset it to undefined
|
2022-10-04 10:25:55 +02:00 |
|
Manuel Vögele
|
25fc6258e7
|
Cancel running pathfinding jobs before scheduling a new one
|
2022-09-30 22:47:51 +02:00 |
|
Manuel Vögele
|
ac00aac85b
|
Gracefully handle situations where no path exists
|
2022-09-30 22:36:48 +02:00 |
|
Manuel Vögele
|
c43b0bfd64
|
Rename js/ to src/ since the rust component is now gone
|
2022-09-30 22:04:41 +02:00 |
|
Manuel Vögele
|
fb702cd850
|
Add support for gridless pathfinding
|
2022-02-15 17:56:08 +01:00 |
|
Manuel Vögele
|
f59b0f9d2d
|
When changing the measurement mode via a keybinding send the updated ruler state to other players immediately (fixes #152)
|
2022-02-09 10:51:19 +01:00 |
|
Manuel Vögele
|
443cfd4317
|
Don't apply snapping to rulers received from other players (fixes #150)
|
2022-02-09 10:41:01 +01:00 |
|
Manuel Vögele
|
39f9204fa7
|
Destroy labels that are no longer used
|
2022-02-01 02:58:55 +01:00 |
|
Manuel Vögele
|
d467fe5bcf
|
Add pathfinidng support for square and hex grids
|
2022-01-30 00:06:48 +01:00 |
|
Manuel Vögele
|
84c18a6221
|
Organzie imports
|
2022-01-03 00:44:16 +01:00 |
|
Manuel Vögele
|
52d77ba0a4
|
Code changes for v9 compatibility (moves keybindings into the new foundry API)
|
2022-01-02 18:32:30 +01:00 |
|
Manuel Vögele
|
c8a7c73ace
|
Immediately override the Ruler after extension to increase interoperability with other modules
|
2022-01-02 18:32:00 +01:00 |
|
Manuel Vögele
|
1c8ce20a45
|
Move fallback to default color to a location where it's accessible (fixes #137)
|
2021-12-28 16:17:52 +01:00 |
|
Manuel Vögele
|
c3a62e3646
|
Only switch to the next color once the distance is 0.01 above the allowed distance
The goal of this is to reduce color flickering noise due to floating number errors
|
2021-11-21 22:55:02 +01:00 |
|
Manuel Vögele
|
035cfb8969
|
Add API function to receive the color for a given distance and token
|
2021-11-17 12:16:36 +01:00 |
|
Manuel Vögele
|
a91c3c1b8c
|
setSnapParameterOnOptions was still using the old parameters here (fixes #102)
|
2021-08-03 10:17:13 +02:00 |
|
Manuel Vögele
|
63b13cbb34
|
Abort the drag when pressing ESC (resolves #73)
|
2021-08-02 15:51:12 +02:00 |
|
Manuel Vögele
|
461e1d0818
|
Cancel scheudled measurements then the ruler is being cleared
|
2021-07-30 12:40:32 +02:00 |
|
Michael Clavell
|
e1265ad6fb
|
Add support for the Toggle Snap To Grid module (#97)
|
2021-07-30 10:16:27 +02:00 |
|
Manuel Vögele
|
1328d52f94
|
Send the info whether the dragged entity is a token or a template to the other players (fixes a snapping issue in other players clients)
|
2021-05-26 16:17:23 +02:00 |
|
Manuel Vögele
|
7ba89e4229
|
Update code for Foundry 0.8.5
|
2021-05-22 21:57:59 +02:00 |
|
Manuel Vögele
|
4d2e4b7715
|
Calculate the correct snappig for measured templates when placing a waypoint
|
2021-05-21 14:41:33 +02:00 |
|
Manuel Vögele
|
fd81833583
|
Rename Ruler.draggedToken to Ruler.draggedEntity in preparation of measurement template suppport
|
2021-05-18 13:03:42 +02:00 |
|
Manuel Vögele
|
e8ab77a62e
|
Update active rulers when the movement history changes
|
2021-05-05 16:01:13 +02:00 |
|
Manuel Vögele
|
1acc012d65
|
Cache the output of SpeedProvider.getRanges during a drag to increase speed provider performance
|
2021-04-29 12:40:17 +02:00 |
|
Manuel Vögele
|
d0ee47d551
|
Fix typo that made regular rulers not work
|
2021-04-14 19:45:17 +02:00 |
|
Manuel Vögele
|
9787a41fd1
|
If Terran Ruler is enabled, store the length of the traveled path so changes to difficult terrain aren't reflected in the tokens movement history
|
2021-04-12 18:45:57 +02:00 |
|
Manuel Vögele
|
35624a37aa
|
Add api endpoint to determine the distance that a token has moved already
|
2021-04-10 14:25:01 +02:00 |
|
Manuel Vögele
|
c66ec46aed
|
Track the path taken by tokens in combat and display it when reactivating DragRuler in the same turn
|
2021-04-08 09:35:04 +02:00 |
|
Manuel Vögele
|
305a6116bc
|
Refactor: Override ruler class instead of hooking each function individually
|
2021-03-31 17:19:12 +02:00 |
|