Tcod

Latest version: v16.2.2

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

Scan your dependencies

Page 8 of 21

11.19.2

Changed
- Now bundles SDL 2.0.10 for MacOS and SDL 2.0.14 for Windows.

Fixed
- MacOS wheels were failing to bundle dependencies for SDL2.

11.19.1

Fixed
- MacOS wheels failed to deploy for the previous version.

11.19.0

Added
- Added the important `order` parameter to `Context.new_console`.

11.18.3

Changed
- Now bundles SDL 2.0.14 for Windows/MacOS.

Deprecated
- Support for Python 3.5 will be dropped.
- `tcod.console_load_xp` has been deprecated, `tcod.console_from_xp` can load
these files without modifying an existing console.

Fixed
- `tcod.console_from_xp` now has better error handling (instead of crashing.)
- Can now compile with SDL 2.0.14 headers.

11.18.2

Fixed
- Fixed missing `tcod.FOV_SYMMETRIC_SHADOWCAST` constant.
- Fixed regression in `tcod.sys_get_current_resolution` behavior. This
function now returns the monitor resolution as was previously expected.

v.1.5.3
- set_font no longer crashes when loading a file without the implied font size in its name
- fixed non-square Map instances

1.24.0

Added
- New `TCODImage::getSize()` overload which returns a value instead of taking output references.
- New `TCODColor::genMap` overload which supports constexpr.
- `TCODZip` has new `get` and `put` functions with their supported types as overloads.
This includes some types from the new API and C++ types such as `std::optional<std::string>` as an alternative to getting a char pointer.
- `TCODZip` can now load and save paths using `<filesystem>` types.
- Added `tcod::ImagePtr`.
- Added functions to manually set context pixel-to-tile conversions in cases where it can't be set automatically.
- New overloads to `TCODBsp` which can take function callbacks directly.

Changes
- `TCODRandom` is now a movable, non-copyable object.
- `TCODConsole` can now be default constructed.

Fixed
- Constructing `TCODConsole` from `tcod::ConsolePtr` no longer causes a bad free.
- Memory leak when loading images with `TCODZip`.
- Memory leak with tileset atlases belonging to contexts.

Page 8 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.