A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
TCODImage::getSize()
overload which returns a value instead of taking output references.TCODColor::genMap
overload which supports constexpr.TCODZip
has new get
and put
functions with their supported types as overloads.
This includes some types from the new API and C++ types such as std::optional<std::string>
as an alternative to getting a char pointer.TCODZip
can now load and save paths using <filesystem>
types.tcod::ImagePtr
.TCODBsp
which can take function callbacks directly.TCODRandom
is now a movable, non-copyable object.TCODConsole
can now be default constructed.TCODConsole
from tcod::ConsolePtr
no longer causes a bad free.TCODZip
.TCOD_RENDERER_GLSL
, TCOD_RENDERER_OPENGL
, TCOD_RENDERER_SDL
, and TCOD_RENDERER_OPENGL2
now alias to the TCOD_RENDERER_SDL2
renderer. #137
TCOD_printf_rgb
, TCOD_printn_rgb
, and TCOD_vprintf_rgb
. #133
TCODImage
.<utf8proc.h>
when Unicode support is disabled.-DLIBTCOD_ZLIB=disable
flag to CMake or by setting CMAKE_DISABLE_FIND_PACKAGE_ZLIB=1
.-DLIBTCOD_LODEPNG=disable
flag to CMake.SDL_HINT_RENDER_SCALE_QUALITY
is set otherwise.
This makes the renderer consistent with the SDL2 renderer.