Kantele.MiniMap (ExVenture v0.1.0) View Source
Structures and functions for dealing with minimaps of zones and rooms
A MiniMap in the text stream looks like this:
[ ]
|
[ ]-[ ]-[ ]-[ ]
|
[ ]-[ ]
Link to this section Summary
Functions
Turns a MiniMap struct into an ASCII map
Expand the min/max x/y/z to a Map that contains coordinates for all possible spaces
Fill in the expanded map with characters representing the real room
Get the min and max x,y,z of a map
Zoom the mini_map to visible rooms at the current location
Link to this section Functions
Turns a MiniMap struct into an ASCII map
Expand the min/max x/y/z to a Map that contains coordinates for all possible spaces
The resulting map is a set of coordinates pointing at empty strings to be filled in.
Fill in the expanded map with characters representing the real room
Get the min and max x,y,z of a map
Zoom the mini_map to visible rooms at the current location