Libtcod Versions Save

A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.

1.24.0

11 months ago

Added

  • 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.

Changes

  • TCODRandom is now a movable, non-copyable object.
  • TCODConsole can now be default constructed.

Fixed

  • 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

1 year ago

Changed

  • Code Page 437: Character 0x7F is now assigned to 0x2302 (HOUSE). #134
  • TCOD_RENDERER_GLSL, TCOD_RENDERER_OPENGL, TCOD_RENDERER_SDL, and TCOD_RENDERER_OPENGL2 now alias to the TCOD_RENDERER_SDL2 renderer. #137

Deprecated

  • All color constants have been deprecated.

Fixed

  • Forced all renderers to TCOD_RENDERER_SDL2 to fix rare graphical artifacts with OpenGL. #112 #83

Removed

  • Removed GLAD dependencies.

1.23.0

1 year ago

Added

  • Added new C print functions: TCOD_printf_rgb, TCOD_printn_rgb, and TCOD_vprintf_rgb. #133
  • Added a default constructor for TCODImage.

Fixed

  • 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

1 year ago

Added

  • Libtcod can now be built without utf8proc by passing the -LIBTCOD_UTF8PROC=disable flag to CMake.

Fixed

  • 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.2

1 year ago

Fixed

  • Libtcod was not linking utf8proc correctly in projects statically built with CMake.

1.22.1

1 year ago

Fixed

  • Fix regression in TCODList when items are removed during iteration.

1.22.0

1 year ago

Added

  • 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.

Changed

  • 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.

Fixed

  • 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.

1.5.0

1 year ago

This release archives the older official builds of libtcod. Thanks to Jice for providing these and Nataraj for asking for them. #119

As of this release the actual latest release is 1.21.0.

1.4.3-rc

1 year ago

This release archives the older official builds of libtcod.

Thanks to Jice for providing these and Nataraj for asking for them. #119

1.4.2

1 year ago

This release archives the older official builds of libtcod.

Thanks to Jice for providing these and Nataraj for asking for them. #119