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

Context a sub-chunk codec needs to read one MCNK sub-chunk: the (already parsed) header, the sibling texture layers (MCAL indexes them), the tile alpha bit depth and whether to repair the 63x63 "unfixed" edge form. More...

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

Public Attributes

const SMChunk & header
const std::vector< SMLayer > & layers
AlphaFormat af
bool fix
FileKind kind

Detailed Description

Context a sub-chunk codec needs to read one MCNK sub-chunk: the (already parsed) header, the sibling texture layers (MCAL indexes them), the tile alpha bit depth and whether to repair the 63x63 "unfixed" edge form.

Definition at line 160 of file map_chunk.hpp.

Member Data Documentation

◆ af

AlphaFormat wowlib::formats::adt::detail::MapChunkReadCtx::af

Definition at line 163 of file map_chunk.hpp.

Referenced by wowlib::formats::adt::detail::AlphaCodec::read().

◆ fix

bool wowlib::formats::adt::detail::MapChunkReadCtx::fix

◆ header

const SMChunk& wowlib::formats::adt::detail::MapChunkReadCtx::header

Definition at line 161 of file map_chunk.hpp.

◆ kind

FileKind wowlib::formats::adt::detail::MapChunkReadCtx::kind

Definition at line 165 of file map_chunk.hpp.

◆ layers

const std::vector<SMLayer>& wowlib::formats::adt::detail::MapChunkReadCtx::layers

Definition at line 162 of file map_chunk.hpp.


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