wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
audit Directory Reference
Directory dependency graph for audit:

Files

 
detail.hpp
 Internals of the round-trip audit (namespace wowlib::audit::detail): the per-format driver class — one static member per format, each defined in its own translation unit so the version matrices compile in parallel — plus the small shared primitives (outcome construction, byte-divergence description, unknown-chunk tallying, and the runtime-to-compile-time version dispatch).
 
roundtrip.cpp
 
roundtrip.hpp
 The round-trip audit surface (namespace wowlib::audit): one welded entry point that read->write->compares a single client file with the matching format entity and reports the outcome as a value instead of raising — built for exhaustive sweeps over FileSystem::enumeratePaths() driven from the scripting side, one file per call.
 
roundtrip_adt.cpp
 The ADT round-trip driver: the write -> parse -> write-again stability compare of one terrain tile (ADT is not byte-perfect — alpha maps are re-encoded and the MHDR/MCIN/MCNK offset tables re-derived), modeled on tests/integration/test_adt_roundtrip.cpp with the reflection diff replaced by the write-stability byte compare and returned outcomes in place of Catch2 assertions.
 
roundtrip_blp.cpp
 The BLP round-trip driver: byte-perfect rewrite of one texture, modeled on tests/integration/test_blp_roundtrip.cpp with returned outcomes in place of Catch2 assertions.
 
roundtrip_m2.cpp
 The M2 round-trip driver: the assembly read (satellites baked in) followed by write -> parse -> write-again stability compares of the body, the skel blocks and every skin — offset formats carry no byte-perfect promise, so stability replaces the round-trip tests' reflection diff.
 
roundtrip_wdt_wdl.cpp
 The WDT and WDL round-trip drivers: byte-perfect rewrite of one main .wdt or .wdl file, modeled on tests/integration/test_wdt_wdl_roundtrip.cpp with returned outcomes in place of Catch2 assertions (the WDT satellite files are separate formats, filtered to skipped:aux-wdt by the classifier).
 
roundtrip_wmo.cpp
 The WMO round-trip driver: byte-perfect rewrite of one root and all its group files, modeled on tests/integration/test_wmo_roundtrip.cpp with returned outcomes in place of Catch2 assertions.