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
|
4671e6de51
|
Only allow users to update the movement history for tokens they own
|
2021-04-29 00:20:24 +02:00 |
|
Manuel Vögele
|
f0ef109658
|
Track the movement of all tokens that are moved simultaneously in one batch (huge performance bump if many tokens are moved)
|
2021-04-29 00:03:05 +02:00 |
|
Manuel Vögele
|
f0d1ef9d48
|
There might not actually be a dragged token when trying to end the measurement
|
2021-04-28 23:25:22 +02:00 |
|
Manuel Vögele
|
d04ea9b0b7
|
Remove leftover lines from a refactor that didn't do anything
|
2021-04-28 12:11:58 +02:00 |
|
Manuel Vögele
|
ba8ab9d473
|
After moving a token only end the measurement if no new token is being dragged
|
2021-04-27 21:17:28 +02:00 |
|
Manuel Vögele
|
2691720090
|
Update all moved tokens at once (provides a huge performance bump)
|
2021-04-27 20:28:44 +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
|
6472c1d5bd
|
Don't include the movement history in collission checks (fixes #61)
|
2021-04-21 09:05:50 +02:00 |
|
Manuel Vögele
|
d732f7ca17
|
Add defaults for dcc system
|
2021-04-20 17:02:37 +02:00 |
|
Manuel Vögele
|
4be6730fd5
|
Use parseInt on the speed attribute to increase compatibility with game systems (resolves #60)
|
2021-04-20 17:00:28 +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
|
447995977b
|
Don't show the difficult terrain measurement hint when no terrain module is enabled
|
2021-04-15 17:17:38 +02:00 |
|
Manuel Vögele
|
43c5df42d4
|
If a terrain module is installed, suggest installing Terrain Ruler to the user
|
2021-04-14 22:49:18 +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
|
27ffb2d8cb
|
Don't return any value in _socketUpdateCombatantDragRulerFlags to reduce the amount of network traffic
|
2021-04-14 17:32:40 +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
|
8f896d9b82
|
Fix a bug that caused Drag Ruler to measure euclidic distance when Terrain Ruler isn't active
|
2021-04-14 15:54:59 +02:00 |
|
Manuel Vögele
|
f7683e8945
|
Update the movement tracking flags in the GM client, becauase the user isn't allowed to modify them
|
2021-04-14 15:54:59 +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
|
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
|
65912df989
|
Add support for the Enhanced Terrain Layer module (resolves #50)
|
2021-04-10 15:02:35 +02:00 |
|
Manuel Vögele
|
8cd5d7f276
|
Migrate Drag Ruler to Terrain Ruler's new API
|
2021-04-10 14:43:45 +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
|
6ad1f4c522
|
Merge branch 'master' into develop
|
2021-04-01 22:36:06 +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
|
94fe223529
|
Fix measurement errors when disabling token snapping while the Terrain Ruler module isn't enabled
|
2021-04-01 00:07:26 +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
|
b4ac65e478
|
Fix snapping for tokens that are smaller than 1x1 (fixes #48)
|
2021-03-25 01:55:48 +01:00 |
|
Manuel Vögele
|
e473fea121
|
Add defaults for swade game system to generic speed provider
|
2021-03-18 19:06:35 +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
|
378401b5bb
|
Merge branch 'master' into develop
|
2021-03-10 11:55:22 +01:00 |
|
Manuel Vögele
|
0b71504da3
|
Fix regression introduced in 6e745820 that made colors flicker during measurement
|
2021-03-10 11:50:55 +01:00 |
|
Manuel Vögele
|
5a7f5531f2
|
When multiple colors overlap on one square draw the one representing the furthest range with the highest priority
|
2021-03-09 14:51:55 +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
|
384de1a1b5
|
Add support for difficult terrain via Terrain Ruler module (resolves #1)
|
2021-03-09 10:08:51 +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
|
544740b697
|
Pull current speed provider from game settings for non GM users (fixes #34)
|
2021-03-03 09:49:08 +01:00 |
|
Manuel Vögele
|
d5fd5e0d04
|
Dash multiplier 0 now works again
|
2021-02-22 05:29:00 +01:00 |
|
Manuel Vögele
|
0fb8aecfdd
|
Refer to additional API capabilities in the readme
|
2021-02-21 12:41:12 +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
|
b84cdfd7c1
|
Fix a bug that prevented the Speed Provider Settings Dialog from being shown if an unavailable Speed Provider is configured
|
2021-02-18 00:13:15 +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 |
|