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
9
12
13namespace wowlib::formats {
16 template <>
21 template <>
23
25 template <>
26 inline constexpr auto VersionPivots<adt::ADT> = adt::AdtPivots;
27 template <>
29
30 // convert_step(const adt::ADT<from>&, VersionTag<to>) overloads go here as
31 // each adjacent-version pair's chunk-set translation is implemented; until
32 // then only identity conversion (from == to) succeeds.
33}
The ADT terrain-tile entity (namespace wowlib::formats::adt): ADT<V>, one map tile,...
Version conversion scaffolding: convert<to>() composes hand-written adjacent-version steps along a fo...
constexpr std::array AdtVersions
The versions ADT is instantiated (and welded) for: every targeted last-minor-of-major release,...
constexpr std::array AdtPivots
ADT<V> assembly content pivots — only boundaries that change what the tile CURRENTLY carries: TBC (MF...
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