Build packet with raw data
Bake the existing walkmesh by re-creating tiles, islands, path tables, ...
Rebuilds edge data by going through every triangle / vertices
Dump trn data as text
Calculate the fastest route between two islands. The area need to be baked, as it uses existing path tables.
Removes triangles from the mesh, and removes unused vertices and edges accordingly.
Serialize TRN packet data
Serialize the aswm data without compressing it. Useful for debugging raw data.
Set the footstep sound flags for each triangle of the walkmesh
ditto
Set 3d mesh geometry
Converts terrain mesh data to a more generic format.
Translate triangle / edge / vertex indices stored in mesh data.
Check if the ASWM contains legit data
Edge between two triangles
ASWM packet header
Tile or fraction of a tile used for pathfinding through large distances.
Tile with its path table
Mesh Triangle + pre-calculated data + metadata
ASWM packet header
Islands list. See Island
Map tile list Non border tiles have header.vertices_count > 0 || header.edges_count > 0 || header.triangles_count > 0
Width of the map borders in tiles (8 means that 8 tiles will be removed on each side)
Always 31 in TRX files, 15 in TRN files
Number of tiles along Y axis TODO: double check height = Y
Number of tiles along X axis TODO: double check width = X
Width in meters of a terrain tile (most likely to be 10.0)
Compressed walkmesh (only contained inside TRX files) (ASWM)