Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 21 of 44

8.3.1

Fixed

- libtcodpy key and mouse functions will no longer accept the wrong types.
- The `new_struct` method was not being called for libtcodpy's custom parsers.

8.3.0

Added

- Added BSP traversal methods in tcod.bsp for parity with libtcodpy.

Deprecated

- Already deprecated bsp functions are now even more deprecated.

8.2.0

Added

- New layout `tcod.FONT_LAYOUT_CP437`.

Changed

- Updated libtcod to 1.10.2
- `tcod.console_print_frame` and `Console.print_frame` now support Unicode
strings.

Deprecated

- Deprecated using bytes strings for all printing functions.

Fixed

- Console objects are now initialized with spaces. This fixes some blit
operations.
- Unicode code-points above U+FFFF will now work on all platforms.

8.1.1

Fixed

- Printing a frame with an empty string no longer displays a title bar.

8.1.0

Changed

- Heightmap functions now support 'F_CONTIGUOUS' arrays.
- `tcod.heightmap_new` now has an `order` parameter.
- Updated SDL to 2.0.9

Deprecated

- Deprecated heightmap functions which sample noise grids, this can be done
using the `Noise.sample_ogrid` method.

8.0.0

Changed

- The default renderer can now be anything if not set manually.
- Better error message for when a font file isn't found.

Page 21 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.