Commit Graph

582 Commits

Author SHA1 Message Date
2dd4a6caeb auto-git:
[change] src/document/world-settings.ts
2026-04-22 12:28:01 +02:00
94dec56eb4 auto-git:
[add] src/rendering/terrain-layer-material.ts
 [add] tests/domain/terrains.test.ts
 [change] src/app/App.tsx
 [change] src/core/terrain-brush.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/document/terrains.ts
 [change] src/geometry/terrain-brush.ts
 [change] src/geometry/terrain-mesh.ts
 [change] src/runtime-three/rapier-collision-world.ts
 [change] src/runtime-three/runtime-host.ts
 [change] src/runtime-three/runtime-scene-build.ts
 [change] src/viewport-three/ViewportCanvas.tsx
 [change] src/viewport-three/ViewportPanel.tsx
 [change] src/viewport-three/viewport-host.ts
 [change] tests/domain/build-runtime-scene.test.ts
 [change] tests/domain/rapier-collision-world.test.ts
 [change] tests/domain/terrain.command.test.ts
 [change] tests/domain/water-material.test.ts
 [change] tests/geometry/terrain-brush.test.ts
 [change] tests/geometry/terrain-mesh.test.ts
 [change] tests/serialization/scene-document-json.test.ts
 [change] tests/unit/terrain-foundation.integration.test.tsx
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-20 02:37:01 +02:00
6a43793779 Update migrateSceneDocument to handle FOLLOW_ACTOR_PATH_SMOOTH_SCENE_DOCUMENT_VERSION 2026-04-18 20:06:02 +02:00
4afef32d5d auto-git:
[change] src/document/migrate-scene-document.ts
2026-04-18 19:59:52 +02:00
c40ae78174 Add terrain validation and id registration in scene-document-validation.ts 2026-04-18 19:47:07 +02:00
36bc16af12 Add terrain validation to scene document 2026-04-18 19:47:04 +02:00
30070e79d7 Add terrain reading to scene document migration 2026-04-18 19:47:03 +02:00
7b1658d133 Add terrains field to SceneDocument migration 2026-04-18 19:46:17 +02:00
319668d38b Add terrain reading functionality in migrate-scene-document.ts 2026-04-18 19:45:05 +02:00
6e78d66a11 Update scene document to include terrains 2026-04-18 19:44:57 +02:00
9edc32a628 Add terrain-related functionality 2026-04-18 19:44:57 +02:00
e633f1f6a3 Remove unused vector operation functions from paths.ts 2026-04-15 11:22:52 +02:00
1aa3a8b5f0 Refactor function definitions in paths.ts 2026-04-15 11:22:52 +02:00
867cb58a18 Update function signatures in paths.ts 2026-04-15 11:21:56 +02:00
e2c09628e3 Update function signatures in paths.ts to include generic types 2026-04-15 11:21:35 +02:00
66d1aa7299 Refactor path smoothing logic and remove unused functions 2026-04-15 11:21:29 +02:00
a3eb94a9a2 Update function parameter type in paths.ts 2026-04-15 11:20:40 +02:00
c4836a319c auto-git:
[change] src/document/scene-document-validation.ts
2026-04-15 11:13:24 +02:00
285e70c9ae Handle smoothPath in readControlEffect 2026-04-15 11:13:20 +02:00
8b39192647 Introduce path smoothing functionality with Catmull-Rom splines 2026-04-15 11:12:36 +02:00
f8c0e2c4ea Bump SCENE_DOCUMENT_VERSION to 64 and add FOLLOW_ACTOR_PATH_SMOOTH_SCENE_DOCUMENT_VERSION 2026-04-15 11:11:10 +02:00
bbf0ae4d70 Update scene document validation for NPC entities 2026-04-15 10:59:23 +02:00
50528acdfc Remove validation for empty dialogue speaker names 2026-04-15 10:10:56 +02:00
cf8d37dd44 Remove speakerName from dialogue line reading functions 2026-04-15 10:10:54 +02:00
f6a411e761 Bump SCENE_DOCUMENT_VERSION to 63 and add NPC_DIALOGUE_LINE_SPEAKER_REMOVED_SCENE_DOCUMENT_VERSION 2026-04-15 10:10:54 +02:00
2a3e8c4852 Update scene validation to include current scene entities 2026-04-15 10:04:18 +02:00
4310fec814 Update project resource validation in scene-document-validation.ts 2026-04-15 09:54:56 +02:00
a4296dd70c Remove unused variable dialogueId in migrate-scene-document.ts 2026-04-15 09:54:56 +02:00
96b28ee2b8 Remove dialogue validation checks from scene document validation 2026-04-15 09:51:31 +02:00
0702681c64 Remove dialogues field from SceneDocument migration 2026-04-15 09:51:04 +02:00
f3d174a3a7 Remove startDialogue interaction and related code 2026-04-15 09:50:32 +02:00
425d207c5b Remove unused dialogue property from validation functions 2026-04-15 09:50:32 +02:00
9f117bbc38 Remove dialogue validation from scene and sequence validation 2026-04-15 09:49:19 +02:00
8118657464 Bump SCENE_DOCUMENT_VERSION to 62 and add NPC_ONLY_DIALOGUES_SCENE_DOCUMENT_VERSION 2026-04-15 09:46:32 +02:00
888437ba4e Update dialogue handling in migrate-scene-document.ts 2026-04-15 09:25:56 +02:00
cc12918b7b Refactor dialogue handling in scene and project document migrations 2026-04-15 09:23:40 +02:00
7343441ee8 Add support for legacy project dialogues in scene document migration 2026-04-15 09:23:40 +02:00
f9a714b6b0 Add makeNpcTalk effect validation and handling in migrate-scene-document.ts 2026-04-15 09:22:38 +02:00
6deb1f9bdb Update entity reading functions to include legacy project dialogues 2026-04-15 09:22:29 +02:00
e67f0d6d13 Update NPC entity reading to include dialogues and legacy support 2026-04-15 09:22:21 +02:00
1b10a6a31d Add function to read NPC dialogues from scene document 2026-04-15 09:22:11 +02:00
635724a915 Add default rotation for wedge brushes in migrate-scene-document.ts 2026-04-15 09:21:07 +02:00
1ebd615d1a Enhance scene document validation with NPC dialogue checks 2026-04-15 09:20:00 +02:00
ba4989c7d2 Add type annotations to brush functions parameters 2026-04-15 09:18:51 +02:00
af78713c0f Update migration logic for WHITEBOX_PRIMITIVES_SCENE_DOCUMENT_VERSION 2026-04-15 09:18:51 +02:00
fd47dec943 Update interaction link creation and add new scene document version 2026-04-15 09:17:50 +02:00
dd76bae073 Add validation for radial prism, cone, and torus side counts in scene document 2026-04-15 09:12:20 +02:00
84edd3ee26 Add normalization functions for brush properties 2026-04-15 09:12:09 +02:00
6a6637f5b6 Remove unused constant DEFAULT_TORUS_BRUSH_SIZE 2026-04-15 09:11:57 +02:00
1c752b0101 Add support for cone and torus brush types in migrate-scene-document.ts 2026-04-15 09:11:48 +02:00