Commit Graph

2641 Commits

Author SHA1 Message Date
dfdffdda1c Introduce suppressNextDialogueAdvanceClick in RuntimeHost and related updates 2026-04-14 21:19:29 +02:00
446118153e Add trigger field to RuntimeDialogueStartSource and update usage 2026-04-14 21:19:29 +02:00
cef25c0847 Add function to calculate distance to axis-aligned box and update interaction system 2026-04-14 21:13:49 +02:00
7198b43241 Update player position handling in interaction system and tests 2026-04-14 21:12:53 +02:00
7449dccd61 Add player trigger probe and collision detection functions 2026-04-14 21:12:42 +02:00
df6f1b50da Update App.tsx to reseed editor viewport on Start Day and Start Time change 2026-04-14 20:57:48 +02:00
83a3e74444 Add options parameter to applyProjectTimeSettings and updateProjectTimeSettings in App.tsx 2026-04-14 20:56:33 +02:00
6e8f91042b Update viewport canvas test to include editor simulation 2026-04-14 20:55:28 +02:00
00dff0edd1 Add test for runtime scene editor simulation 2026-04-14 20:55:28 +02:00
caedbb17f8 Update tests for ViewportCanvas component 2026-04-14 20:54:06 +02:00
dfedab901d Add additional parameter to viewport creation methods 2026-04-14 20:54:06 +02:00
cbacf9ea5e Enhance clock display and add controls for editor simulation in App.tsx 2026-04-14 20:52:35 +02:00
244e24eb50 Pass editorSimulationScene and editorSimulationClock to components in App.tsx 2026-04-14 20:52:35 +02:00
ebaf33234f Update App.tsx to reset editor simulation clock override when not playing 2026-04-14 20:52:35 +02:00
774e05cd3d Add editor simulation control functions 2026-04-14 20:52:09 +02:00
6d11a7570b Add simulation clock and playing state management in App.tsx 2026-04-14 20:52:03 +02:00
138b99cbba Integrate authored editor simulation clock in App.tsx 2026-04-14 20:51:33 +02:00
47088b5a5f Add simulation state variables to App.tsx 2026-04-14 20:51:33 +02:00
b49e87a1a0 Add offsetRuntimeClockState and formatRuntimeDayPhaseLabel functions 2026-04-14 20:51:09 +02:00
48661f8ee7 Add runtime clock state functions and constants 2026-04-14 20:51:09 +02:00
d229483094 Enhance model instance handling and interaction logic in viewport-host.ts 2026-04-14 20:50:54 +02:00
753aa75aa4 Add simulation update and runtime scene handling in ViewportHost 2026-04-14 20:44:54 +02:00
f2dbd80724 Update ViewportCanvas to handle editor simulation and resolve day-night world state 2026-04-14 20:44:37 +02:00
990a097e07 Update ViewportPanel to include editor simulation props 2026-04-14 20:44:37 +02:00
26c9250fa6 Add runtime scene editor simulation logic 2026-04-14 20:44:37 +02:00
f99524b2a1 Update y-coordinate in runtime-interaction-system.test.ts 2026-04-14 20:38:01 +02:00
9d04ea0ba1 Add dialogueId to build-runtime-scene.test.ts 2026-04-14 20:38:01 +02:00
7b750e79ee Add dialogueId to viewport-host.ts 2026-04-14 20:38:01 +02:00
d5f5e1cb77 Ensure dialogue is not null before passing to handler in runtime-host.ts 2026-04-14 20:36:47 +02:00
9a80f91094 Add dialogue to NPC entity in build-runtime-scene.test.ts 2026-04-14 20:35:10 +02:00
4d4ebbf03a Add tests for NPC dialogue serialization and migration 2026-04-14 20:34:52 +02:00
64c3cd487e Add test for NPC dialogue references to missing dialogue resources 2026-04-14 20:34:42 +02:00
b4105257a6 Update dialogue start method and add new test cases for RuntimeHost 2026-04-14 20:34:35 +02:00
4070bb81e4 Update tests for RuntimeInteractionSystem to handle new dialogue triggers and NPC interactions 2026-04-14 20:34:18 +02:00
ae65dcd51e Add NPC dialogue selection UI 2026-04-14 20:33:34 +02:00
e784fe1dc2 Add dialogueId support in applyNpcChange 2026-04-14 20:33:34 +02:00
c7f5764ca2 Add NPC dialogue handling in App.tsx 2026-04-14 20:33:18 +02:00
4ae935cb99 Update dialogue comparison in runtime-host.ts 2026-04-14 20:33:18 +02:00
37494525c6 Update RuntimeHost to handle interaction prompts and dialogue sources 2026-04-14 20:32:55 +02:00
2d4682b3b8 Invoke dialogue handler on setRuntimeDialogueHandler update 2026-04-14 20:32:46 +02:00
600c330b68 Add source field to RuntimeDialogueState 2026-04-14 20:32:46 +02:00
fd13fdffe8 Add NPC dialogue support in scene document and runtime interaction system 2026-04-14 20:32:23 +02:00
076d0b1f80 Add dialogueId to NpcEntity and related functions 2026-04-14 20:32:04 +02:00
16991fb76b Add unit test for ProjectDialoguesPanel 2026-04-14 20:08:17 +02:00
06aa5056d0 Refactor input change handlers in ProjectDialoguesPanel.tsx 2026-04-14 20:07:06 +02:00
7d03ecd7bc Refactor condition in readProjectDialogueLibrary to handle undefined values correctly 2026-04-14 20:04:12 +02:00
2ac3bae109 Add test for opening, advancing, and closing project dialogues through the runtime host 2026-04-14 20:02:35 +02:00
741fa4caad Add createStartDialogueInteractionLink and RuntimeDialogueState to runtime-host.test.ts 2026-04-14 20:02:35 +02:00
8550fe9dea Add test for missing dialogue resource validation 2026-04-14 20:02:17 +02:00
37c3dade46 Add test for round-tripping dialogue library resources through scene schema 2026-04-14 20:02:11 +02:00