Manuel Vögele
27a2b46a8a
Revert "Restore rulerOffset for all uses except hex grids ( fixes #332 )"
...
This reverts commit ab1f5b4c9b .
2024-07-28 22:47:26 +02:00
Manuel Vögele
ab1f5b4c9b
Restore rulerOffset for all uses except hex grids ( fixes #332 )
...
This restores the functinality of gridless, but it is not a proper fix. Most likely all the functionality in foundry_imports.js has to be re-imported at this point
2024-07-28 09:28:13 +02:00
Manuel Vögele
6da3e65301
Fix some deprecation warnings
2024-07-27 23:14:40 +02:00
Manuel Vögele
18cf63895c
Remove v11 compatibility code
2024-07-27 22:03:48 +02:00
n0q
0e2ab35db7
fix hex calculations in v12
2024-07-27 21:55:29 +02:00
Nils
0808f17ee3
Update foundry for v12
2024-07-27 21:55:29 +02:00
KitCat
c490550ed9
Add Support for 5x5 Hex Tokens ( #315 )
2024-03-06 23:28:16 +01:00
Manuel Vögele
f1fcc52867
Remove v10 support code
2023-06-13 19:53:30 +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
c2aa47985b
Take into account that the hex size support module may not be installed ( fixes #241 )
2022-10-15 18:39:44 +02:00
Manuel Vögele
26c3475db6
Repair regressions of a9c15d77 where square token highlighting would break
2022-10-15 16:48:07 +02:00
Manuel Vögele
2cf97e2804
Add comments about re-used code in routinglib
2022-10-15 16:37:47 +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
944ff96a26
Add comment about identical an identical function in another module
2022-10-03 10:51:09 +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
a252da620a
Always allow the GM to use pathfinding
2022-02-01 11:33:33 +01:00
Manuel Vögele
7ac1c828b6
Perform pathfinding on grid-corner to grid-corner basis for tokens with size divisible by two ( fixes #144 )
2022-01-30 10:51:58 +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
eeb6db76a6
Measure the full path to determine highlight color ( fixes #142 )
2022-01-17 12:50:05 +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
752b8375ab
Non-square tokens are now fully supported on square grids ( fixes #116 )
2021-11-24 09:14:27 +01:00
Argonius-Angelus
24f1e78092
Updated getFlag behaviour ( #114 )
...
Updated getFlag behaviour to use Document#getFlag rather than the depreciated PlaceableObject#getFlag. Due to the min core version being marked as 0.8.5, this won't cause a 0.7 compatability issue.
2021-09-15 07:48:00 +02:00
Manuel Vögele
59c12d017b
When Ctrl+Z undoes a movement, remove that movement form the movement history as well ( resolves #64 )
2021-08-02 15:43:22 +02:00
Manuel Vögele
9552c25e6e
Add a setting that disables Drag Ruler by default and only activates it once the button to add a waypoint is being pressed
2021-08-02 15:23:49 +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
4d2e4b7715
Calculate the correct snappig for measured templates when placing a waypoint
2021-05-21 14:41:33 +02:00
Manuel Vögele
acd2e74064
Implement measurement template support ( resolves #13 )
2021-05-18 14:11:24 +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
57ed545e30
Snap tiny tokens (0.5x0.5 or smaller) to the corners of the grid squares like it is done in vanilla foundry ( fixes #49 )
2021-04-01 22:25:21 +02:00
Manuel Vögele
b4ac65e478
Fix snapping for tokens that are smaller than 1x1 ( fixes #48 )
2021-03-25 01:55:48 +01:00
Manuel Vögele
40dde08ddd
Allow getTokenShape on gridless maps ( fixes #44 )
2021-03-18 07:41:30 +01:00
Manuel Vögele
2862643ba8
Add missing check for whether hex-size-support module is present ( fixes #43 )
2021-03-17 09:25:30 +01:00
Manuel Vögele
4f1dec3089
Support for difficult terrain with tokens larger than 1x1
2021-03-15 20:52:52 +01:00
Manuel Vögele
c4d089e8ff
Always draw the ruler from the token's center for larger tokens (even on grids). Highlight all spaces occupied by larger tokens.
2021-03-15 20:17:09 +01:00
Manuel Vögele
384de1a1b5
Add support for difficult terrain via Terrain Ruler module ( resolves #1 )
2021-03-09 10:08:51 +01:00