Table of Contents

Enum MapHeaderFlags

Namespace
WoWLib.Formats.WDT.Root.Chunks
Assembly
WoWLib.dll

Map header flag bits (SMMapHeader.flags).

[Flags]
public enum MapHeaderFlags : uint

Fields

AdtHasBigAlpha = 4

Terrain shader 2 (_env): 4096-byte uncompressed MCAL alpha maps instead of 2048.

AdtHasDoodadrefsSortedBySizeCat = 8

ADT MCRF/MCRD doodad references are sorted by size category.

AdtHasHeightTexturing = 128

Terrain shader 6: alpha maps are influenced by the _h textures and MTXP (MoP+); also 4096-byte uncompressed MCAL entries.

AdtHasMccv = 2

ADTs carry MCCV vertex colors (WotLK+); with this set every ADT of the map must have MCCV.

AdtHasMclv = 16

ADTs carry the second MCLV color layer (Cata+; deprecated and forbidden in 8.x).

AdtHasUpsideDownGround = 32

Flip the ground upside down to create a ceiling (Cata+).

HasMaid = 512

The WDT carries MAID: ADTs load by FileDataID instead of path (8.1.0.28294+).

LoadLodAdt = 256

Load _lod.adt (Legion+); implicitly sets 0x8000.

UsesGlobalMapObj = 1

A WMO-only map: one global map object (MWMO/MODF), no terrain tiles.

unk_0x1000 = 4096

Unknown.

unk_0x2000 = 8192

Unknown.

unk_0x40 = 64

Unknown (MoP+); seen on Firelands2.wdt before Legion.

unk_0x400 = 1024

Unknown.

unk_0x4000 = 16384

Unknown.

unk_0x800 = 2048

Unknown.

unk_0x8000 = 32768

Affects _lod.adt rendering; implicitly set for the continent maps (Legion+). Without it (or 0x100) distant map textures and LOD do not render.