Releases: libtcod/python-tcod
Releases · libtcod/python-tcod
13.8.1
Fixed
EventDispatchwas missing new event names.
13.8.0
Added
- Ported SDL2 joystick handing as
tcod.sdl.joystick. - New joystick related events.
Changed
- Using
libtcod 1.22.3. - Bundle
SDL 2.24.0on Windows and MacOS.
Deprecated
- Renderers other than
tcod.RENDERER_SDL2are now discouraged.
Fixed
- Fixed double present bug in non-context flush functions.
This was affecting performance and also caused a screen flicker whenever the global fade color was active. - Fixed the parsing of SDL 2.24.0 headers on Windows.
13.7.0
13.6.2
Fixed
- SDL renderers were ignoring tiles where only the background red channel was changed.
13.6.1
Changed
- The SDL2 renderer has had a major performance update when compiled with SDL 2.0.18.
- SDL2 is now the default renderer to avoid rare issues with the OpenGL 2 renderer.
13.6.0
Added
BasicMixerandChannelclasses added totcod.sdl.audio. These handle simple audio mixing.AudioDevice.convertadded to handle simple conversions to the active devices format.tcod.sdl.audio.convert_audioadded to handle any other conversions needed.
13.5.0
Added
tcod.sdl.audio, a new module exposing SDL audio devices. This does not include an audio mixer yet.tcod.sdl.mouse, for SDL mouse and cursor handing.Context.sdl_atlas, which provides the relevantSDLTilesetAtlaswhen one is being used by the context.- Several missing features were added to
tcod.sdl.render. Window.mouse_rectadded to SDL windows to set the mouse confinement area.
Changed
Texture.accessandTexture.blend_modeproperties now return enum instances.
You can still setblend_modewithintbut Mypy will complain.
13.4.0
Added
- Adds
sdl_windowandsdl_rendererto tcod contexts. - Adds
tcod.event.add_watchandtcod.event.remove_watchto handle SDL events via callback. - Adds the
tcod.sdl.videomodule to handle SDL windows. - Adds the
tcod.sdl.rendermodule to handle SDL renderers. - Adds the
tcod.rendermodule 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.PathLiketype. - BDF files with blank lines no longer fail to load with an "Unknown keyword" error.
13.2.0
Added
- New
consoleparameter intcod.context.newwhich 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.