Skip to content

Releases: libtcod/libtcod

1.24.0

26 May 12:19
1.24.0
eb6587a
Compare
Choose a tag to compare

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

09 Nov 20:14
1.23.1
168ab8c
Compare
Choose a tag to compare

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

22 Oct 07:19
1.23.0
8fa20ee
Compare
Choose a tag to compare

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

10 Sep 04:41
1.22.3
38110b9
Compare
Choose a tag to compare

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

26 Aug 19:04
1.22.2
394bd6f
Compare
Choose a tag to compare

Fixed

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

1.22.1

24 Aug 22:50
1.22.1
1272977
Compare
Choose a tag to compare

Fixed

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

1.22.0

24 Aug 17:35
1.22.0
cd28fc3
Compare
Choose a tag to compare

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 legacy

11 Aug 12:29
1.5.0
Compare
Choose a tag to compare

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 legacy

11 Aug 12:27
1.4.3-rc
Compare
Choose a tag to compare

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 legacy

11 Aug 12:26
1.4.2
Compare
Choose a tag to compare

This release archives the older official builds of libtcod.

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