Skip to content

Releases: libtcod/python-tcod

12.6.1

10 Jun 01:13
12.6.1
08934cd
Compare
Choose a tag to compare

Fixed

  • Fixed version mismatch when building from sources.

12.6.0

09 Jun 22:49
12.6.0
ad98cf9
Compare
Choose a tag to compare

Added

  • Added the decoration parameter to Console.draw_frame.
    You may use this parameter to designate custom glyphs as the frame border.

Deprecated

  • The handling of negative indexes given to console drawing and printing
    functions will be changed to be used as absolute coordinates in the future.

12.5.1

31 May 06:01
12.5.1
c5e3f72
Compare
Choose a tag to compare

Fixed

  • The setup script should no longer fail silently when cffi is unavailable.

12.5.0

22 May 00:31
12.5.0
47353dc
Compare
Choose a tag to compare

Changed

  • KeyboardEvent's 'scancode, sym, and mod attributes now use their respective enums.

12.4.0

21 May 15:01
12.4.0
8ddd70c
Compare
Choose a tag to compare

Added

  • Added modernized REXPaint saving/loading functions.
    • tcod.console.load_xp
    • tcod.console.save_xp

Changed

  • Using libtcod 1.18.1.

Fixed

  • tcod.event.KeySym and tcod.event.Scancode can now be hashed.

12.3.2

15 May 23:45
12.3.2
802a666
Compare
Choose a tag to compare

Changed

  • Using libtcod 1.17.1.

Fixed

  • Fixed regression with loading PNG images.

12.3.1

13 May 23:50
12.3.1
c99fb9c
Compare
Choose a tag to compare

Fixed

  • Fix Windows deployment.

12.3.0

13 May 23:11
12.3.0
6be33d9
Compare
Choose a tag to compare

Added

  • New keyboard enums:
    • tcod.event.KeySym
    • tcod.event.Scancode
    • tcod.event.Modifier
  • New functions:
    • tcod.event.get_keyboard_state
    • tcod.event.get_modifier_state
  • Added tcod.console.rgb_graphic and tcod.console.rgba_graphic dtypes.
  • Another name for the Console array attributes: Console.rgb and Console.rgba.

Changed

  • Using libtcod 1.17.0.

Deprecated

  • Console_tiles_rgb is being renamed to Console.rgb.
  • Console_tiles being renamed to Console.rgba.

Fixed

  • Contexts now give a more useful error when pickled.
  • Fixed regressions with tcod.console_print_frame and Console.print_frame
    when given empty strings as the banner.

12.2.0

10 Apr 03:09
12.2.0
6ccbb3a
Compare
Choose a tag to compare

Added

  • Added tcod.noise.Algorithm and tcod.noise.Implementation enums.
  • Added tcod.noise.grid helper function.

Deprecated

  • The non-enum noise implementation names have been deprecated.

Fixed

  • Indexing Noise classes now works with the FBM implementation.

12.1.0

01 Apr 19:06
12.1.0
07258cb
Compare
Choose a tag to compare

Added

  • Added package-level PyInstaller hook.

Changed

  • Using libtcod 1.16.7.
  • tcod.path.dijkstra2d now returns the output and accepts an out parameter.

Deprecated

  • In the future tcod.path.dijkstra2d will no longer modify the input by default. Until then an out parameter must be given.

Fixed

  • Fixed crashes from loading tilesets with non-square tile sizes.
  • Tilesets with a size of 0 should no longer crash when used.
  • Prevent division by zero from recommended-console-size functions.