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

@ -4,6 +4,11 @@ namespace RynthCore.App;
internal sealed class LaunchAccountProfile
{
/// Sentinel stored in CharacterName when the user has explicitly opted out of auto-login.
/// At launch time, ResolveTargetCharacterForLaunch translates this to an empty string so
/// the engine's CharacterCapture sees a blank TargetCharacter and skips auto-login entirely.
public const string NoneOption = "(None — no auto-login)";
public string Id { get; set; } = Guid.NewGuid().ToString("N");
public string AccountName { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
@ -15,7 +20,7 @@ internal sealed class LaunchAccountProfile
{
get
{
string launchLabel = !string.IsNullOrWhiteSpace(CharacterName)
string launchLabel = !string.IsNullOrWhiteSpace(CharacterName) && CharacterName != NoneOption
? CharacterName
: Alias;