Integrates a PrismaUI full-screen main-menu overlay with input capture and a bridge to the server browser. Adds F4TMainMenuBridge and F4TMainMenuVanillaSettings stubs, exposes Show/Hide/IsMainMenuVisible/IsCustomMenuInputCaptured in F4TPrismaUI, and routes gamepad input via SetMainMenuActive in F4TMenuInput. MainMenuInject implements robust readiness checks with Bink/frame gating and disables legacy multiplayer-row injection (constexpr false). Fixes cursor clipping by clearing RE::MenuCursor constraints each frame and removes unsupported viewport meta from HTML. Adds window.CO_App/handleControllerInput stubs and updates docs/changelog.
19 lines
375 B
C++
19 lines
375 B
C++
#pragma once
|
|
|
|
namespace RE
|
|
{
|
|
class ButtonEvent;
|
|
class ThumbstickEvent;
|
|
}
|
|
|
|
namespace F4T::MenuInput
|
|
{
|
|
void Register();
|
|
void SetBrowserActive(bool a_active);
|
|
void SetMainMenuActive(bool a_active);
|
|
bool IsGamepadConnected();
|
|
void PollGamepad();
|
|
bool ForwardButtonEvent(const RE::ButtonEvent* a_event);
|
|
bool ForwardThumbstickEvent(const RE::ThumbstickEvent* a_event);
|
|
}
|