Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 16 of 44

11.2.0

Added

- `tcod.path.dijkstra2d`: Computes Dijkstra from an arbitrary initial state.
- `tcod.path.hillclimb2d`: Returns a path from a distance array.
- `tcod.path.maxarray`: Creates arrays filled with maximum finite values.

Fixed

- Changing the tiles of an active tileset on OPENGL2 will no longer leave
temporary artifact tiles.
- It's now harder to accidentally import tcod's internal modules.

11.1.2

Changed

- Now bundles SDL 2.0.10 for Windows/MacOS.

Fixed

- Can now parse SDL 2.0.10 headers during installation without crashing.

11.1.1

Deprecated

- Using an out-of-bounds index for field-of-view operations now raises a
warning, which will later become an error.

Fixed

- Changing the tiles of an active tileset will now work correctly.

11.1.0

Added

- You can now set the `TCOD_RENDERER` and `TCOD_VSYNC` environment variables to
force specific options to be used.
Example: `TCOD_RENDERER=sdl2 TCOD_VSYNC=1`

Changed

- `tcod.sys_set_renderer` now raises an exception if it fails.

Fixed

- `tcod.console_map_ascii_code_to_font` functions will now work when called
before `tcod.console_init_root`.

11.0.2

Changed

- You no longer need OpenGL to build python-tcod.

11.0.1

Changed

- Better runtime checks for Windows dependencies should now give distinct
errors depending on if the issue is SDL2 or missing redistributables.

Fixed

- Changed NumPy type hints from `np.array` to `np.ndarray` which should
resolve issues.

Page 16 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.