Release Healer Man 0.1.29

This commit is contained in:
phenom committed 2026-09-11 14:26:15 -04:00
1 parent 8c9809d3e0
commit 544c1bee91
120 files changed
+4363 -1036

No files matched your search

+6 -1
View File
@@ -12,6 +12,8 @@ import {
type CompanionSnapshot,
type DualScreenMessage,
} from "./dualScreenSync";
import { normalizeInputPreferences } from "../input/keybinds";
import { publishInputPreferences } from "../input/keybindRuntime";
import { useForcedThorDisplays } from "./useThorDualScreen";
export function BottomDisplayApp() {
@@ -44,7 +46,10 @@ export function BottomDisplayApp() {
} satisfies DualScreenMessage))
: () => undefined;
channel.onmessage = (event: MessageEvent<DualScreenMessage>) => {
if (event.data.type === "app-state") setSnapshot(event.data.snapshot);
if (event.data.type === "app-state") {
setSnapshot(event.data.snapshot);
if (event.data.snapshot.keybinds) publishInputPreferences(normalizeInputPreferences(event.data.snapshot.keybinds));
}
else if (event.data.type === "authoritative-ready") ready();
};
window.addEventListener("pageshow", ready);
+4
View File
@@ -1,3 +1,5 @@
import { getInputPreferences } from "../input/keybindRuntime";
import type { InputPreferences } from "../input/keybinds";
import { classById, type GenderId, type RaceId } from "../app/characterCatalog";
import { useGameStore } from "../game/store";
import type { GameMode, GameOverlay } from "../game/store";
@@ -121,6 +123,7 @@ export interface CompanionGameSnapshot {
}
export interface CompanionSnapshot {
keybinds?: InputPreferences;
phase: ShellPhase;
session: PlayerSession | null;
characters: CharacterProfile[];
@@ -239,6 +242,7 @@ export function currentCompanionSnapshot(): CompanionSnapshot {
}];
});
return {
keybinds: getInputPreferences(),
phase: shell.phase,
session: shell.session,
characters: shell.characters,