Tcod

Latest version: v16.2.2

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 21

1.23.1

Changed
- Code Page 437: Character 0x7F is now assigned to 0x2302 (HOUSE). [134](https://github.com/libtcod/libtcod/pull/134)
- ``TCOD_RENDERER_GLSL``, ``TCOD_RENDERER_OPENGL``, ``TCOD_RENDERER_SDL``, and ``TCOD_RENDERER_OPENGL2`` now alias to the ``TCOD_RENDERER_SDL2`` renderer. [137](https://github.com/libtcod/libtcod/pull/137)

Deprecated
- All color constants have been deprecated.

Fixed
- Forced all renderers to ``TCOD_RENDERER_SDL2`` to fix rare graphical artifacts with OpenGL. [112](https://github.com/libtcod/libtcod/issues/112) [#83](https://github.com/libtcod/libtcod/issues/83)

Removed
- Removed GLAD dependencies.

1.23.0

Added
- Added new C print functions: ``TCOD_printf_rgb``, ``TCOD_printn_rgb``, and ``TCOD_vprintf_rgb``. [133](https://github.com/libtcod/libtcod/pull/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

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

Fixed
- Libtcod was not linking `utf8proc` correctly in projects statically built with CMake.

1.22.1

Fixed
- Fix regression in TCODList when items are removed during iteration.

1.22.0

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.

Page 9 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.