35#ifndef LIBTCOD_TILESET_BDF_HPP_
36#define LIBTCOD_TILESET_BDF_HPP_
const char * TCOD_get_error(void)
Return the last error message.
std::unique_ptr< TCOD_Tileset, TilesetDeleter > TilesetPtr
A unique pointer to a TCOD_Tileset.
Definition tileset.hpp:73
auto load_bdf(const std::filesystem::path &path) -> TilesetPtr
Load a Tileset from a BDF font file.
Definition tileset_bdf.hpp:57
TCOD_Tileset * TCOD_load_bdf(const char *path)
Load a BDF font from a file path.
The libtcod namespace.
Definition bresenham.hpp:157
void check_path(const std::filesystem::path &path)
Throw an exception if the given path does not exist.
Definition error.hpp:78
Load BDF fonts as tilesets.