Add power bar suppression API, pin imgui.ini, bump SDK to v56

- New PowerbarHooks scaffold hooking gmPowerbarUI's RecvNotice_Begin/Level/
  Finish trio. SetPowerbarSuppressed exposed via the plugin contract; current
  implementation no-ops the notices (a deeper SetVisible/HidePowerBar path
  crashed on the captured pointer, so full hide is parked for later).
- ImGuiController pins io.IniFilename to a stable absolute path
  (C:\Games\RynthSuite\RynthAi\imgui.ini) so window positions, sizes, and
  dock layout persist across RL hot-reload and AC restarts. Default ImGui
  behavior wrote into the host process working dir which varied per launch.
- PluginContract version bumped to 56 with SetPowerbarSuppressedFn added to
  RynthCoreAPI; SDK exposes Has/Set methods on RynthCoreHost.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
tombohar 2026-04-25 10:03:58 -04:00
commit cd3ccfd550
7 changed files with 276 additions and 3 deletions

View file

@ -275,6 +275,7 @@ public static class EntryPoint
RunInitStep("salvage hooks", SalvageHooks.Initialize);
RunInitStep("radar hooks", RadarHooks.Initialize);
RunInitStep("chat hooks", ChatHooks.Initialize);
RunInitStep("powerbar hooks", PowerbarHooks.Initialize);
RunInitStep("do-motion hooks", DoMotionHooks.Initialize);
RunInitStep("smartbox-setstate hooks", SmartBoxSetStateHooks.Initialize);
RunInitStep("appraisal hooks", AppraisalHooks.Initialize);