Tcod

Latest version: v17.1.0

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

Scan your dependencies

Page 18 of 45

10.0.4

Changed

- Now depends on cffi 0.12 or later.

Fixed

- `tcod.console_init_root` and `tcod.console_set_custom_font` will raise
exceptions instead of terminating.
- Fixed issues preventing `tcod.event` from working on 32-bit Windows.

10.0.3

Fixed

- Corrected bounding box issues with the `Console.print_box` method.

10.0.2

Fixed

- Resolved Color warnings when importing tcod.
- When compiling, fixed a name conflict with endianness macros on FreeBSD.

10.0.1

Fixed

- Fixed horizontal alignment for TrueType fonts.
- Fixed taking screenshots with the older SDL renderer.

10.0.0

Added

- New `Console.tiles` array attribute.

Changed

- `Console.DTYPE` changed to add alpha to its color types.

Fixed

- Console printing was ignoring color codes at the beginning of a string.

9.3.0

Added

- The SDL2/OPENGL2 renderers can potentially use a fall-back font when none
are provided.
- New function `tcod.event.get_mouse_state`.
- New function `tcod.map.compute_fov` lets you get a visibility array directly
from a transparency array.

Deprecated

- The following functions and classes have been deprecated.
- `tcod.Key`
- `tcod.Mouse`
- `tcod.mouse_get_status`
- `tcod.console_is_window_closed`
- `tcod.console_check_for_keypress`
- `tcod.console_wait_for_keypress`
- `tcod.console_delete`
- `tcod.sys_check_for_event`
- `tcod.sys_wait_for_event`
- The SDL, OPENGL, and GLSL renderers have been deprecated.
- Many libtcodpy functions have been marked with PendingDeprecationWarning's.

Fixed

- To be more compatible with libtcodpy `tcod.console_init_root` will default
to the SDL render, but will raise warnings when an old renderer is used.

Page 18 of 45

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.