acdream/tests/AcDream.Content.Tests
Erik acf172469e feat(content): S1 exact CellStruct surface-index construction, recipe 8
Campaign OVERHAUL S1 chunk A. Retail's D3DPolyRender::ConstructMesh
@0x0059DFA0 is ported as one pure Core descriptor plus the Content
extraction that consumes it:

- side candidates come only from sides_type (0/1/2); NoPos/NoNeg mean
  UV-array absence only and never suppress a side (CPolygon::UnPack
  @0x00538650);
- ST_DOUBLE's second copy is reversed with a negative normal; ST_BOTH's
  negative side has a negative normal and forward fan order (reverse is on
  the copy ordinal, not the side ordinal);
- an absent UV-index array is UV index 0 (ConstructMesh @0x0059E691
  xor ebx,ebx, arbitrated on the PDB-paired binary); copyVert @0x0059C080
  zeroes coordinates only for a negative or out-of-range index or a vertex
  without UVs, never by clamping to slot 0;
- the subset owner is the source surface-array index, emitted in ascending
  slot order with retail's per-slot mask (2 > 8 > 4 precedence, positive
  surface OR on signed stippling > 0);
- built-EnvCell admission is (Surface.Type & (BASE1_IMAGE|BASE1_CLIPMAP))
  != 0 after surface resolution (DrawEnvCell @0x0059F170 -> DrawMesh
  @0x0059D4A0 arg4=1); untextured slots are constructed but not emitted;
- cell batches carry SourceSurfaceIndex, RetailSurfaceMask, RawSurfaceType,
  IsCellShell, and fixed clockwise raster cull (RenderMeshSubset
  @0x0059CA10); authored sides_type is no longer stored as GPU cull.

Prepared-mesh serializer gains the four fields; bake recipe 7 -> 8 with a
FullRebuild migration; pak format stays 2 (pinned). Ordinary GfxObj
extraction is unchanged. AP-234's register row and CellMesh unification
land in chunk B.

Core: 32 descriptor tests. Content: 170/170. Bake: 18/18. Launcher.Core:
365/365 (Lane!=Linux). Solution Release build 0 warnings / 0 errors.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 18:40:33 +02:00
..
CharGen test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
Spells test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
Vfx test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
AcDream.Content.Tests.csproj build: make release restore reproducible 2026-08-18 10:29:00 +02:00
BoundedDatObjectCacheTests.cs perf(diag): per-frame history export + checkpoint LOH/cache counters + soak capped mode (2026-07-24 audit review) 2026-07-24 12:00:30 +02:00
ContentConformanceDats.cs test(pipeline): MP1b - live-vs-pak equivalence suite (dat-gated) 2026-07-05 21:33:32 +02:00
ContractTableReaderInstalledDatTests.cs feat(quest): QT2/QT4 — the contract catalog, and retail's progress column 2026-08-21 14:53:21 +02:00
Crc32Tests.cs fix(pipeline): MP1b review - pak format/reader hardening 2026-07-05 22:08:59 +02:00
DatResolutionPrecedenceTests.cs perf(content): remove exception-driven setup probes 2026-07-24 15:12:21 +02:00
DecodedTextureCacheTests.cs perf(diag): per-frame history export + checkpoint LOH/cache counters + soak capped mode (2026-07-24 audit review) 2026-07-24 12:00:30 +02:00
FlatCollisionAssetSerializerTests.cs feat(content): bake and read flat collision assets 2026-07-25 15:22:08 +02:00
InstalledMagicCatalogFociTests.cs fix(magic): the foci map never loaded — casts demanded full components a focus should waive 2026-08-20 21:28:22 +02:00
InstalledPreparedCollisionCatalogTests.cs checkpoint(render): preserve pre-overhaul investigation state 2026-09-01 18:04:24 +02:00
InstalledSetupBspPrimitiveDispatchTests.cs test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
InstalledSetupCollisionReachabilityTests.cs test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
InstalledStaticAnimatingOmegaTests.cs fix(world): honour SetOmega — the birds and butterflies fly again 2026-08-21 05:42:59 +02:00
Issue334NeftetFormationCellMembershipTests.cs test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
LandblockPhysicsContentBuilderStaticSphereTests.cs fix(physics): S2 — static publication emits authored Spheres as Spheres (AP-155 narrowed) 2026-08-07 08:07:02 +02:00
LayeredPreparedAssetSourceTests.cs feat(launcher): stabilize prepared content updates 2026-08-25 19:17:13 +02:00
MeshExtractorSolidFaceExtractionTests.cs feat(content): S1 exact CellStruct surface-index construction, recipe 8 2026-09-02 18:40:33 +02:00
ObjectMeshDataEquality.cs feat(content): S1 exact CellStruct surface-index construction, recipe 8 2026-09-02 18:40:33 +02:00
ObjectMeshDataSerializerTests.cs feat(content): S1 exact CellStruct surface-index construction, recipe 8 2026-09-02 18:40:33 +02:00
packages.neutral.lock.json build: make release restore reproducible 2026-08-18 10:29:00 +02:00
PakAliasTests.cs feat(content): add physical blob aliases to pak writer 2026-07-24 13:33:53 +02:00
PakEquivalenceTests.cs Optimize prepared asset package v2 2026-08-27 20:09:09 +02:00
PakFormatTests.cs feat(content): S1 exact CellStruct surface-index construction, recipe 8 2026-09-02 18:40:33 +02:00
PakKeyTests.cs feat(content): bake and read flat collision assets 2026-07-25 15:22:08 +02:00
PakRoundTripTests.cs Optimize prepared asset package v2 2026-08-27 20:09:09 +02:00
PakV2Tests.cs Optimize prepared asset package v2 2026-08-27 20:09:09 +02:00
PreparedAssetSourceTests.cs feat(content): S1 exact CellStruct surface-index construction, recipe 8 2026-09-02 18:40:33 +02:00
SharedPreparedCollisionCacheTests.cs feat(headless): share immutable gameplay content 2026-07-27 09:00:48 +02:00
SolidColorTextureCacheTests.cs test: make prerequisite lanes fail honestly 2026-08-18 12:09:41 +02:00
StaticSpherePopulationMeasurementTests.cs test: replace campaign labels with behavior names 2026-08-18 12:25:00 +02:00