Tags: libtcod/libtcod
Tags
1.24.0 - New `TCODImage::getSize()` overload which returns a value instead of taking output references. - New `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. - Added `tcod::ImagePtr`. - Added functions to manually set context pixel-to-tile conversions in cases where it can't be set automatically. - New overloads to `TCODBsp` which can take function callbacks directly. - `TCODRandom` is now a movable, non-copyable object. - `TCODConsole` can now be default constructed. - Constructing `TCODConsole` from `tcod::ConsolePtr` no longer causes a bad free. - Memory leak when loading images with `TCODZip`. - Memory leak with tileset atlases belonging to contexts.
1.23.1 - Code Page 437: Character 0x7F is now assigned to 0x2302 (HOUSE). [#134](#134) - ``TCOD_RENDERER_GLSL``, ``TCOD_RENDERER_OPENGL``, ``TCOD_RENDERER_SDL``, and ``TCOD_RENDERER_OPENGL2`` now alias to the ``TCOD_RENDERER_SDL2`` renderer. [#137](#137) - All color constants have been deprecated. - Forced all renderers to ``TCOD_RENDERER_SDL2`` to fix rare graphical artifacts with OpenGL. [#112](#112) [#83](#83) - Removed GLAD dependencies.
1.23.0 - Added new C print functions: ``TCOD_printf_rgb``, ``TCOD_printn_rgb``, and ``TCOD_vprintf_rgb``. [#133](#133) - Added a default constructor for ``TCODImage``. - Functions getting the size of an image now handle null pointers consistently. - Will no longer try to include ``<utf8proc.h>`` when Unicode support is disabled.
1.22.3 - Libtcod can now be built without utf8proc by passing the `-LIBTCOD_UTF8PROC=disable` flag to CMake. - Fixed double present bug in non-context flush functions. This was affecting performance and also caused a screen flicker whenever the global fade color was active.
1.22.0 - Libtcod can now be built without zlib by passing the `-DLIBTCOD_ZLIB=disable` flag to CMake or by setting `CMAKE_DISABLE_FIND_PACKAGE_ZLIB=1`. - Libtcod can now be built without PNG support by passing the `-DLIBTCOD_LODEPNG=disable` flag to CMake. - Added context screen capture functions to take screenshots into memory instead of a file. - The OpenGL2 renderer now defaults to the nearest filter unless `SDL_HINT_RENDER_SCALE_QUALITY` is set otherwise. This makes the renderer consistent with the SDL2 renderer. - Parser function parameters are more const correct. - SDL2 console rendering is no longer likely to stack overflow. - Fixed regression where new keywords would prevent older config files from loading. - Exceptions were not correctly thrown on errors when reading colors from streams.
PreviousNext