Releases: libtcod/python-tcod
Releases · libtcod/python-tcod
16.2.3
16.2.2
Fixed
- Ignore the locale when encoding file paths outside of Windows.
- Fix performance when calling joystick functions.
16.2.1
Fixed
- Fixed errors loading files where their paths are non-ASCII and the C locale is not UTF-8.
16.2.0
Changed
- Renamed
gauss
methods to fix typos.
16.1.1
16.1.0
Added
- Added the enums
tcod.event.MouseButton
andtcod.event.MouseButtonMask
.
Changed
- Using
libtcod 1.24.0
.
Deprecated
- Mouse button and mask constants have been replaced by enums.
Fixed
WindowResized
literal annotations were in the wrong case.
16.0.3
Changed
- Enabled logging for libtcod and SDL.
Deprecated
- Deprecated using
tcod
as an implicit alias forlibtcodpy
.
You should usefrom tcod import libtcodpy
if you want to access this module. - Deprecated constants being held directly in
tcod
, get these fromtcod.libtcodpy
instead. - Deprecated
tcod.Console
which should be accessed fromtcod.console.Console
instead.
16.0.2
Fixed
- Joystick/controller device events would raise
RuntimeError
when accessed after removal.
16.0.1
Fixed
AudioDevice.stopped
was inverted.- Fixed the audio mixer stop and fadeout methods.
- Exceptions raised in the audio mixer callback no longer cause a messy crash, they now go to
sys.unraisablehook
.
16.0.0
Added
- Added PathLike support to more libtcodpy functions.
- New
tcod.sdl.mouse.show
function for querying or setting mouse visibility. - New class method
tcod.image.Image.from_file
to load images with. This replacestcod.image_load
. tcod.sdl.audio.AudioDevice
is now a context manager.
Changed
- SDL audio conversion will now pass unconvertible floating types as float32 instead of raising.
Deprecated
- Deprecated the libtcodpy functions for images and noise generators.
Removed
tcod.console_set_custom_font
can no longer take bytes as the file path.
Fixed
- Fix
tcod.sdl.mouse.warp_in_window
function. - Fix
TypeError: '_AudioCallbackUserdata' object is not callable
when using an SDL audio device callback.
#128