Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 31 of 44

1.16.2

Fixed
- The `SDL_WINDOW_ALLOW_HIGHDPI` flag has been added to SDL windows created
with the non-context API. This fixes issues on some MacOS systems.
[90](https://github.com/libtcod/libtcod/issues/90)

1.16.1

Fixed
- Fixed the case-sensitive file name `LibtcodConfig.cmake.in` which was causing
CMake to fail.

1.16.0

Added
- SCons builder now supports MacOS ARM64 and Universal 2 architectures.

Changed
- `TCOD_sys_get_current_resolution` now returns error codes.

Deprecated
- Deprecated `TCOD_sys_get_current_resolution`

Fixed
- Code points from the Private Use Area will now print correctly.
- Fixed regression in `TCOD_sys_get_current_resolution` behavior. This
function now returns the monitor resolution as was previously expected.
- The OpenGL 2 renderer was ignoring `SDL_HINT_RENDER_SCALE_QUALITY=nearest`.

Removed
- `TCOD_rng_splitmix64_next` has been marked as provisional.

1.16.0alpha.15

Deprecated
- Deprecated the zip functions.

Fixed
- Context functions won't crash when methods are missing.

1.16.0alpha.14

Added
- Added new algorithm `FOV_SYMMETRIC_SHADOWCAST` based off of the code
provided [here](https://www.albertford.com/shadowcasting/).

Changed
- `TCOD_map_compute_fov` and `TCOD_map_copy` now return error codes.

1.16.0alpha.13

Added
- Tilesets can now be loaded from an in-memory PNG file or from raw data.
- The character mappings `TCOD_CHARMAP_CP437` and `TCOD_CHARMAP_TCOD` are now
public.
- Added `TCOD_rng_splitmix64_next`.
- Added the `TCOD_VERSIONNUM` and `TCOD_COMPILEDVERSION` macros.
- Added vectorized noise generator functions.

Changed
- Video driver status info has been added to SDL video driver errors.
- Console blits now ignore alpha compositing which would result in division by
zero.
- Image loading now returns an error code.
- Added window `x, y` coordinates when creating contexts.
- Added `argc` and `argv` to contexts so that they can optionally support CLI
commands.
- A struct is used to pass parameters for creating contexts.
- The OpenGL 2 renderer can now use `SDL_HINT_RENDER_SCALE_QUALITY` to
determine the tileset upscaling filter.
- Improved performance of the FOV_BASIC algorithm.
[77](https://github.com/libtcod/libtcod/issues/77)

Deprecated
- Deprecated the following macros:
`TCOD_HEXVERSION`, `TCOD_TECHVERSION`, and `TCOD_STRVERSIONNAME`.

Fixed
- `TCOD_console_is_key_pressed` should work even if libtcod events are ignored.
- Fixed images only saving as a red channel.
[75](https://github.com/libtcod/libtcod/pull/75)
- The `TCOD_RENDERER` and `TCOD_VSYNC` environment variables should work now.
- `FOV_PERMISSIVE` algorithms are now reentrant.

Page 31 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.