Enum MapHeaderFlags
Map header flag bits (SMMapHeader.flags).
[Flags]
public enum MapHeaderFlags : uint
Fields
AdtHasBigAlpha = 4Terrain shader 2 (_env): 4096-byte uncompressed MCAL alpha maps instead of 2048.
AdtHasDoodadrefsSortedBySizeCat = 8ADT MCRF/MCRD doodad references are sorted by size category.
AdtHasHeightTexturing = 128Terrain shader 6: alpha maps are influenced by the _h textures and MTXP (MoP+); also 4096-byte uncompressed MCAL entries.
AdtHasMccv = 2ADTs carry MCCV vertex colors (WotLK+); with this set every ADT of the map must have MCCV.
AdtHasMclv = 16ADTs carry the second MCLV color layer (Cata+; deprecated and forbidden in 8.x).
AdtHasUpsideDownGround = 32Flip the ground upside down to create a ceiling (Cata+).
HasMaid = 512The WDT carries MAID: ADTs load by FileDataID instead of path (8.1.0.28294+).
LoadLodAdt = 256Load _lod.adt (Legion+); implicitly sets 0x8000.
UsesGlobalMapObj = 1A WMO-only map: one global map object (MWMO/MODF), no terrain tiles.
unk_0x1000 = 4096Unknown.
unk_0x2000 = 8192Unknown.
unk_0x40 = 64Unknown (MoP+); seen on Firelands2.wdt before Legion.
unk_0x400 = 1024Unknown.
unk_0x4000 = 16384Unknown.
unk_0x800 = 2048Unknown.
unk_0x8000 = 32768Affects _lod.adt rendering; implicitly set for the continent maps (Legion+). Without it (or 0x100) distant map textures and LOD do not render.