18 using namespace wowlib::formats::wdt::occlusion::chunks;
25 =welder::weld_as(
"WDTOcclusion"),
28 A _occ.wdt occlusion satellite (WoD+), abstract over the client
29 version: per-tile low-resolution heightmaps the renderer occludes
30 against. Construct a concrete version with
31 WDTOcclusion.for_version(expansion). See https://wowdev.wiki/WDT.)")
41 template <ClientVersion V>
45 A _occ.wdt occlusion satellite for one client version (WoD+):
46 per-tile occlusion heightmaps. Each MAOI index record locates one
47 tile's 545 int16 values inside the packed heights block. See
48 https://wowdev.wiki/WDT.)")
54 =welder::doc(
"The file format version; 18 like the main WDT.")]]
59 =welder::mark::no_reassign,
61 R
"(The tile index (MAOI): one record per tile with occlusion
62 data, locating its heightmap inside heights. Empty for
64 std::vector<OcclusionIndex> indices;
68 =welder::mark::no_reassign,
70 R
"(The packed heightmap block (MAOH): the tiles' interleaved
71 17x17 + 16x16 int16 grids back to back, addressed by the
72 index records' offsets (same layout as the WDL MARE
73 payload). Empty for WMO-only maps.)")]]
74 std::vector<std::int16_t> heights;
80 template <ClientVersion V>
requires(V >=
builds::WoD)
The chunk framework, vocabulary and engine in one header.
Client version identity, the flavor axis that separates a client's CONTENT version from the engine ge...
Binding-language identities welder's core does not name.
#define WOWLIB_CS_FAMILY_SURFACE
The C# rod's family-surface opt-in, spellable in every build.
constexpr ClientVersion WoD
Warlords of Draenor (any 6.x client).
WDT version grids and per-family canonicalization pivots.
_occ.wdt chunk binary structs (namespace wowlib::formats::wdt::occlusion::chunks).