Skip to content

Releases: libtcod/python-tcod

13.4.0

05 Feb 04:00
13.4.0
1149f9a
Compare
Choose a tag to compare

Added

  • Adds sdl_window and sdl_renderer to tcod contexts.
  • Adds tcod.event.add_watch and tcod.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

08 Jan 09:53
13.3.0
e12c417
Compare
Choose a tag to compare

Added

  • New experimental renderer tcod.context.RENDERER_XTERM.

Changed

  • Using libtcod 1.20.1.

Fixed

  • Functions accepting Path-like parameters now accept the more correct os.PathLike type.
  • BDF files with blank lines no longer fail to load with an "Unknown keyword" error.

13.2.0

24 Dec 21:32
13.2.0
033c862
Compare
Choose a tag to compare

Added

  • New console parameter in tcod.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

23 Oct 00:06
13.1.0
742153c
Compare
Choose a tag to compare

Added

  • Added the tcod.tileset.procedural_block_elements function.

Removed

  • Python 3.6 is no longer supported.

13.0.0

20 Sep 22:08
13.0.0
adb3999
Compare
Choose a tag to compare

Changed

  • Console print and drawing functions now always use absolute coordinates for negative numbers.

12.7.3

13 Aug 20:30
12.7.3
2521db3
Compare
Choose a tag to compare

Deprecated

  • tcod.console_is_key_pressed was replaced with tcod.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

01 Jul 18:03
12.7.2
55f8cf4
Compare
Choose a tag to compare

Fixed

  • Scancode and KeySym enums no longer crash when SDL returns an unexpected value.

12.7.1

30 Jun 18:27
12.7.1
c5514a7
Compare
Choose a tag to compare

Added

  • Started uploading wheels for ARM64 macOS.

12.7.0

30 Jun 03:07
12.7.0
37bc8e2
Compare
Choose a tag to compare

Added

  • tcod.image and tcod.tileset now support pathlib.

Fixed

  • Wheels for 32-bit Windows now deploy again.

12.6.2

16 Jun 01:35
12.6.2
8be15d3
Compare
Choose a tag to compare

Fixed

  • Git is no longer required to install from source.