- Fixed access violation when events are polled before SDL is initialized. - Fixed access violation when libtcod images fail to load. - Verify input files exist when calling `libtcodpy.parser_run`, `libtcodpy.namegen_parse`, `tcod.image.load`.
16.2.2
Fixed
- Ignore the locale when encoding file paths outside of Windows. - Fix performance when calling joystick functions.
16.2.1
Fixed
- Fixed errors loading files on Windows where their paths are non-ASCII and the locale is not UTF-8.
16.2.0
Changed
- Renamed `gauss` methods to fix typos.
16.1.1
Changed
- Added an empty `__slots__` to `EventDispatch`. - Bundle `SDL 2.28.1` on Windows and MacOS.
Fixed
- Fixed "SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!" https://github.com/libtcod/python-tcod/issues/131
Removed
- Dropped support for Python 3.7.
16.1.0
Added
- Added the enums `tcod.event.MouseButton` and `tcod.event.MouseButtonMask`.
Changed
- Using `libtcod 1.24.0`.
Deprecated
- Mouse button and mask constants have been replaced by enums.
Fixed
- `WindowResized` literal annotations were in the wrong case.