Release v0.1.5 2026-07-12

This commit is contained in:
Warren H
2026-07-12 22:10:12 -04:00
parent bef71d391a
commit 35553c18dd
41 changed files with 2005 additions and 2654 deletions
+10 -2
View File
@@ -22,7 +22,8 @@ export type GameCommand =
| { name: "setPaused"; paused: boolean }
| { name: "setPauseSelection"; selection: "resume" | "exit" }
| { name: "setSelectedRunBuff"; buffId: RunBuffId }
| { name: "chooseRunBuff"; buffId: RunBuffId };
| { name: "chooseRunBuff"; buffId: RunBuffId }
| { name: "continueRoguelikeRound" };
export type FrontendCommand =
| { name: "signIn"; username: string; password: string }
@@ -44,6 +45,8 @@ export type FrontendCommand =
| { name: "selectGearSlot"; slotId: GearSlotId }
| { name: "selectGearWorkshopMode"; mode: "upgrade" | "infusion" }
| { name: "selectInfusion"; infusionId: string }
| { name: "selectPassiveAbility"; abilityId: AbilityId }
| { name: "selectPassiveInfusion"; passiveId: RunBuffId }
| { name: "upgradeSelectedGear" }
| { name: "equipSelectedInfusion" }
| { name: "equipPassiveInfusion"; passiveId: RunBuffId }
@@ -82,6 +85,7 @@ export function executeGameCommand(command: GameCommand) {
case "setPauseSelection": game.setPauseSelection(command.selection); break;
case "setSelectedRunBuff": game.setSelectedRunBuff(command.buffId); break;
case "chooseRunBuff": game.chooseRunBuff(command.buffId); break;
case "continueRoguelikeRound": game.continueRoguelikeRound(); break;
}
}
@@ -107,6 +111,8 @@ export function executeFrontendCommand(command: FrontendCommand) {
case "selectGearSlot": frontend.selectGearSlot(command.slotId); break;
case "selectGearWorkshopMode": frontend.selectGearWorkshopMode(command.mode); break;
case "selectInfusion": frontend.selectInfusion(command.infusionId); break;
case "selectPassiveAbility": frontend.selectPassiveAbility(command.abilityId); break;
case "selectPassiveInfusion": frontend.selectPassiveInfusion(command.passiveId); break;
case "upgradeSelectedGear": frontend.upgradeSelectedGear(); break;
case "equipSelectedInfusion": frontend.equipSelectedInfusion(); break;
case "equipPassiveInfusion": frontend.equipPassiveInfusion(command.passiveId); break;
@@ -130,6 +136,7 @@ export type BottomGameSnapshot = Pick<GameState,
| "healerClassId"
| "phase"
| "round"
| "runModifiers"
| "time"
| "party"
| "boss"
@@ -151,7 +158,7 @@ export type BottomGameSnapshot = Pick<GameState,
>;
const BOTTOM_GAME_SNAPSHOT_KEYS: readonly (keyof BottomGameSnapshot)[] = [
"bossId", "paused", "healerClassId", "phase", "round", "time", "party", "boss", "additionalBosses",
"bossId", "paused", "healerClassId", "phase", "round", "runModifiers", "time", "party", "boss", "additionalBosses",
"partyPositions", "bossMotion", "partyCombat", "mana", "maxMana", "selectedMemberId", "cooldowns",
"globalCooldownUntil", "activeTab", "selectedItemId", "inventory", "playerPosition", "activeCast", "barrier",
];
@@ -181,6 +188,7 @@ export function currentBottomGameSnapshot(): BottomGameSnapshot {
healerClassId: state.healerClassId,
phase: state.phase,
round: state.round,
runModifiers: state.runModifiers,
time: state.time,
party: state.party,
boss: state.boss,