Tuesday, July 12, 2016

FMod - Convenient tileinfo animation links

Quite a while ago, I started adjusting Abiathar's standard tools to respect the number format settings. I finished that today.

Along the way, I also fixed a design flaw in the Tile Instance Remapper that caused custom regions with one point at (0, 0) to not actually get set. The fix mostly involved marking a variable as nullable and then sprinkling HasValue checks around rather than using comparisons to null (which is the same as the default value for a value type).

"Gridlock" on IRC suggested a while back that the Tile Property Modifier allow the user to right-click a tile to animation-link the active one to it. There's already an animation link mode, but it's only mentioned in the contextual help, and using it requires an extra keystroke. Other tileinfo tools all use right-clicking to set the animation target. So I implemented that, with the additional option that holding Shift while right-clicking only makes the animation link, without moving the focus to the target tile.

No comments:

Post a Comment