Commit Graph

188 Commits

Author SHA1 Message Date
40d2d61939 Refactor brush handling in runtime-host.ts 2026-04-15 08:01:02 +02:00
b9ba1b05bd Add function to create runtime geometry brush 2026-04-15 08:00:37 +02:00
71d914fb49 Remove unused constant BOX_FACE_MATERIAL_COUNT 2026-04-15 08:00:37 +02:00
3096ef7459 Import additional brush creation functions and types in runtime-host.ts 2026-04-15 08:00:26 +02:00
37232e43f6 Add tracking for completed scheduled impulse routines 2026-04-15 05:46:30 +02:00
aa6c49854b Update scene document versions and remove unused import 2026-04-15 04:13:11 +02:00
1fdbf50d16 auto-git:
[change] src/app/App.tsx
 [change] src/document/scene-document.ts
 [change] src/geometry/box-face-uvs.ts
 [change] src/materials/starter-material-textures.ts
 [change] src/runtime-three/runtime-host.ts
 [change] src/viewport-three/viewport-host.ts
2026-04-15 04:05:05 +02:00
a201545818 Add createDefaultResolvedControlSource function 2026-04-15 03:48:00 +02:00
eb0277088c Update RuntimeHost to handle impulse routines and scene transitions 2026-04-15 02:06:00 +02:00
d717b979ec Add scene transition and impulse sequence effect handling in runtime-host.ts 2026-04-15 02:05:51 +02:00
df94bb38ee Clear activeScheduledImpulseRoutineIds on scene reset 2026-04-15 02:05:42 +02:00
61a99a57ef Allow null link in applyControlEffect 2026-04-15 02:05:42 +02:00
56c60e3761 Simplify interaction enabling logic in RuntimeHost 2026-04-15 02:04:35 +02:00
a8cab09769 Rename setSceneExitHandler to setSceneTransitionHandler 2026-04-15 02:04:35 +02:00
103ed2b9fb Update RuntimeHost interface and add activeScheduledImpulseRoutineIds 2026-04-15 02:04:18 +02:00
22a4f2a425 Fix brushId to id in runtime-host.ts 2026-04-15 01:46:08 +02:00
8b5d07bd23 Add visibility sequence effect handling in runtime-host.ts 2026-04-15 01:40:26 +02:00
55342fc9e3 Include sequences in resolved scheduler state 2026-04-14 23:46:04 +02:00
9d2f929f40 Update RuntimeHost to track pressed keys and toggle manual pause 2026-04-14 22:42:28 +02:00
14775f7550 Enhance keyboard pause handling in runtime host 2026-04-14 22:41:06 +02:00
9314beef68 Bump scene document version and clear pressed keys in runtime host 2026-04-14 22:39:24 +02:00
4b8e75483d Track pressed keys in RuntimeHost and handle key up events 2026-04-14 22:39:04 +02:00
b13c293f62 Add keyup and blur event listeners to RuntimeHost 2026-04-14 22:39:04 +02:00
3fa49dee2a Add input handling for runtime pause state in RuntimeHost 2026-04-14 22:38:35 +02:00
2501f18c50 Add pause functionality and keyboard controls to RuntimeHost 2026-04-14 22:25:23 +02:00
163ca929ad Remove suppressNextDialogueAdvanceClick logic in RuntimeHost 2026-04-14 21:27:32 +02:00
dfdffdda1c Introduce suppressNextDialogueAdvanceClick in RuntimeHost and related updates 2026-04-14 21:19:29 +02:00
7198b43241 Update player position handling in interaction system and tests 2026-04-14 21:12:53 +02:00
d5f5e1cb77 Ensure dialogue is not null before passing to handler in runtime-host.ts 2026-04-14 20:36:47 +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
4fa02fd493 Add dialogue management to RuntimeHost 2026-04-14 19:56:01 +02:00
b43d71d5e0 Update animation handling in runtime-host.ts 2026-04-14 13:58:00 +02:00
6859e43c7d Change null to undefined in loadedModelAssets check 2026-04-14 13:52:57 +02:00
be2ba389b3 Add check for animation mixers in RuntimeHost 2026-04-14 13:48:25 +02:00
7b5e5a0212 Update NPC state handling and rendering logic 2026-04-14 13:47:00 +02:00
f4a2d8211c Add actor animation playback and path assignment controls 2026-04-14 13:46:51 +02:00
a986341387 Add animation handling for NPCs in runtime-host.ts 2026-04-14 13:46:45 +02:00
78d2b3cdf4 Import and use applyActorScheduleStateToNpcDefinition in runtime-host.ts 2026-04-14 13:46:45 +02:00
2509678105 Add checks to prevent redundant updates in light and sound settings 2026-04-14 03:02:57 +02:00
c1ebb6cfe5 Update runtime control state synchronization and refresh logic 2026-04-14 03:02:57 +02:00
10c9438870 Rename syncRuntimeNpcScheduleToCurrentClock to syncRuntimeScheduleToCurrentClock 2026-04-14 03:02:24 +02:00
7fdcf55960 Add support for additional control effects in document migration and runtime host 2026-04-14 02:38:56 +02:00
a995cd172e Add sound emitter volume control and update runtime host for various controls 2026-04-14 02:38:47 +02:00
69c58ee5f4 Add applyActorPresenceControl method and update applyControlEffect to handle setActorPresence effect 2026-04-14 01:58:41 +02:00
335c53e6c9 Rename method from syncRuntimeNpcPresenceToCurrentClock to syncRuntimeNpcScheduleToCurrentClock 2026-04-14 01:58:41 +02:00
937bb64508 Refactor NPC presence and scheduling logic in runtime-host.ts 2026-04-14 01:57:52 +02:00
86259a1277 Refactor runtime host imports and add schedule resolution functions 2026-04-14 01:57:35 +02:00