wowlib
0.0.0
Read & write World of Warcraft client files — a C++26 core
Toggle main menu visibility
Loading...
Searching...
No Matches
convert.hpp
Go to the documentation of this file.
1
#pragma once
2
11
12
#include <
wowlib/formats/convert.hpp
>
13
#include <
wowlib/formats/m2/m2.hpp
>
14
15
namespace
wowlib::formats
{
19
template
<>
20
inline
constexpr
auto
SupportedVersions<m2::M2>
=
m2::M2Versions
;
23
template
<>
24
inline
constexpr
auto
SupportedVersions<m2::detail::M2>
=
m2::M2Versions
;
25
27
template
<>
28
inline
constexpr
auto
VersionPivots<m2::M2>
=
m2::M2AssemblyPivots
;
29
template
<>
30
inline
constexpr
auto
VersionPivots<m2::detail::M2>
=
m2::M2AssemblyPivots
;
31
32
// convert_step(const m2::M2<from>&, VersionTag<to>) overloads go here as
33
// each adjacent-version pair's layout translation is implemented (track
34
// timeline splitting/merging, skin embedding/extraction, particle record
35
// migration); until then only identity conversion succeeds.
36
}
convert.hpp
Version conversion scaffolding: convert<to>() composes hand-written adjacent-version steps along a fo...
m2.hpp
The M2 entity (namespace wowlib::formats::m2): a whole model with its satellite files baked in,...
wowlib::formats::m2::M2AssemblyPivots
constexpr std::array M2AssemblyPivots
The M2 assembly: the union of the body, skin and stream pivots plus the bare-MD20 read gate (M2Chunke...
Definition
boundaries.hpp:203
wowlib::formats::m2::M2Versions
constexpr std::array M2Versions
The versions M2 is instantiated (and welded) for: every targeted last-minor-of-major release,...
Definition
boundaries.hpp:96
wowlib::formats
Definition
adt.hpp:68
wowlib::formats::VersionPivots
constexpr auto VersionPivots
The canonicalization pivots of format template E (the assembly's pivot list from its boundaries heade...
Definition
convert.hpp:51
wowlib::formats::SupportedVersions
constexpr auto SupportedVersions
The ordered release list of format template E.
Definition
convert.hpp:43
src
wowlib
formats
m2
convert.hpp
Generated by
1.17.0