Releases: libtcod/python-tcod
Releases · libtcod/python-tcod
13.4.0
Added
- Adds
sdl_window
andsdl_renderer
to tcod contexts. - Adds
tcod.event.add_watch
andtcod.event.remove_watch
to handle SDL events via callback. - Adds the
tcod.sdl.video
module to handle SDL windows. - Adds the
tcod.sdl.render
module to handle SDL renderers. - Adds the
tcod.render
module which gives more control over the rendering of consoles and tilesets.
Fixed
- Fixed handling of non-Path PathLike parameters and filepath encodings.
13.3.0
Added
- New experimental renderer
tcod.context.RENDERER_XTERM
.
Changed
- Using
libtcod 1.20.1
.
Fixed
- Functions accepting
Path
-like parameters now accept the more correctos.PathLike
type. - BDF files with blank lines no longer fail to load with an "Unknown keyword" error.
13.2.0
Added
- New
console
parameter intcod.context.new
which sets parameters from an existing Console.
Changed
- Using
libtcod 1.20.0
.
Fixed
- Fixed segfault when an OpenGL2 context fails to load.
- Gaussian number generation no longer affects the results of unrelated RNG's.
- Gaussian number generation is now reentrant and thread-safe.
- Fixed potential crash in PNG image loading.
13.1.0
Added
- Added the
tcod.tileset.procedural_block_elements
function.
Removed
- Python 3.6 is no longer supported.
13.0.0
Changed
- Console print and drawing functions now always use absolute coordinates for negative numbers.
12.7.3
Deprecated
tcod.console_is_key_pressed
was replaced withtcod.event.get_keyboard_state
.tcod.console_from_file
is deprecated.- The
.asc
and.apf
formats are no longer actively supported.
Fixed
- Fixed the parsing of SDL 2.0.16 headers.
12.7.2
Fixed
- Scancode and KeySym enums no longer crash when SDL returns an unexpected value.
12.7.1
Added
- Started uploading wheels for ARM64 macOS.
12.7.0
Added
- tcod.image and tcod.tileset now support pathlib.
Fixed
- Wheels for 32-bit Windows now deploy again.
12.6.2
Fixed
- Git is no longer required to install from source.