railroader-setons-special-s.../native
seton fcfdc6fba0 Map: fix T key teleport in overlay and popout; pass M through when module disabled
Overlay: our IsMouseOverGameWindow patch was blocking StrategyCameraController.TeleportToMouse()
as a side effect. Added native export RRPOPOUT_GetOverlayMouseMapPos (stores imgPos atomically
each render frame, returns normalized map-image cursor coords) and handle the T key directly in
UiHost.Update(), invoking MapDrag.OnTeleport with the correct viewport position. MapDrag.Update()
stays gated behind _pointerOver which never fires on our collapsed canvas, so there is no
double-teleport.

Popout: T key does not fire through Unity Input System when the game window lacks focus. Added
GetAsyncKeyState(VK_T) rising-edge detection in DetachedPanel.Update(), using the last MouseMove
event position (tracked before the drag-only guard) as the viewport coordinate.

Module disabled: all three MapWindow_Toggle/Show/ShowPos Harmony prefixes now pass through to the
game's native map when PopoutModule.Settings.enabled is false. Previously UiService.Install()
always applied the intercepts regardless of module state.

Also removed F10 as a shortcut to switch to the popout - F9 already does this and F10 conflicts
with the Shift+F10 UMM hotkey.
2026-06-25 18:16:49 -04:00
..
external Initial commit: S3 - Seton's Special Sauce v0.2.0 2026-06-17 14:17:41 -04:00
fonts Map Module 0.2.5: icon culling, EOTD, gear menu icons, font fix 2026-06-22 18:46:12 -04:00
include track and industry labels on map; Mesh LOD module skeleton 2026-06-25 12:33:37 -04:00
src Map: fix T key teleport in overlay and popout; pass M through when module disabled 2026-06-25 18:16:49 -04:00
CMakeLists.txt Map Module 0.2.5: icon culling, EOTD, gear menu icons, font fix 2026-06-22 18:46:12 -04:00