Tcod

Latest version: v16.2.2

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

Scan your dependencies

Page 19 of 21

1.9.0

Added
- New renderer: `TCOD_RENDERER_OPENGL2`
- `TCOD_RENDERER_SDL2` and `TCOD_RENDERER_OPENGL2` now have reliable fullscreen
support.
- SCons MSVC releases now include libtcod's `.pdb` file.

Changed
- `src/vendor` must be included when building libtcod.
- `glad.c` added to vendor directory.
- In GCC builds: non-public symbols are no longer visible by default.

1.8.2

1.8.1

None

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.5.1

- fixed errors with Unicode and non-Unicode literals on Python 2
- fixed attribute error in compute_fov

Page 19 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.