Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 18 of 44

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.

9.2.5

Fixed

- Fixed `tcod.namegen_generate_custom`.

9.2.4

Fixed

- The `tcod` package is has been marked as typed and will now work with MyPy.

Page 18 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.