acdream/tests/AcDream.Core.Tests
Erik 78ce099440 fix(core): LandblockMesh keys atlas lookup on TerrainInfo.Type
Task 1's subagent used the raw ushort as the map key because the test
used raw ushort 7 as the value. But the atlas map is built from
Region.TerrainInfo.LandSurfaces.TexMerge.TerrainDesc which keys on
TerrainTextureType enum values, extracted from bits 2-6 of the
TerrainInfo ushort per DatReaderWriter's Types/TerrainInfo.cs.

Reverts to using block.Terrain[hi].Type so the Task 2 TerrainAtlas can
actually find matching keys against real dat terrain. The test is
updated to encode Type=7 correctly as (7 << 2) in the raw ushort.
2026-04-10 20:18:09 +02:00
..
Meshing feat(core): add SetupMesh.Flatten for single-level part hierarchy 2026-04-10 18:01:16 +02:00
Plugins refactor(core): harden PluginLoader per code review 2026-04-10 09:57:45 +02:00
Terrain fix(core): LandblockMesh keys atlas lookup on TerrainInfo.Type 2026-04-10 20:18:09 +02:00
Textures fix: heightmap transpose + solid-color + translucency + clipmap textures 2026-04-10 19:37:06 +02:00
World feat(core): add WorldView with 3x3 neighbor landblock computation 2026-04-10 18:02:41 +02:00
AcDream.Core.Tests.csproj feat(core): add PluginLoader with collectible ALC 2026-04-10 09:51:16 +02:00
SmokeTest.cs chore: phase 1 — add Core, Abstractions, App, Tests projects 2026-04-10 09:22:33 +02:00