wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
map_placements.hpp File Reference

The map-placement binary records SHARED across the world file formats (namespace wowlib::formats::common, like the math primitives): SMMapObjDef places a WMO on a map (WDT MODF, WDL MODF, ADT MODF) and SMDoodadDef places an M2 (ADT MDDF, WDL MLDD), under their canonical client names. More...

#include <cstdint>
#include <welder/vocabulary.hpp>
#include <wowlib/formats/common/types.hpp>
Include dependency graph for map_placements.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wowlib::formats::common::SMMapObjDef
struct  wowlib::formats::common::SMDoodadDef

Namespaces

namespace  wowlib
namespace  wowlib::formats
namespace  wowlib::formats::common

Enumerations

enum class  wowlib::formats::common::MapObjDefFlags : std::uint16_t {
  wowlib::formats::common::Destroyable = 0x1 , wowlib::formats::common::UseLod , wowlib::formats::common::HasScale = 0x4 , wowlib::formats::common::EntryIsFdid = 0x8 ,
  wowlib::formats::common::UseSetsFromMwds = 0x80
}
 WMO placement flag bits (SMMapObjDef.flags). More...
enum class  wowlib::formats::common::DoodadDefFlags : std::uint16_t {
  wowlib::formats::common::Biodome = 0x1 , wowlib::formats::common::Shrubbery = 0x2 , wowlib::formats::common::Unk4 = 0x4 , wowlib::formats::common::Unk8 = 0x8 ,
  wowlib::formats::common::Unk10 = 0x10 , wowlib::formats::common::LiquidKnown = 0x20 , wowlib::formats::common::EntryIsFdid = 0x40 , wowlib::formats::common::Unk100 = 0x100 ,
  wowlib::formats::common::AcceptProjTextures = 0x1000
}
 M2 placement flag bits (SMDoodadDef.flags). More...

Detailed Description

The map-placement binary records SHARED across the world file formats (namespace wowlib::formats::common, like the math primitives): SMMapObjDef places a WMO on a map (WDT MODF, WDL MODF, ADT MODF) and SMDoodadDef places an M2 (ADT MDDF, WDL MLDD), under their canonical client names.

Both are trivially copyable with exact on-disk layout.

Definition in file map_placements.hpp.