Tags: libtcod/libtcod
Tags
2.1.0 - `TCODHeightMap` is now safe to copy/move and can be swapped. - These functions have been deprecated by replacements: - `TCOD_console_set_char` -> `TCOD_console_put_rgb` - `TCOD_console_set_char_background` -> `TCOD_console_put_rgb` - `TCOD_console_set_char_foreground` -> `TCOD_console_put_rgb` - `TCOD_console_put_char` -> `TCOD_console_put_rgb` - `TCOD_console_put_char_ex` -> `TCOD_console_put_rgb` - `TCOD_console_printf` -> `TCOD_printf_rgb` - `TCOD_console_printf_ex` -> `TCOD_printf_rgb` - `TCOD_console_printf_rect` -> `TCOD_printf_rgb` - `TCOD_console_printf_rect_ex` -> `TCOD_printf_rgb` - `TCOD_console_printf_frame` -> `TCOD_console_draw_frame_rgb` & `TCOD_printf_rgb` - `TCOD_console_printn_frame` -> `TCOD_console_draw_frame_rgb` & `TCOD_printn_rgb` - `TCOD_console_vprintf` -> `TCOD_vprintf_rgb` - `TCOD_console_vprintf_rect` -> `TCOD_vprintf_rgb` - `TCOD_console_rect` -> `TCOD_console_draw_rect_rgb` - `TCOD_console_hline` -> `TCOD_console_draw_rect_rgb` - `TCOD_console_vline` -> `TCOD_console_draw_rect_rgb` - `TCODHeightMap::copy` was replaced by value assignment. - Fixed crashes on screen capture. - Logged messages were missing a trailing newline.
2.0.0 - Cmake scripts now have the `LIBTCOD_INSTALL` option to disable installation. [#153](#153) - Added `TCOD_renderer_init_sdl3` which takes `SDL_PropertiesID` parameters. - Switched from SDL2 to SDL3. - Several functions have been moved inline, this will break the ABI. - Provisional gui tools moved into the `tcod::gui` namespace. - `TCODConsole::data` changed from protected to private. - Renamed utility macros such as `MAX`, `MIN`, `ABS`, `CLAMP` and `LERP` to use `TCOD_` prefix. - `TCOD_renderer_init_sdl2` `renderer_flags` parameter changed to just `vsync`. - Libtcod library versions are no longer ABI compatible. Versions indicate API compatibility instead. - `TCOD_ContextParams.tcod_version` is deprecated and should no longer be set. - `const` was missing from `TCOD_sys_update_char` image parameter. - Prevent key modifiers from getting stuck when the root console is reinitialized. - Fixed crash on `TCODPath` and `TCODDijkstra` move operations. [#159](#159) - Removed long deprecated `libtcodpy` Python package.
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