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

Cataclysm+ split-file tile chunks (the tile now spans root/_tex0/_obj0/ _obj1/_lod files). More...

#include <wowlib/formats/adt/adt.hpp>

Public Member Functions

bool operator== (const ADTSplit &) const =default

Public Attributes

std::uint32_t mamp = 0
 The MAMP alpha-map downscale value (Cata+): overrides the MHDR inline value; alpha texture size is 64 / (2^value).
bool usesTextureFdids = false
 Whether this tile stores its textures as MDID/MHID FileDataIDs (8.1+ height-texturing maps) rather than MTEX names; set from the chunk present on read and honored on write.
std::vector< SMTextureParams > textureParams
 Height-blend texture parameters (MTXP, MoP+): one per texture.
std::vector< std::byte > obj1Data
std::vector< std::byte > lodData

Detailed Description

Cataclysm+ split-file tile chunks (the tile now spans root/_tex0/_obj0/ _obj1/_lod files).

MTXP is strictly MoP+ but harmless empty on Cata; the _obj1 and _lod files are preserved verbatim this stage (structured in a later one).

Definition at line 109 of file adt.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::adt::detail::ADTSplit::operator== ( const ADTSplit & ) const
default

Member Data Documentation

◆ lodData

std::vector<std::byte> wowlib::formats::adt::detail::ADTSplit::lodData

Definition at line 123 of file adt.hpp.

◆ mamp

std::uint32_t wowlib::formats::adt::detail::ADTSplit::mamp = 0

The MAMP alpha-map downscale value (Cata+): overrides the MHDR inline value; alpha texture size is 64 / (2^value).

Definition at line 112 of file adt.hpp.

◆ obj1Data

std::vector<std::byte> wowlib::formats::adt::detail::ADTSplit::obj1Data

Definition at line 121 of file adt.hpp.

◆ textureParams

std::vector<SMTextureParams> wowlib::formats::adt::detail::ADTSplit::textureParams

Height-blend texture parameters (MTXP, MoP+): one per texture.

Definition at line 119 of file adt.hpp.

◆ usesTextureFdids

bool wowlib::formats::adt::detail::ADTSplit::usesTextureFdids = false

Whether this tile stores its textures as MDID/MHID FileDataIDs (8.1+ height-texturing maps) rather than MTEX names; set from the chunk present on read and honored on write.

Definition at line 115 of file adt.hpp.


The documentation for this struct was generated from the following file: