uint32_tmcin;// MCIN*, Cata+: obviously gone. probably all offsets gone, except mh2o(which remains in root file).
uint32_tmtex;// MTEX*
uint32_tmmdx;// MMDX*
uint32_tmmid;// MMID*
uint32_tmwmo;// MWMO*
uint32_tmwid;// MWID*
uint32_tmddf;// MDDF*
uint32_tmodf;// MODF*
uint32_tmfbo;// MFBO* this is only set if flags & mhdr_MFBO.
uint32_tmh2o;// MH2O*
uint32_tmtxf;// MTXF*
uint8_tmamp_value;// Cata+, explicit MAMP chunk overrides data
uint8_tpadding[3];
uint32_tunused[3];
};
structSMChunkInfo
{
uint32_toffset;// absolute offset.
uint32_tsize;// the size of the MCNK chunk, this is refering to.
uint32_tflags;// always 0. only set in the client., FLAG_LOADED = 1
union
{
charpad[4];
uint32_tasyncId;// not in the adt file. client use only
};
};
structSMDoodadDef
{
uint32_tnameId;// references an entry in the MMID chunk, specifying the model t // if flag mddf_entry_is_filedata_id is set, a file data id instead, ignoring MMID.
uint32_tuniqueId;// this ID should be unique for all ADTs currently loaded. Best, they are unique for the whole map. Blizzar // these unique for the whole game.
C3Vectorposition;// This is relative to a corner of the map. Subtract 17066 from the non vertical values and you should start t // something that makes sense. You'll then likely have to negate one of the non vertical values in wha // coordinate system you're using to finally move it into place.
C3Vectorrotation;// degrees. This is not the same coordinate system orientation like the ADT itself! (see history.)
uint16_tscale;// 1024 is the default size equaling 1.0f.
uint16_tflags;// values from enum MDDFFlags.
};
structSMMapObjDef
{
uint32_tnameId;// references an entry in the MWID chunk, specifying the model to use.
uint32_tuniqueId;// this ID should be unique for all ADTs currently loaded. Best, they are unique for the whole map.
C3Vectorposition;
C3Vectorrotation;// same as in MDDF.
CAaBoxextents;// position plus the transformed wmo bounding box. used for defining if they are rendered as well as collision.
uint16_tflags;// values from enum MODFFlags.
uint16_tdoodadSet;// which WMO doodad set is used. Traditionally references WMO#MODS_chunk, if modf_use_sets_from_mwds is set, references #MWDR_.28Shadowlands.2B.29
uint16_tnameSet;// which WMO name set is used. Used for renaming goldshire inn to northshire inn while using the same model.
uint16_tscale;// Legion+: scale, 1024 means 1 (same as MDDF). Padding in 0.5.3 alpha.