Commit Graph

1902 Commits

Author SHA1 Message Date
bbc981cd71 Add support for startDialogue action in runtime scene build and tests 2026-04-14 21:48:54 +02:00
b44d5f9263 Add function to canonicalize interaction link trigger 2026-04-14 21:27:59 +02:00
163ca929ad Remove suppressNextDialogueAdvanceClick logic in RuntimeHost 2026-04-14 21:27:32 +02:00
f4cef8b0f0 Add function to resolve effective interaction trigger in runtime-interaction-system.ts 2026-04-14 21:27:26 +02:00
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
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
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
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
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
57a03dcfd4 Add dialogues field to SceneDocument in multiple return statements 2026-04-14 20:00:21 +02:00
ee50968474 Ensure selected dialogue ID is set on initial load 2026-04-14 19:59:09 +02:00
f910870a04 Add Dialogues panel to App component 2026-04-14 19:59:04 +02:00
3b2c7733f2 Add dialogue interaction link functionality 2026-04-14 19:58:46 +02:00
d951eda0da Implement 'startDialogue' interaction link handling and update dialogue link target 2026-04-14 19:58:41 +02:00
b953340cd6 Add 'startDialogue' case to getInteractionActionLabel 2026-04-14 19:58:41 +02:00
47324a43f6 Add functionality to handle adding dialogue interaction links 2026-04-14 19:58:25 +02:00
4128c82f5f Add project dialogue management functions in App.tsx 2026-04-14 19:58:21 +02:00
5985eeff2e Add function to update project dialogues with error handling 2026-04-14 19:58:00 +02:00
119423d413 Implement applyProjectDialogues function in App.tsx 2026-04-14 19:57:55 +02:00
34ada82c78 Fetch project dialogue list in App.tsx 2026-04-14 19:57:55 +02:00