C# Class TerrainDisplay.MPQ.ADT.ADTChunkParser

Show file Open project: WCell/WCell-Terrain Class Usage Examples

Public Methods

Method Description
Process ( BinaryReader fileReader, uint mcnkOffset, ADT parent ) : ADTChunk

Private Methods

Method Description
ReadMCAL ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCCV ( BinaryReader br, ADTChunk chunk ) : void
ReadMCLY ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCNK ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCNR ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCRF ( BinaryReader fileReader, ADTChunk chunk ) : void

A list of indices into the Tile's referenced M2s and WMOs that tells which ones need to be checked for collision when doing collision checks on this chunk.

ReadMCSE ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCSH ( BinaryReader fileReader, ADTChunk chunk ) : void
ReadMCVT ( BinaryReader fileReader, ADTChunk chunk ) : void

Reads the chunk's raw height-map with both inner and outer sets

Method Details

Process() public static method

public static Process ( BinaryReader fileReader, uint mcnkOffset, ADT parent ) : ADTChunk
fileReader System.IO.BinaryReader
mcnkOffset uint
parent ADT
return ADTChunk