wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
convert.hpp
Go to the documentation of this file.
1#pragma once
2
11
14
15namespace wowlib::formats {
19 template <>
25 template <>
27
29 template <>
30 inline constexpr auto VersionPivots<wdl::WDL> = wdl::WdlPivots;
31 template <>
33
34 // convert_step(const wdl::WDL<from>&, VersionTag<to>) overloads go here as
35 // each adjacent-version pair's chunk-set translation is implemented; until
36 // then only identity conversion (from == to) succeeds, and hasConvertPath()
37 // reports every non-identity pair as unavailable.
38}
Version conversion scaffolding: convert<to>() composes hand-written adjacent-version steps along a fo...
constexpr std::array WdlPivots
WDL: every chunk-set change point (see the file comment).
constexpr std::array WdlVersions
The versions WDL is instantiated (and welded) for: every targeted last-minor-of-major release,...
constexpr auto VersionPivots
The canonicalization pivots of format template E (the assembly's pivot list from its boundaries heade...
Definition convert.hpp:51
constexpr auto SupportedVersions
The ordered release list of format template E.
Definition convert.hpp:43
The WDL entity (namespace wowlib::formats::wdl): a map's low-resolution heightmap — the background mo...