OmniMap-v1.0.4.zip
What's new
OmniMap v1.0.4
- Fixed LibOmniMap-1.0, HereBeDragons-2.0, and OmniMapBridge-1.0 RegisterCallback / UnregisterCallback / UnregisterAllCallbacks (LibOmniMap-1.0.lua, LegacyBridge.lua, OmniMap_Bridge.lua) to host CallbackHandler-1.0 on an internal proxy table and normalize both dot-syntax (HBD.RegisterCallback(self, event, method, ...)) and colon-syntax (HBD:RegisterCallback(self, event, method, ...)) calls without ever passing Lib or HBD itself as self into CallbackHandler-1.0.
- Fixed O(N^2) minimap pin insertion freeze in Pins.lua (AddMinimapIconMap, AddMinimapIconWorld) so adding pins places only the newly added pin in O(1) instead of calling RefreshMinimapPins() across every existing pin.
- Eliminated 20 Hz stationary minimap layout thrashing in Pins.lua (OnMinimapUpdate, RefreshMinimapPins, PlaceMinimapPin) by hoisting per-tick world position, minimap dimensions, zoom, indoor/rotate CVars, facing, and shape reads once per tick, skipping stationary ticks in O(1), fast-rejecting out-of-range non-floatOnEdge pins before rotation/sqrt, and guarding SetParent, ClearAllPoints/SetPoint (> 0.05 px delta), Show, and Hide calls.
- Bumped LibOmniMap-1.0 minor revision to 5 for clean in-game upgrades.
This mod has no additional files