Maps in widened views: TAB overlay in place, M map across the full width

- hud: shift SetViewport/Clear with moved windows (TAB overview map)
- megamap: view constants patched to the render width (clip, scroll limit,
  edge scrolling, centre, dark band, zoomed view and its markers); frame
  stretched to the screen edges, zoom controls and their click area centred
- hud: Anchor::Screen windows are drawn and clicked unshifted but still own
  the event scope
- autotest waits for log markers instead of fixed delays (~18 s per run)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
khallaandClaude Opus 5.5 committed 2026-10-16 01:12:34 +02:00
1 parent a7f8496b2b
commit c6c5530709
9 files changed
+327 -18

No files matched your search

+2
View File
@@ -24,6 +24,7 @@
#include "mods/widescreen.h"
#include "mods/hud.h"
#include "mods/megamap.h"
#include <algorithm>
#include <atomic>
@@ -318,6 +319,7 @@ void ApplyRenderSize(game::DxDisplayMode& mode, HWND window) {
PatchGrannyOrthoPushes(width, height);
PatchLabelArea(width, height);
PatchLetterbox(width);
mods::megamap::PatchLayout(width);
}
const double scaleX = width / kOriginalWidth;
const double scaleY = height / kOriginalHeight;