Releases: caewok/fvtt-walled-templates
Initial v10 version
Foundry v10 version! Major rewrite to accommodate improvements to v10 ClockwiseSweep and data model. As a result, not compatible with v9.
- No longer overrides the Foundry sweep methodology, which should improve compatibility and results in much less code to upkeep.
- Improved Weiler-Atherton clipping methodology for faster intersects of a polygon with convex polygon shapes.
- New classes to handle different types of regular polygons, including an improved Hexagon class.
Improved Hex Grids
Use the original Foundry highlight grid method if no walls blocking and autotargeting is set to use the center point. Fixes to improve hex grid highlighting and targeting. Tweak settings descriptions.
Improved performance
Improve performance by not triggering a template shape redraw unless either the template
changes or a wall intersecting the template changes.
Requires using a MIXED libWrapper for MeasuredTemplate.prototype.refresh
. Please file an issue if you encounter compatibility issues with other modules that may use this method.
Mostly resolves #7.
Improved Automated Animations compatibility
Improve compatibility with Automated Animations and possibly other modules or systems that expect the template shape to have specific circle or rectangle properties. Fixes #8.
Pathfinder 1e compatibility
Improve compatibility with Pathfinder 1e. Consistent grid highlighting based on autotarget settings.
Autotargeting!
Added settings to autotarget tokens from templates.
- Option to add a toggle to template controls.
- Target tokens by whether their center-point falls within the template.
- Target tokens by whether a percentage of their area overlaps the template
Localization improvements for settings.
Improved PF2e compatibility
Improve compatibility with Pathfinder 2e. Fixes #4.
Improved Wall Height compatibility
- Do not overwrite the origin object to improve compatibility with Wall Height.
- Use Cohen-Sutherland approach to classifying zones around a rectangle to improve segment intersection identification.
Fix when rendering limited angles near 360º
Fix rendering error when using a limited angle close to 360º. (Not typically an issue with templates, but inherited fix from Light Mask.)