Tcod

Latest version: v17.1.0

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

Scan your dependencies

Page 24 of 45

5.0.1

Fixed

- tdl.event no longer crashes with StopIteration on Python 3.7

5.0.0

Changed

- tcod.path: all classes now use `shape` instead of `width` and `height`.
- tcod.path now respects NumPy array shape, instead of assuming that arrays
need to be transposed from C memory order. From now on `x` and `y` mean
1st and 2nd axis. This doesn't affect non-NumPy code.
- tcod.path now has full support of non-contiguous memory.

4.6.1

Added

- New function `tcod.line_where` for indexing NumPy arrays using a Bresenham
line.

Deprecated

- Python 2.7 support will be dropped in the near future.

4.5.2

Added

- New wheels for Python3.7 on Windows.

Fixed

- Arrays from `tcod.heightmap_new` are now properly zeroed out.

4.5.1

Deprecated

- Deprecated all libtcodpy map functions.

Fixed

- `tcod.map_copy` could break the `tcod.map.Map` class.
- `tcod.map_clear` `transparent` and `walkable` parameters were reversed.
- When multiple SDL2 headers were installed, the wrong ones would be used when
the library is built.
- Fails to build via pip unless Numpy is installed first.

4.5.0

Changed

- Updated libtcod to v1.7.0
- Updated SDL to v2.0.8
- Error messages when failing to create an SDL window should be a less vague.
- You no longer need to initialize libtcod before you can print to an
off-screen console.

Fixed

- Avoid crashes if the root console has a character code higher than expected.

Removed

- No more debug output when loading fonts.

Page 24 of 45

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.