Manuel Vögele
|
acd2e74064
|
Implement measurement template support (resolves #13)
|
2021-05-18 14:11:24 +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
|
a413d44795
|
Don't re-measure when the shift key is being pressed while a token is following the currently active ruler
|
2021-05-18 13:03:04 +02:00 |
|
Manuel Vögele
|
9f70e5bc27
|
If not token is selected, use the dragged token as selected token (fixes #70)
|
2021-05-15 20:04:22 +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
|
6bf8083f7a
|
Add a function for resetting the movement history to the public api
|
2021-04-30 00:00:15 +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
|
70b166d844
|
Add a context menu entry that the gm can use to reset the movement history
|
2021-04-26 11:09:56 +02:00 |
|
Manuel Vögele
|
667259d5d6
|
If a token has no actor, use the user's color for highlighting grid spaces (fixes #58)
|
2021-04-19 11:22:13 +02:00 |
|
Manuel Vögele
|
b734257515
|
Check if all required dependencies are present and show an error if this is not the case
|
2021-04-14 16:37:46 +02:00 |
|
Manuel Vögele
|
ff5d46ebbe
|
Add a setting to disable the movement history
|
2021-04-14 16:10:11 +02:00 |
|
Manuel Vögele
|
5d93c61f0c
|
Merge branch 'master' into develop
|
2021-04-11 14:31:44 +02:00 |
|
Manuel Vögele
|
d2f2307e4d
|
Update the ruler before dropping the token to get a more precise target location if the token has been moved very quickly (fixes #51)
|
2021-04-11 14:24:23 +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 |
|
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
|
862477c698
|
Add a setting that allows hiding the GM's drag ruler from non gm players (resolves #23)
|
2021-03-09 12:54:28 +01:00 |
|
Manuel Vögele
|
6e74582089
|
Stop patching _highlightMeasurement and import it instead to increase compatibility with other modules
|
2021-03-09 09:09:50 +01:00 |
|
Manuel Vögele
|
bb5fe94439
|
Allow speed providers to disable Drag Ruler on a per-token basis (resolves #24)
|
2021-02-21 12:13:14 +01:00 |
|
Manuel Vögele
|
8110a1b78b
|
Add setting migration
|
2021-02-18 00:38:55 +01:00 |
|
Manuel Vögele
|
75d59171d6
|
New API, allwing color configuration (resolves #7) and Speed Provider Settings
|
2021-02-17 16:25:17 +01:00 |
|
Manuel Vögele
|
fd5b439ec2
|
Use foundries builin function to fetch selected tokens
|
2021-02-16 16:04:47 +01:00 |
|
Manuel Vögele
|
6adb69829e
|
Make compatible with Hex Token Size Support (resolves #12)
|
2021-02-11 09:06:54 +01:00 |
|
Manuel Vögele
|
94f5a49263
|
Cache canvas.controls.ruler into local variable for readability and performance
|
2021-02-11 00:27:11 +01:00 |
|
Manuel Vögele
|
2144a536ee
|
Immediately show snapped/unsnapped measuring result when pressing/releasing shift
|
2021-02-08 19:02:09 +01:00 |
|
Manuel Vögele
|
2b66b43c55
|
Allow deleting of waypoints with the 'X' key (resolves #14)
|
2021-02-08 18:30:33 +01:00 |
|
Manuel Vögele
|
4bd1473310
|
Change ruler color on gridless maps to indecate different speeds (resolves #15)
|
2021-02-08 18:08:52 +01:00 |
|
Manuel Vögele
|
82685a1a2f
|
Add setting to use a static color for the first speed instead of player color (resolves #10)
|
2021-02-08 16:27:11 +01:00 |
|
Manuel Vögele
|
b671928ade
|
Disable grid snapping while pressing shift (fixes #9)
|
2021-02-08 15:44:58 +01:00 |
|
Manuel Vögele
|
3d68e324f2
|
Apply ruler offset when determining destination after deleting a waypoint
|
2021-02-08 11:36:18 +01:00 |
|
Manuel Vögele
|
c30ff10364
|
Remove defective un-snapping code
|
2021-02-08 11:27:37 +01:00 |
|
Manuel Vögele
|
8b69cb2f65
|
Allow swapping of right click and spacebar behavior (resolves #4)
|
2021-02-08 11:24:48 +01:00 |
|
Manuel Vögele
|
0647fec08f
|
Import the wohle measure function instead of patching it (preparation for future changes)
|
2021-02-07 12:26:08 +01:00 |
|
Manuel Vögele
|
74c7d74c5a
|
On gridless maps, always start measuring from the tokens center
|
2021-02-05 11:46:16 +01:00 |
|
Manuel Vögele
|
f1542b7789
|
Start measuring immediately when the token is being dragged
|
2021-02-05 11:20:41 +01:00 |
|
Manuel Vögele
|
4149f0e351
|
Fix #5: Handle installations where foundry.js has CRLF line endings gracefully
|
2021-02-03 00:52:59 +01:00 |
|
Manuel Vögele
|
5c43651925
|
Add option to show colors of PCs to anyone, regardless of permissions
|
2021-02-02 14:37:07 +01:00 |
|
Manuel Vögele
|
33cb9a2ba2
|
Only show range colors to players who have observer permissions for that token
|
2021-02-02 11:44:20 +01:00 |
|
Manuel Vögele
|
c8a7352d5f
|
Merge branch 'master' into develop
|
2021-02-02 11:04:18 +01:00 |
|
Manuel Vögele
|
633563b672
|
Add custom implementation of Ruler.moveToken
This allows us to move multiple tokens at a time
and allows the gm to move tokens through walls again
|
2021-02-02 10:52:15 +01:00 |
|
Manuel Vögele
|
135a3091b0
|
Don't show the drag ruler to players who cannot se the dragged token
As a side effect this will now also show the coloring to other players
|
2021-02-01 21:42:38 +01:00 |
|
Manuel Vögele
|
4b73cd93bf
|
Initial commit
|
2021-02-01 15:34:42 +01:00 |
|