Modules§
Structs§
- Adt
- Main ADT structure that holds all the parsed data for a terrain file
- AdtBuilder
- Builder for creating new ADT files
- AdtStreamer
- Streaming ADT parser that processes chunks one at a time
- Chunk
Header - Common chunk header structure for all chunk types
- Doodad
Placement - Doodad placement information
- Liquid
Vertex - Liquid vertex data for pre-WotLK
- Mamp
Chunk - MAMP chunk - texture amplifier (Cataclysm+) This chunk is exactly 4 bytes and contains a single u32 value
- Mcal
Subchunk - MCAL subchunk - alpha maps
- Mccv
Subchunk - MCCV subchunk - vertex colors
- Mcin
Chunk - MCIN chunk - map chunk index information
- Mclq
Subchunk - MCLQ subchunk - legacy liquid data (pre-WotLK)
- Mcly
Subchunk - MCLY subchunk - texture layer information
- Mcnk
Chunk - MCNK chunk - map chunk data
- Mcnk
Entry - Entry in MCIN chunk for a map chunk
- Mcnk
Texture Layer - MCNK texture layer information
- Mcnr
Subchunk - MCNR subchunk - normal vectors
- Mcrd
Subchunk - MCRD subchunk - map object references
- Mcrf
Subchunk - MCRF subchunk - doodad references
- Mcsh
Subchunk - MCSH subchunk - shadow map
- Mcvt
Subchunk - MCVT subchunk - height map vertices
- Mddf
Chunk - MDDF chunk - doodad placement information
- Merge
Options - Options for merging ADT files
- Mfbo
Chunk - MFBO chunk - flight boundaries (TBC+)
- Mh2o
Chunk - MH2O chunk - water data (WotLK+)
- Mh2o
Data - Water data for a single chunk
- Mh2o
Entry - Water data for a single chunk
- Mh2o
Instance - MH2O water instance (layer)
- Mh2o
Vertex - Water vertex data
- Mhdr
Chunk - MHDR chunk - header containing offsets to other chunks
- Mmdx
Chunk - MMDX chunk - model filenames
- Mmid
Chunk - MMID chunk - model indices
- Model
Export Options - Options for 3D model export
- Model
Placement - Model placement information
- Modf
Chunk - MODF chunk - model placement information
- Mtex
Chunk - MTEX chunk - texture filenames
- Mtfx
Chunk - MTFX chunk - texture effects (Cataclysm+)
- Mtxp
Chunk - MTXP chunk - texture parameters (MoP+) Variable size chunk containing texture transformation parameters
- Mver
Chunk - MVER chunk - file version information
- Mwid
Chunk - MWID chunk - WMO indices
- Mwmo
Chunk - MWMO chunk - WMO filenames
- Normal
MapOptions - Options for normal map extraction
- Texture
Effect - Texture effect data
- Texture
Layer - Texture layer information
- Texture
Params - Texture transformation parameters
- Validation
Report - Report of validation results
- Water
Vertex - Individual water vertex
- Water
Vertex Data - Water vertex information
Enums§
- AdtError
- Error types for ADT parser
- AdtVersion
- Represents the different World of Warcraft versions that ADT files can be from
- Mcly
Flags - MCLY texture layer flags
- Model
Format - Format for 3D model export
- Normal
Channel Encoding - Normal map channel encoding
- Normal
MapFormat - Format for normal map export
- Streamed
Chunk - A chunk read from the stream
- Validation
Level - Validation levels
- Water
Level Data - Water height information
Functions§
- convert_
adt - Convert an ADT from one version to another
- convert_
alpha_ maps - Convert alpha maps between different versions
- convert_
area_ id - Convert area IDs between different versions
- convert_
mcnk - Convert a MCNK chunk from one version to another
- convert_
mcnk_ chunks - Convert multiple MCNK chunks
- convert_
texture_ layers - Convert texture layers from one version to another
- count_
matching_ chunks - Count terrain chunks matching a predicate
- create_
flat_ terrain - Helper function to create a flat terrain
- export_
to_ 3d - Export an ADT to a 3D model format
- extract_
normal_ map - Extract a normal map from an ADT file
- extract_
portion - Extract a portion of an ADT into a new ADT
- iterate_
mcnk_ chunks - Iterate over all MCNK chunks in an ADT file
- merge_
adts - Merge multiple ADT files into one
- merge_
chunk - Merge a specific chunk from one ADT into another
- open_
adt_ stream - Open an ADT file for streaming
- validate_
adt - Validate an ADT file
Type Aliases§
- Result
- Result type alias for ADT parser operations