NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
minimap.hpp File Reference

Contains functions and structures for working with minimap configs. More...

Go to the source code of this file.

Classes

struct  nnl::minimap::MinimapConfig
 Defines settings for a minimap. More...

Namespaces

namespace  nnl
namespace  nnl::minimap
 Contains functions and structures for working with minimap configs.

Functions

bool nnl::minimap::IsOfType (BufferView buffer)
 Tests if the provided file is a minimap config.
MinimapConfig nnl::minimap::Import (BufferView buffer)
 Parses a binary file and converts it to a MinimapConfig struct.
Buffer nnl::minimap::Export (const MinimapConfig &minimap)
 Converts a minimap config to a binary file representation.
std::vector< SPositionnnl::minimap::Convert (const MinimapConfig &minimap, unsigned int texture_width)
 Converts a minimap config to a simplified representation.
MinimapConfig nnl::minimap::Convert (const std::vector< SPosition > &minimap_pos, unsigned int texture_width)
 Converts a list of positions to the in-game minimap config format.

Detailed Description

Contains functions and structures for working with minimap configs.

See also
nnl::minimap::MinimapConfig
nnl::minimap::IsOfType
nnl::minimap::Import
nnl::minimap::Export