Expand description
VIS ASCII visibility support. VIS ASCII reader and writer.
VIS (visibility) resources define which rooms are visible from each other and are used for renderer culling decisions.
§Format Layout
<observer_room> <child_count>
<visible_room>
<visible_room>
<observer_room> <child_count>
...Empty lines are ignored. Room names are treated case-insensitively and are normalized to lowercase in-memory. Text is decoded/encoded as Windows-1252.
Structs§
- Vis
- In-memory VIS graph.
Enums§
- VisError
- Errors produced while parsing or serializing VIS ASCII data.
Functions§
- read_
vis - Reads a VIS graph from a reader.
- read_
vis_ from_ bytes - Reads a VIS graph from bytes.
- write_
vis - Writes a VIS graph to a writer.
- write_
vis_ to_ vec - Serializes a VIS graph to bytes.