|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
Shared geometry for the 64x64 terrain map codecs: the last-row/column repair the client applies to "unfixed" maps on load. More...
#include <wowlib/formats/adt/codec.hpp>
Static Protected Member Functions | |
| static void | _fixLastRowCol (std::span< std::uint8_t > map) |
| Repair an "unfixed" map in place: the last row and column are ignored on disk and the client copies their neighbours. | |
Shared geometry for the 64x64 terrain map codecs: the last-row/column repair the client applies to "unfixed" maps on load.
Not instantiated on its own — AlphaMapCodec and ShadowMapCodec derive from it.
|
inlinestaticprotected |
Repair an "unfixed" map in place: the last row and column are ignored on disk and the client copies their neighbours.
Applied on read when the MCNK do_not_fix_alpha flag is clear, so wowlib always holds the full grid.
| map | the 4096-texel edit surface to repair in place. |
Definition at line 50 of file codec.hpp.
References wowlib::formats::adt::detail::AlphaDim.
Referenced by wowlib::formats::adt::detail::AlphaMapCodec::decode(), and wowlib::formats::adt::detail::ShadowMapCodec::decode().