zacharied / FFXIV-Plugin-HudManager

10 stars 6 forks source link

Numerous fixes #74

Closed nebel closed 1 year ago

nebel commented 1 year ago

Ensure events can't run while plugin is partially loaded - Makes it so that we don't react to events while the plugin is partially loaded. This rarely happened and wasn't a big problem, but could create errors in the plugin log.

Prevent Hotbar1 cycling state from being reset on swap - Fixes the hotbar issue in #39 (minimap issue was addressed in the previous release).

Use Dalamud GameConfig instead of ClientStructs ConfigModule - Use a more modern way way of fetching options via Dalamud instead of ClientStructs.

Avoid issues which can happen when swapping during LoVM or its load screen - Addresses an issue which happened to me sometimes where the swaps happening during Lord of Verminion loading could sometimes mess up menu interactivity.

Show inner position overlay for certain HUD elements - Tries to address #50 by showing the inner element in a different color. This is perhaps not a perfect solution as it would be nice to measure from the inner frame, but that seemed quite difficult as it would involve complex pixel-space<->percentage-space translations in many places. Still, this helps visualize where the element will actually appear.

Improve overlay accuracy - Reduce the padding/borders which made element overlays substantially bigger than the actual element, and reduce the overlay window opacity to better be able to see layered elements.

Update number of in-memory layout elements (fixes some marshalling isues) - Fix an issue discussed in Discord where elements were being imported from the wrong layout due to an outdated element count. Also fixes some position-overwriting issues which could happen with regular swaps.

Bump version to 2.5.16.0 - Version bump.