From f64045ca6245ed853f4d8ac1bcce6f4fe13068ce Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 08:16:10 +0800 Subject: feat(desktop): 固化样例世界与昼光呈现 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [变更性质] - this commit adds a deterministic desktop bootstrap for the playable sample world. [新增功能] - this commit places the avatar away from the home doorway and separates villagers from scene footprints. - this commit provides a warm high-contrast daylight tint and exits autoplay after SampleComplete. [实现方案] - this commit isolates desktop spawn policy in WorldBootstrap and routes game startup and sample tests through it. - this commit adds regression coverage for spawn positions, spacing, determinism, and daylight tint. [影响范围] - this commit affects the Desktop application and Desktop tests only. - this commit preserves Kernel behavior and does not include unrelated worktree changes. --- src/LivingVillage.Desktop.Tests/SampleTests.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LivingVillage.Desktop.Tests/SampleTests.fs') diff --git a/src/LivingVillage.Desktop.Tests/SampleTests.fs b/src/LivingVillage.Desktop.Tests/SampleTests.fs index 4c833b5..ae81b64 100644 --- a/src/LivingVillage.Desktop.Tests/SampleTests.fs +++ b/src/LivingVillage.Desktop.Tests/SampleTests.fs @@ -12,7 +12,7 @@ type SampleTests () = let areEqual (expected: 'T) (actual: 'T) = Assert.AreEqual<'T>(expected, actual) - let freshWorld () = Sim.initialWorldN 42UL Sim.npcCount + let freshWorld () = WorldBootstrap.initialWorld 42UL Sim.npcCount let freshView (world: World) = M5Interaction.refreshPrompt world M5Interaction.initial -- cgit v1.2.3