Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 38 of 44

1.8.2

Fixed
- Fixed potential crash when splitting lines in UTF-8 print functions.
- Fixed possible hang in `TCOD_lex_parse_until_token_value`.

1.8.1

Changed
- Updated the compiler used to deploy Windows MinGW builds.

1.8.0

Added
- New `TCOD_MAJOR_VERSION`, `TCOD_MINOR_VERSION`, and `TCOD_PATCHLEVEL`
constants.
- Added UTF-8 print functions for C and C++:
- `TCOD_console_printf`, `TCOD_console_printf_ex`,
`TCOD_console_printf_rect`, and `TCOD_console_printf_rect_ex`.
- `TCOD_console_printf_frame`
- `TCOD_console_get_height_rect_fmt`
- New overrides for `TCODConsole::print` which can take `std::string`.
- `TCODConsole::printf`.
- Added `TCOD_quit` function, this function must be called on exit.
- New renderer: `TCOD_RENDERER_SDL2`

Changed
- AutoTools now adds version numbers to the libraries it builds.
- lodepng and zlib sources moved into `src/vendor/` folder.
- Bundled zlib library updated from `1.2.8` to `1.2.11`.
- LodePNG updated from `20160501` to `20180611`.
- libtcod C type declarations are stricter.
- libtcod now uses the C99 and C++14 standards.
- In the repository `include/` headers have been moved into `src/`.
- Most headers except for `libtcod.h` and `libtcod.h` have been moved into a
`libtcod/` sub-folder.
- SCons default architecture is now automatic instead of just 32-bit.
- libtcod gui headers now use LIBTCOD_EXPORTS instead of LIBTCOD_GUI_EXPORTS to
determine dllexport/dllimport.

Deprecated
- All functions replaced by the new UTF-8 functions are deprecated.
- The ctypes implementation of libtcodpy will no longer be maintained, use
python-tcod as a drop-in replacement.
- Deprecated file-system, threading, clipboard, and dynamic library functions.

Fixed
- `libtcodpy.map_clear`: `transparent` and `walkable` parameters were reversed.
- Resolved build issues on PowerPC platforms.
- Mouse state is now tracked even when mouse events are not asked for.
- libtcod sys event functions no longer crash if the given key pointer is NULL.
- SCons no longer crashes downloading SDL2 for Windows.

Removed
- Autotools no longer creates `libtcodxx` or `libtcodgui` libraries, C++
programs should link to `libtcod` instead.

1.7.0

Changed
- `TCOD_console_is_active()` now returns keyboard focus, its previous return
value was undefined.
- Load font debug information is now suppressed when NDEBUG is defined.
- 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
- Fixed a missing space between a literal and identifier that causes problems
with some C++ compilers.
- Fixed implicit definitions that could potentially crash formatted console
printing functions and image saving functions.
- Fixed including libtcod gui headers. (Fabian Wolff)
- Fixed memory leaks when lexer creation fails. (Fabian Wolff)
- Avoid crashes if the root console has a character code higher than expected.
- Fixed `AttributeError: module 'urllib' has no attribute 'urlretrieve'` when
running SCons builder with Python 3.
- Fixed `UnicodeEncodeError: ordinal not in range(128)` in places where
libtcodpy says it wants an ASCII string.
- libtcodpy now escapes the `%` character on print functions.
- Fixed libtcodpy print functions not supporting Unicode for Python 3.
- Fixed libtcodpy missing definition `TCOD_console_print_utf`.

1.6.7

Changed
- Renamed `libtcod-CHANGELOG.txt` to `CHANGELOG.md`
- SCons builder now outputs `libtcodgui` instead of `libtcod-gui` to match
Autotools behavior.

Fixed
- REXPaint operations now save/load as little-endian on any platform.
https://bitbucket.org/libtcod/libtcod/issues/91/fix-the-libtcod-types-endian-support
- `TCOD_console_map_ascii_code_to_font` and related functions can now assign
character codes that were not automatically assigned during initialization.
Previously you could only assign codes up to the total number of tiles in the
font.
- Fixed including libtcod from Autotools installs, the `console_rexpaint.h`
header was missing. (James Byrnes)

1.6.6

Added
- Added `libtcod_c.c` and `libtcod.cpp` source files to assist with static
linking.

Changed
- REXPaint functions now have their own header file: `console_rexpaint.h`
- `TCOD_color_set_HSV` now normalizes bad hue/saturation/value parameters.

Deprecated
- Non-reentrant line functions `TCOD_line_init` and `TCOD_line_step` are now
deprecated.
- `TCOD_line_mt` is deprecated. `TCOD_line` is the same function with an
unnecessary parameter, and should be preferred.

Fixed
- `TCOD_line` is now reentrant.
- `FOV_BASIC` (`fov_circular_raycasting`) implementation is now reentrant.
- Fixed `external/pstdint.h` header not being installed correctly by Autotools.
https://bitbucket.org/libtcod/libtcod/issues/121/include-of-external-pstdinth-fails
- Autotools libtools are no longer bundled, these are automatically installed
via `autoreconf -i`

Page 38 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.