wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wdl Namespace Reference

Namespaces

namespace  chunks
 WDL chunk binary structs (per-tile heightmaps, hole and ocean masks, low-resolution placements, sky scenes).
namespace  detail

Classes

struct  WDLBase
 The version-agnostic base of every WDL<V> (welded as "WDL"). More...

Typedefs

template<ClientVersion V>
using WDL = detail::WDL<canonicalVersion(V, WdlPivots, WdlVersions)>
 A WDL low-resolution heightmap — the canonicalizing face of detail::WDL: every client version maps to its range's first grid version (WdlPivots), so five instantiations serve all eleven releases.

Variables

constexpr std::uint32_t WdlVersion18 = 18
 The WDL format version every supported client uses (MVER payload).
constexpr std::size_t WdlTileSlots = 64 * 64
 The MAOF tile table's slot count: one per map tile of the 64x64 grid, row-major, a zero offset meaning the tile has no heightmap.
constexpr std::array WdlVersions
 The versions WDL is instantiated (and welded) for: every targeted last-minor-of-major release, in release order.
constexpr std::array WdlPivots {builds::TBC, builds::Legion, builds::BfA, builds::SL, builds::TWW}
 WDL: every chunk-set change point (see the file comment).

Typedef Documentation

◆ WDL

A WDL low-resolution heightmap — the canonicalizing face of detail::WDL: every client version maps to its range's first grid version (WdlPivots), so five instantiations serve all eleven releases.

Definition at line 276 of file wdl.hpp.

Variable Documentation

◆ WdlPivots

std::array wowlib::formats::wdl::WdlPivots {builds::TBC, builds::Legion, builds::BfA, builds::SL, builds::TWW}
inlineconstexpr

WDL: every chunk-set change point (see the file comment).

Definition at line 53 of file boundaries.hpp.

◆ WdlTileSlots

std::size_t wowlib::formats::wdl::WdlTileSlots = 64 * 64
inlineconstexpr

The MAOF tile table's slot count: one per map tile of the 64x64 grid, row-major, a zero offset meaning the tile has no heightmap.

Definition at line 34 of file boundaries.hpp.

Referenced by wowlib::formats::wdl::detail::WDL< V >::patchFile(), and wowlib::formats::wdl::detail::WDL< V >::validateExtra().

◆ WdlVersion18

std::uint32_t wowlib::formats::wdl::WdlVersion18 = 18
inlineconstexpr

The WDL format version every supported client uses (MVER payload).

Definition at line 30 of file boundaries.hpp.

Referenced by wowlib::formats::wdl::detail::WDL< V >::read().

◆ WdlVersions

std::array wowlib::formats::wdl::WdlVersions
inlineconstexpr
Initial value:
{
}
constexpr ClientVersion Shadowlands
constexpr ClientVersion Tww
constexpr ClientVersion Bfa
constexpr ClientVersion Mop
constexpr ClientVersion Wod
constexpr ClientVersion Tbc
constexpr ClientVersion Vanilla
constexpr ClientVersion Legion
constexpr ClientVersion Dragonflight
constexpr ClientVersion Cata
constexpr ClientVersion Wotlk

The versions WDL is instantiated (and welded) for: every targeted last-minor-of-major release, in release order.

Definition at line 38 of file boundaries.hpp.

Referenced by wowlib::audit::detail::FormatDrivers::wdl().