Skip to content

16.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 May 03:54
· 132 commits to main since this release
16.0.0
98531c5

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 replaces tcod.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