Add radar rect API, jump primitives, account profile tweaks

- Hook gmRadarUI::DrawObjects to capture the UI singleton; expose
  host.TryGetRadarRect via UIElement::GetSurfaceBox (API v53).
- Plumb CommenceJump/DoJump/LaunchJumpWithMotion through
  ClientActionHooks and PlayerPhysicsHooks.
- Account profile dialog + LaunchAccountProfile adjustments.
- Viewport platform backend tweak.
This commit is contained in:
tombohar 2026-04-22 21:28:29 -04:00
commit 2c3d2410a8
13 changed files with 540 additions and 15 deletions

View file

@ -136,6 +136,21 @@ internal static class ClientActionHooks
return CommandInterpreterHooks.TapJump();
}
public static bool CommenceJump()
{
return CommandInterpreterHooks.CommenceJump();
}
public static bool DoJump(bool autonomous)
{
return CommandInterpreterHooks.DoJump(autonomous);
}
public static bool LaunchJumpWithMotion(bool shift, bool holdW, bool holdX, bool holdZ, bool holdC)
{
return PlayerPhysicsHooks.LaunchJumpWithMotion(shift, holdW, holdX, holdZ, holdC);
}
public static bool SetMotion(uint motion, bool enabled)
{
return CommandInterpreterHooks.SetMotion(motion, enabled);