acdream/src/AcDream.Core
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 Vertex.TerrainLayer + LandblockMesh layer map 2026-04-10 20:16:25 +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.csproj chore(core): scaffold World/Meshing/Textures + add BCnEncoder.Net 2026-04-10 17:49:14 +02:00