Skip to content

Tags: libtcod/python-tcod

Tags

19.6.1

Toggle 19.6.1's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.6.1

- `tcod.event.add_watch` was crashing due to a cdef type mismatch.

19.6.0

Toggle 19.6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.6.0

- Alternative syntax for number symbols with `KeySym`, can now specify `KeySym["3"]`, etc.
  Only available on Python 3.13 or later.

- Fixed regression with lowercase key symbols with `tcod.event.K_*` and `KeySym.*` constants, these are still deprecated.
  Event constants are only fixed for `tcod.event.K_*`, not the undocumented `tcod.event_constants` module.
  Lowercase `KeySym.*` constants are only available on Python 3.13 or later.
- `BSP.split_recursive` did not accept a `Random` class as the seed. #168

19.5.0

Toggle 19.5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.5.0

- Update to libtcod 2.2.1.
- Scaling defaults to nearest, set `os.environ["SDL_RENDER_SCALE_QUALITY"] = "linear"` if linear scaling was preferred.

- `SDL_RENDER_SCALE_QUALITY` is now respected again since the change to SDL3.
- Fixed crash on controller events.

19.4.1

Toggle 19.4.1's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.4.1

- Fixed dangling pointer in `Pathfinder.clear` method.
- Fixed hang in `Pathfinder.rebuild_frontier` method.

19.4.0

Toggle 19.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.4.0

- Checking "WindowSizeChanged" was not valid since SDL 3 and was also not valid in previous examples.
  You must no longer check the type of the `WindowResized` event.

- Corrected some inconsistent angle brackets in the `__str__` of Event subclasses. #165
- Fix regression with window events causing them to be `Unknown` and uncheckable.

19.3.1

Toggle 19.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.3.1

Solved a deprecation warning which was internal to tcod and no doubt annoyed many devs.
Thanks to jmccardle for forcing me to resolve this.

- Silenced internal deprecation warnings within `Context.convert_event`.

19.3.0

Toggle 19.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.3.0

- `tcod.sdl.render`: Added `ScaleMode` enum and `Texture.scale_mode` attribute.

19.2.0

Toggle 19.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.2.0

- `tcod.noise.grid` now has the `offset` parameter for easier sampling of noise chunks.

19.1.0

Toggle 19.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.1.0

- Added text input support to `tcod.sdl.video.Window` which was missing since the SDL3 update.
  After creating a context use `assert context.sdl_window` or `if context.sdl_window:` to verify that an SDL window exists then use `context.sdl_window.start_text_input` to enable text input events.
  Keep in mind that this can open an on-screen keyboard.

19.0.2

Toggle 19.0.2's commit message

Verified

This tag was signed with the committer’s verified signature.
HexDecimal Kyle Benesch
19.0.2

- `Console.print` methods using `string` keyword were marked as invalid instead of deprecated.