tcod 16.2.1__tar.gz → 16.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tcod-16.2.1 → tcod-16.2.3}/CHANGELOG.md +666 -146
- {tcod-16.2.1 → tcod-16.2.3}/CONTRIBUTING.md +1 -1
- {tcod-16.2.1 → tcod-16.2.3}/PKG-INFO +5 -1
- {tcod-16.2.1 → tcod-16.2.3}/build_libtcod.py +5 -4
- {tcod-16.2.1 → tcod-16.2.3}/build_sdl.py +7 -2
- {tcod-16.2.1 → tcod-16.2.3}/libtcodpy.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/pyproject.toml +11 -8
- {tcod-16.2.1 → tcod-16.2.3}/requirements.txt +3 -1
- {tcod-16.2.1 → tcod-16.2.3}/setup.py +3 -2
- {tcod-16.2.1 → tcod-16.2.3}/tcod/__init__.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/__pyinstaller/__init__.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/__pyinstaller/hook-tcod.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/_internal.py +16 -11
- {tcod-16.2.1 → tcod-16.2.3}/tcod/bsp.py +3 -2
- {tcod-16.2.1 → tcod-16.2.3}/tcod/cffi.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/color.py +7 -6
- {tcod-16.2.1 → tcod-16.2.3}/tcod/console.py +23 -22
- {tcod-16.2.1 → tcod-16.2.3}/tcod/constants.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/context.py +12 -11
- {tcod-16.2.1 → tcod-16.2.3}/tcod/event.py +22 -43
- {tcod-16.2.1 → tcod-16.2.3}/tcod/image.py +14 -6
- {tcod-16.2.1 → tcod-16.2.3}/tcod/libtcodpy.py +47 -50
- {tcod-16.2.1 → tcod-16.2.3}/tcod/los.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/map.py +9 -8
- {tcod-16.2.1 → tcod-16.2.3}/tcod/noise.py +7 -6
- {tcod-16.2.1 → tcod-16.2.3}/tcod/path.py +25 -29
- {tcod-16.2.1 → tcod-16.2.3}/tcod/random.py +4 -3
- {tcod-16.2.1 → tcod-16.2.3}/tcod/render.py +2 -4
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/__init__.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/_internal.py +4 -5
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/audio.py +7 -6
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/joystick.py +9 -5
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/mouse.py +3 -2
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/render.py +25 -24
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/sys.py +1 -2
- {tcod-16.2.1 → tcod-16.2.3}/tcod/sdl/video.py +6 -5
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tcod.py +1 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tileset.py +4 -3
- tcod-16.2.3/tcod/version.py +16 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/PKG-INFO +5 -1
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/SOURCES.txt +1 -0
- tcod-16.2.3/tox.ini +17 -0
- tcod-16.2.1/tcod/version.py +0 -8
- {tcod-16.2.1 → tcod-16.2.3}/LICENSE.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/MANIFEST.in +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/README.rst +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/CHANGELOG.md +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/CMakeLists.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/CONTRIBUTING.md +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/LIBTCOD-CREDITS.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/LICENSE.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/README.md +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/bresenham.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/bresenham_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/bsp.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/bsp_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/color.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/color.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/config.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_drawing.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_drawing.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_etc.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_etc.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_init.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_init.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_printing.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_printing.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_rexpaint.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_rexpaint.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/console_types.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context_init.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context_init.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context_viewport.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/context_viewport.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/error.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/error.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_circular_raycasting.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_diamond_raycasting.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_permissive2.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_recursive_shadowcasting.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_restrictive.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_symmetric_shadowcast.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/fov_types.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/globals.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/globals.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/heapq.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/heapq.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/heightmap.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/heightmap_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/image.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/image_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/lex.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/lex_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/libtcod.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/libtcod_int.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/list.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/list_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/logging.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/logging.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/mersenne.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/mersenne_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/mersenne_types.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/mouse.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/mouse_types.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/namegen.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/namegen_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/noise.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/noise_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/noise_defaults.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/parser.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/parser_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/path.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/path_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/pathfinder.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/pathfinder.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/pathfinder_frontier.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/pathfinder_frontier.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/portability.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/random.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/random.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/renderer_sdl2.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/renderer_sdl2.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/renderer_xterm.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/renderer_xterm.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sdl2/console_grid.glslf +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sdl2/console_grid.glslv +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sdl2/event.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sys.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sys_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sys_sdl_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sys_sdl_img_bmp.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/sys_sdl_img_png.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_bdf.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_bdf.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_fallback.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_fallback.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_render.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_render.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_truetype.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tileset_truetype.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/timer.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tree.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/tree_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/txtfield.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/txtfield_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/utility.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/version.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/wrappers.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/wrappers.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/zip.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod/zip_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/libtcod_c.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/khrplatform.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/lodepng.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/lodepng.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/stb.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/stb_ds.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/stb_truetype.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/utf8proc/utf8proc.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/utf8proc/utf8proc.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/utf8proc/utf8proc_data.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/adler32.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/compress.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/crc32.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/crc32.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/deflate.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/deflate.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/gzclose.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/gzguts.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/gzlib.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/gzread.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/gzwrite.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/infback.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inffast.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inffast.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inffixed.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inflate.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inflate.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inftrees.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/inftrees.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/trees.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/trees.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/uncompr.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/zconf.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/zlib.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/zutil.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/libtcod/src/vendor/zlib/zutil.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/setup.cfg +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/cdef.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/cffi.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/event_constants.py +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/noise.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/noise.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/path.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/path.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/py.typed +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/random.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tcod.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tcod.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tdl.c +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod/tdl.h +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/dependency_links.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/entry_points.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/requires.txt +0 -0
- {tcod-16.2.1 → tcod-16.2.3}/tcod.egg-info/top_level.txt +0 -0
|
@@ -1,1291 +1,1800 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
Changes relevant to the users of python-tcod are documented here.
|
|
3
4
|
|
|
4
5
|
This project adheres to [Semantic Versioning](https://semver.org/) since version `2.0.0`.
|
|
5
6
|
|
|
6
7
|
## [Unreleased]
|
|
7
8
|
|
|
9
|
+
## [16.2.3] - 2024-07-16
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixed access violation when events are polled before SDL is initialized.
|
|
14
|
+
- Fixed access violation when libtcod images fail to load.
|
|
15
|
+
- Verify input files exist when calling `libtcodpy.parser_run`, `libtcodpy.namegen_parse`, `tcod.image.load`.
|
|
16
|
+
|
|
17
|
+
## [16.2.2] - 2024-01-16
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Ignore the locale when encoding file paths outside of Windows.
|
|
22
|
+
- Fix performance when calling joystick functions.
|
|
23
|
+
|
|
8
24
|
## [16.2.1] - 2023-09-24
|
|
25
|
+
|
|
9
26
|
### Fixed
|
|
10
|
-
|
|
27
|
+
|
|
28
|
+
- Fixed errors loading files on Windows where their paths are non-ASCII and the locale is not UTF-8.
|
|
11
29
|
|
|
12
30
|
## [16.2.0] - 2023-09-20
|
|
31
|
+
|
|
13
32
|
### Changed
|
|
33
|
+
|
|
14
34
|
- Renamed `gauss` methods to fix typos.
|
|
15
35
|
|
|
16
36
|
## [16.1.1] - 2023-07-10
|
|
37
|
+
|
|
17
38
|
### Changed
|
|
39
|
+
|
|
18
40
|
- Added an empty `__slots__` to `EventDispatch`.
|
|
19
41
|
- Bundle `SDL 2.28.1` on Windows and MacOS.
|
|
20
42
|
|
|
21
43
|
### Fixed
|
|
44
|
+
|
|
22
45
|
- Fixed "SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!"
|
|
23
46
|
https://github.com/libtcod/python-tcod/issues/131
|
|
24
47
|
|
|
25
48
|
### Removed
|
|
49
|
+
|
|
26
50
|
- Dropped support for Python 3.7.
|
|
27
51
|
|
|
28
52
|
## [16.1.0] - 2023-06-23
|
|
53
|
+
|
|
29
54
|
### Added
|
|
55
|
+
|
|
30
56
|
- Added the enums `tcod.event.MouseButton` and `tcod.event.MouseButtonMask`.
|
|
31
57
|
|
|
32
58
|
### Changed
|
|
59
|
+
|
|
33
60
|
- Using `libtcod 1.24.0`.
|
|
34
61
|
|
|
35
62
|
### Deprecated
|
|
63
|
+
|
|
36
64
|
- Mouse button and mask constants have been replaced by enums.
|
|
37
65
|
|
|
38
66
|
### Fixed
|
|
67
|
+
|
|
39
68
|
- `WindowResized` literal annotations were in the wrong case.
|
|
40
69
|
|
|
41
70
|
## [16.0.3] - 2023-06-04
|
|
71
|
+
|
|
42
72
|
### Changed
|
|
73
|
+
|
|
43
74
|
- Enabled logging for libtcod and SDL.
|
|
44
75
|
|
|
45
76
|
### Deprecated
|
|
77
|
+
|
|
46
78
|
- Deprecated using `tcod` as an implicit alias for `libtcodpy`.
|
|
47
79
|
You should use `from tcod import libtcodpy` if you want to access this module.
|
|
48
80
|
- Deprecated constants being held directly in `tcod`, get these from `tcod.libtcodpy` instead.
|
|
49
81
|
- Deprecated `tcod.Console` which should be accessed from `tcod.console.Console` instead.
|
|
50
82
|
|
|
51
83
|
## [16.0.2] - 2023-06-02
|
|
84
|
+
|
|
52
85
|
### Fixed
|
|
86
|
+
|
|
53
87
|
- Joystick/controller device events would raise `RuntimeError` when accessed after removal.
|
|
54
88
|
|
|
55
89
|
## [16.0.1] - 2023-05-28
|
|
90
|
+
|
|
56
91
|
### Fixed
|
|
92
|
+
|
|
57
93
|
- `AudioDevice.stopped` was inverted.
|
|
58
94
|
- Fixed the audio mixer stop and fadeout methods.
|
|
59
95
|
- Exceptions raised in the audio mixer callback no longer cause a messy crash, they now go to `sys.unraisablehook`.
|
|
60
96
|
|
|
61
97
|
## [16.0.0] - 2023-05-27
|
|
98
|
+
|
|
62
99
|
### Added
|
|
100
|
+
|
|
63
101
|
- Added PathLike support to more libtcodpy functions.
|
|
64
102
|
- New `tcod.sdl.mouse.show` function for querying or setting mouse visibility.
|
|
65
|
-
- New class method `tcod.image.Image.from_file` to load images with.
|
|
103
|
+
- New class method `tcod.image.Image.from_file` to load images with. This replaces `tcod.image_load`.
|
|
66
104
|
- `tcod.sdl.audio.AudioDevice` is now a context manager.
|
|
67
105
|
|
|
68
106
|
### Changed
|
|
107
|
+
|
|
69
108
|
- SDL audio conversion will now pass unconvertible floating types as float32 instead of raising.
|
|
70
109
|
|
|
71
110
|
### Deprecated
|
|
111
|
+
|
|
72
112
|
- Deprecated the libtcodpy functions for images and noise generators.
|
|
73
113
|
|
|
74
114
|
### Removed
|
|
115
|
+
|
|
75
116
|
- `tcod.console_set_custom_font` can no longer take bytes as the file path.
|
|
76
117
|
|
|
77
118
|
### Fixed
|
|
119
|
+
|
|
78
120
|
- Fix `tcod.sdl.mouse.warp_in_window` function.
|
|
79
121
|
- Fix `TypeError: '_AudioCallbackUserdata' object is not callable` when using an SDL audio device callback.
|
|
80
122
|
[#128](https://github.com/libtcod/python-tcod/issues/128)
|
|
81
123
|
|
|
82
124
|
## [15.0.3] - 2023-05-25
|
|
125
|
+
|
|
83
126
|
### Deprecated
|
|
84
|
-
|
|
127
|
+
|
|
128
|
+
- Deprecated all libtcod color constants. Replace these with your own manually defined colors.
|
|
85
129
|
Using a color will tell you the color values of the deprecated color in the warning.
|
|
86
|
-
- Deprecated older scancode and keysym constants.
|
|
130
|
+
- Deprecated older scancode and keysym constants. These were replaced with the Scancode and KeySym enums.
|
|
87
131
|
|
|
88
132
|
### Fixed
|
|
133
|
+
|
|
89
134
|
- DLL loader could fail to load `SDL2.dll` when other tcod namespace packages were installed.
|
|
90
135
|
|
|
91
136
|
## [15.0.1] - 2023-03-30
|
|
137
|
+
|
|
92
138
|
### Added
|
|
139
|
+
|
|
93
140
|
- Added support for `tcod.sdl` namespace packages.
|
|
94
141
|
|
|
95
142
|
### Fixed
|
|
96
|
-
|
|
143
|
+
|
|
144
|
+
- `Renderer.read_pixels` method was completely broken.
|
|
97
145
|
|
|
98
146
|
## [15.0.0] - 2023-01-04
|
|
147
|
+
|
|
99
148
|
### Changed
|
|
149
|
+
|
|
100
150
|
- Modified the letter case of window event types to match their type annotations.
|
|
101
|
-
This may cause regressions.
|
|
102
|
-
- Mouse event attributes have been changed
|
|
151
|
+
This may cause regressions. Run Mypy to check for `[comparison-overlap]` errors.
|
|
152
|
+
- Mouse event attributes have been changed `.pixel -> .position` and `.pixel_motion -> .motion`.
|
|
103
153
|
- `Context.convert_event` now returns copies of events with mouse coordinates converted into tile positions.
|
|
104
154
|
|
|
105
155
|
### Deprecated
|
|
156
|
+
|
|
106
157
|
- Mouse event pixel and tile attributes have been deprecated.
|
|
107
158
|
|
|
108
159
|
## [14.0.0] - 2022-12-09
|
|
160
|
+
|
|
109
161
|
### Added
|
|
162
|
+
|
|
110
163
|
- Added explicit support for namespace packages.
|
|
111
164
|
|
|
112
165
|
### Changed
|
|
166
|
+
|
|
113
167
|
- Using `libtcod 1.23.1`.
|
|
114
168
|
- Bundle `SDL 2.26.0` on Windows and MacOS.
|
|
115
169
|
- Code Page 437: Character 0x7F is now assigned to 0x2302 (HOUSE).
|
|
116
|
-
- Forced all renderers to
|
|
170
|
+
- Forced all renderers to `RENDERER_SDL2` to fix rare graphical artifacts with OpenGL.
|
|
117
171
|
|
|
118
172
|
### Deprecated
|
|
173
|
+
|
|
119
174
|
- The `renderer` parameter of new contexts is now deprecated.
|
|
120
175
|
|
|
121
176
|
## [13.8.1] - 2022-09-23
|
|
177
|
+
|
|
122
178
|
### Fixed
|
|
179
|
+
|
|
123
180
|
- `EventDispatch` was missing new event names.
|
|
124
181
|
|
|
125
182
|
## [13.8.0] - 2022-09-22
|
|
183
|
+
|
|
126
184
|
### Added
|
|
185
|
+
|
|
127
186
|
- Ported SDL2 joystick handing as `tcod.sdl.joystick`.
|
|
128
187
|
- New joystick related events.
|
|
129
188
|
|
|
130
189
|
### Changed
|
|
190
|
+
|
|
131
191
|
- Using `libtcod 1.22.3`.
|
|
132
192
|
- Bundle `SDL 2.24.0` on Windows and MacOS.
|
|
133
193
|
|
|
134
194
|
### Deprecated
|
|
195
|
+
|
|
135
196
|
- Renderers other than `tcod.RENDERER_SDL2` are now discouraged.
|
|
136
197
|
|
|
137
198
|
### Fixed
|
|
199
|
+
|
|
138
200
|
- Fixed double present bug in non-context flush functions.
|
|
139
201
|
This was affecting performance and also caused a screen flicker whenever the global fade color was active.
|
|
140
202
|
- Fixed the parsing of SDL 2.24.0 headers on Windows.
|
|
141
203
|
|
|
142
204
|
## [13.7.0] - 2022-08-07
|
|
205
|
+
|
|
143
206
|
### Added
|
|
207
|
+
|
|
144
208
|
- You can new use `SDLConsoleRender.atlas` to access the `SDLTilesetAtlas` used to create it.
|
|
145
209
|
[#121](https://github.com/libtcod/python-tcod/issues/121)
|
|
146
210
|
|
|
147
211
|
### Fixed
|
|
148
|
-
|
|
212
|
+
|
|
213
|
+
- Fixed the parsing of SDL 2.0.22 headers. Specifically `SDL_FLT_EPSILON`.
|
|
149
214
|
|
|
150
215
|
## [13.6.2] - 2022-05-02
|
|
216
|
+
|
|
151
217
|
### Fixed
|
|
218
|
+
|
|
152
219
|
- SDL renderers were ignoring tiles where only the background red channel was changed.
|
|
153
220
|
|
|
154
221
|
## [13.6.1] - 2022-03-29
|
|
222
|
+
|
|
155
223
|
### Changed
|
|
224
|
+
|
|
156
225
|
- The SDL2 renderer has had a major performance update when compiled with SDL 2.0.18.
|
|
157
226
|
- SDL2 is now the default renderer to avoid rare issues with the OpenGL 2 renderer.
|
|
158
227
|
|
|
159
228
|
## [13.6.0] - 2022-02-19
|
|
229
|
+
|
|
160
230
|
### Added
|
|
161
|
-
|
|
231
|
+
|
|
232
|
+
- `BasicMixer` and `Channel` classes added to `tcod.sdl.audio`. These handle simple audio mixing.
|
|
162
233
|
- `AudioDevice.convert` added to handle simple conversions to the active devices format.
|
|
163
234
|
- `tcod.sdl.audio.convert_audio` added to handle any other conversions needed.
|
|
164
235
|
|
|
165
236
|
## [13.5.0] - 2022-02-11
|
|
237
|
+
|
|
166
238
|
### Added
|
|
167
|
-
|
|
239
|
+
|
|
240
|
+
- `tcod.sdl.audio`, a new module exposing SDL audio devices. This does not include an audio mixer yet.
|
|
168
241
|
- `tcod.sdl.mouse`, for SDL mouse and cursor handing.
|
|
169
242
|
- `Context.sdl_atlas`, which provides the relevant `SDLTilesetAtlas` when one is being used by the context.
|
|
170
243
|
- Several missing features were added to `tcod.sdl.render`.
|
|
171
244
|
- `Window.mouse_rect` added to SDL windows to set the mouse confinement area.
|
|
245
|
+
|
|
172
246
|
### Changed
|
|
247
|
+
|
|
173
248
|
- `Texture.access` and `Texture.blend_mode` properties now return enum instances.
|
|
174
249
|
You can still set `blend_mode` with `int` but Mypy will complain.
|
|
175
250
|
|
|
176
251
|
## [13.4.0] - 2022-02-04
|
|
252
|
+
|
|
177
253
|
### Added
|
|
254
|
+
|
|
178
255
|
- Adds `sdl_window` and `sdl_renderer` properties to tcod contexts.
|
|
179
256
|
- Adds `tcod.event.add_watch` and `tcod.event.remove_watch` to handle SDL events via callback.
|
|
180
257
|
- Adds the `tcod.sdl.video` module to handle SDL windows.
|
|
181
258
|
- Adds the `tcod.sdl.render` module to handle SDL renderers.
|
|
182
259
|
- Adds the `tcod.render` module which gives more control over the rendering of consoles and tilesets.
|
|
260
|
+
|
|
183
261
|
### Fixed
|
|
262
|
+
|
|
184
263
|
- Fixed handling of non-Path PathLike parameters and filepath encodings.
|
|
185
264
|
|
|
186
265
|
## [13.3.0] - 2022-01-07
|
|
266
|
+
|
|
187
267
|
### Added
|
|
268
|
+
|
|
188
269
|
- New experimental renderer `tcod.context.RENDERER_XTERM`.
|
|
270
|
+
|
|
189
271
|
### Changed
|
|
272
|
+
|
|
190
273
|
- Using `libtcod 1.20.1`.
|
|
274
|
+
|
|
191
275
|
### Fixed
|
|
276
|
+
|
|
192
277
|
- Functions accepting `Path`-like parameters now accept the more correct `os.PathLike` type.
|
|
193
278
|
- BDF files with blank lines no longer fail to load with an "Unknown keyword" error.
|
|
194
279
|
|
|
195
280
|
## [13.2.0] - 2021-12-24
|
|
281
|
+
|
|
196
282
|
### Added
|
|
283
|
+
|
|
197
284
|
- New `console` parameter in `tcod.context.new` which sets parameters from an existing Console.
|
|
198
285
|
|
|
199
286
|
### Changed
|
|
287
|
+
|
|
200
288
|
- Using `libtcod 1.20.0`.
|
|
201
289
|
|
|
202
290
|
### Fixed
|
|
291
|
+
|
|
203
292
|
- Fixed segfault when an OpenGL2 context fails to load.
|
|
204
293
|
- Gaussian number generation no longer affects the results of unrelated RNG's.
|
|
205
294
|
- Gaussian number generation is now reentrant and thread-safe.
|
|
206
295
|
- Fixed potential crash in PNG image loading.
|
|
207
296
|
|
|
208
297
|
## [13.1.0] - 2021-10-22
|
|
298
|
+
|
|
209
299
|
### Added
|
|
300
|
+
|
|
210
301
|
- Added the `tcod.tileset.procedural_block_elements` function.
|
|
211
302
|
|
|
212
303
|
### Removed
|
|
304
|
+
|
|
213
305
|
- Python 3.6 is no longer supported.
|
|
214
306
|
|
|
215
307
|
## [13.0.0] - 2021-09-20
|
|
308
|
+
|
|
216
309
|
### Changed
|
|
310
|
+
|
|
217
311
|
- Console print and drawing functions now always use absolute coordinates for negative numbers.
|
|
218
312
|
|
|
219
313
|
## [12.7.3] - 2021-08-13
|
|
314
|
+
|
|
220
315
|
### Deprecated
|
|
316
|
+
|
|
221
317
|
- `tcod.console_is_key_pressed` was replaced with `tcod.event.get_keyboard_state`.
|
|
222
318
|
- `tcod.console_from_file` is deprecated.
|
|
223
319
|
- The `.asc` and `.apf` formats are no longer actively supported.
|
|
224
320
|
|
|
225
321
|
### Fixed
|
|
322
|
+
|
|
226
323
|
- Fixed the parsing of SDL 2.0.16 headers.
|
|
227
324
|
|
|
228
325
|
## [12.7.2] - 2021-07-01
|
|
326
|
+
|
|
229
327
|
### Fixed
|
|
230
|
-
|
|
328
|
+
|
|
329
|
+
- _Scancode_ and _KeySym_ enums no longer crash when SDL returns an unexpected value.
|
|
231
330
|
|
|
232
331
|
## [12.7.1] - 2021-06-30
|
|
332
|
+
|
|
233
333
|
### Added
|
|
334
|
+
|
|
234
335
|
- Started uploading wheels for ARM64 macOS.
|
|
235
336
|
|
|
236
337
|
## [12.7.0] - 2021-06-29
|
|
338
|
+
|
|
237
339
|
### Added
|
|
238
|
-
|
|
340
|
+
|
|
341
|
+
- _tcod.image_ and _tcod.tileset_ now support _pathlib_.
|
|
239
342
|
|
|
240
343
|
### Fixed
|
|
344
|
+
|
|
241
345
|
- Wheels for 32-bit Windows now deploy again.
|
|
242
346
|
|
|
243
347
|
## [12.6.2] - 2021-06-15
|
|
348
|
+
|
|
244
349
|
### Fixed
|
|
350
|
+
|
|
245
351
|
- Git is no longer required to install from source.
|
|
246
352
|
|
|
247
353
|
## [12.6.1] - 2021-06-09
|
|
354
|
+
|
|
248
355
|
### Fixed
|
|
356
|
+
|
|
249
357
|
- Fixed version mismatch when building from sources.
|
|
250
358
|
|
|
251
359
|
## [12.6.0] - 2021-06-09
|
|
360
|
+
|
|
252
361
|
### Added
|
|
253
|
-
|
|
254
|
-
|
|
362
|
+
|
|
363
|
+
- Added the _decoration_ parameter to _Console.draw_frame_.
|
|
364
|
+
You may use this parameter to designate custom glyphs as the frame border.
|
|
255
365
|
|
|
256
366
|
### Deprecated
|
|
367
|
+
|
|
257
368
|
- The handling of negative indexes given to console drawing and printing
|
|
258
|
-
|
|
369
|
+
functions will be changed to be used as absolute coordinates in the future.
|
|
259
370
|
|
|
260
371
|
## [12.5.1] - 2021-05-30
|
|
372
|
+
|
|
261
373
|
### Fixed
|
|
374
|
+
|
|
262
375
|
- The setup script should no longer fail silently when cffi is unavailable.
|
|
263
376
|
|
|
264
377
|
## [12.5.0] - 2021-05-21
|
|
378
|
+
|
|
265
379
|
### Changed
|
|
380
|
+
|
|
266
381
|
- `KeyboardEvent`'s '`scancode`, `sym`, and `mod` attributes now use their respective enums.
|
|
267
382
|
|
|
268
383
|
## [12.4.0] - 2021-05-21
|
|
384
|
+
|
|
269
385
|
### Added
|
|
386
|
+
|
|
270
387
|
- Added modernized REXPaint saving/loading functions.
|
|
271
|
-
|
|
272
|
-
|
|
388
|
+
- `tcod.console.load_xp`
|
|
389
|
+
- `tcod.console.save_xp`
|
|
273
390
|
|
|
274
391
|
### Changed
|
|
392
|
+
|
|
275
393
|
- Using `libtcod 1.18.1`.
|
|
276
394
|
- `tcod.event.KeySym` and `tcod.event.Scancode` can now be hashed.
|
|
277
395
|
|
|
278
396
|
## [12.3.2] - 2021-05-15
|
|
397
|
+
|
|
279
398
|
### Changed
|
|
399
|
+
|
|
280
400
|
- Using `libtcod 1.17.1`.
|
|
281
401
|
|
|
282
402
|
### Fixed
|
|
403
|
+
|
|
283
404
|
- Fixed regression with loading PNG images.
|
|
284
405
|
|
|
285
406
|
## [12.3.1] - 2021-05-13
|
|
407
|
+
|
|
286
408
|
### Fixed
|
|
409
|
+
|
|
287
410
|
- Fix Windows deployment.
|
|
288
411
|
|
|
289
412
|
## [12.3.0] - 2021-05-13
|
|
413
|
+
|
|
290
414
|
### Added
|
|
415
|
+
|
|
291
416
|
- New keyboard enums:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
417
|
+
- `tcod.event.KeySym`
|
|
418
|
+
- `tcod.event.Scancode`
|
|
419
|
+
- `tcod.event.Modifier`
|
|
295
420
|
- New functions:
|
|
296
|
-
|
|
297
|
-
|
|
421
|
+
- `tcod.event.get_keyboard_state`
|
|
422
|
+
- `tcod.event.get_modifier_state`
|
|
298
423
|
- Added `tcod.console.rgb_graphic` and `tcod.console.rgba_graphic` dtypes.
|
|
299
424
|
- Another name for the Console array attributes: `Console.rgb` and `Console.rgba`.
|
|
300
425
|
|
|
301
426
|
### Changed
|
|
427
|
+
|
|
302
428
|
- Using `libtcod 1.17.0`.
|
|
303
429
|
|
|
304
430
|
### Deprecated
|
|
431
|
+
|
|
305
432
|
- `Console_tiles_rgb` is being renamed to `Console.rgb`.
|
|
306
433
|
- `Console_tiles` being renamed to `Console.rgba`.
|
|
307
434
|
|
|
308
435
|
### Fixed
|
|
436
|
+
|
|
309
437
|
- Contexts now give a more useful error when pickled.
|
|
310
438
|
- Fixed regressions with `tcod.console_print_frame` and `Console.print_frame`
|
|
311
|
-
|
|
439
|
+
when given empty strings as the banner.
|
|
312
440
|
|
|
313
441
|
## [12.2.0] - 2021-04-09
|
|
442
|
+
|
|
314
443
|
### Added
|
|
444
|
+
|
|
315
445
|
- Added `tcod.noise.Algorithm` and `tcod.noise.Implementation` enums.
|
|
316
446
|
- Added `tcod.noise.grid` helper function.
|
|
317
447
|
|
|
318
448
|
### Deprecated
|
|
449
|
+
|
|
319
450
|
- The non-enum noise implementation names have been deprecated.
|
|
320
451
|
|
|
321
452
|
### Fixed
|
|
453
|
+
|
|
322
454
|
- Indexing Noise classes now works with the FBM implementation.
|
|
323
455
|
|
|
324
456
|
## [12.1.0] - 2021-04-01
|
|
457
|
+
|
|
325
458
|
### Added
|
|
459
|
+
|
|
326
460
|
- Added package-level PyInstaller hook.
|
|
327
461
|
|
|
328
462
|
### Changed
|
|
463
|
+
|
|
329
464
|
- Using `libtcod 1.16.7`.
|
|
330
465
|
- `tcod.path.dijkstra2d` now returns the output and accepts an `out` parameter.
|
|
331
466
|
|
|
332
467
|
### Deprecated
|
|
333
|
-
|
|
468
|
+
|
|
469
|
+
- In the future `tcod.path.dijkstra2d` will no longer modify the input by default. Until then an `out` parameter must be given.
|
|
334
470
|
|
|
335
471
|
### Fixed
|
|
472
|
+
|
|
336
473
|
- Fixed crashes from loading tilesets with non-square tile sizes.
|
|
337
474
|
- Tilesets with a size of 0 should no longer crash when used.
|
|
338
475
|
- Prevent division by zero from recommended-console-size functions.
|
|
339
476
|
|
|
340
477
|
## [12.0.0] - 2021-03-05
|
|
478
|
+
|
|
341
479
|
### Added
|
|
480
|
+
|
|
342
481
|
- Now includes PyInstaller hooks within the package itself.
|
|
343
482
|
|
|
344
483
|
### Deprecated
|
|
484
|
+
|
|
345
485
|
- The Random class will now warn if the seed it's given will not used
|
|
346
|
-
|
|
486
|
+
deterministically. It will no longer accept non-integer seeds in the future.
|
|
347
487
|
|
|
348
488
|
### Changed
|
|
489
|
+
|
|
349
490
|
- Now bundles SDL 2.0.14 for MacOS.
|
|
350
491
|
- `tcod.event` can now detect and will warn about uninitialized tile
|
|
351
|
-
|
|
492
|
+
attributes on mouse events.
|
|
352
493
|
|
|
353
494
|
### Removed
|
|
495
|
+
|
|
354
496
|
- Python 3.5 is no longer supported.
|
|
355
497
|
- The `tdl` module has been dropped.
|
|
356
498
|
|
|
357
499
|
## [11.19.3] - 2021-01-07
|
|
500
|
+
|
|
358
501
|
### Fixed
|
|
502
|
+
|
|
359
503
|
- Some wheels had broken version metadata.
|
|
360
504
|
|
|
361
505
|
## [11.19.2] - 2020-12-30
|
|
506
|
+
|
|
362
507
|
### Changed
|
|
508
|
+
|
|
363
509
|
- Now bundles SDL 2.0.10 for MacOS and SDL 2.0.14 for Windows.
|
|
364
510
|
|
|
365
511
|
### Fixed
|
|
512
|
+
|
|
366
513
|
- MacOS wheels were failing to bundle dependencies for SDL2.
|
|
367
514
|
|
|
368
515
|
## [11.19.1] - 2020-12-29
|
|
516
|
+
|
|
369
517
|
### Fixed
|
|
518
|
+
|
|
370
519
|
- MacOS wheels failed to deploy for the previous version.
|
|
371
520
|
|
|
372
521
|
## [11.19.0] - 2020-12-29
|
|
522
|
+
|
|
373
523
|
### Added
|
|
524
|
+
|
|
374
525
|
- Added the important `order` parameter to `Context.new_console`.
|
|
375
526
|
|
|
376
527
|
## [11.18.3] - 2020-12-28
|
|
528
|
+
|
|
377
529
|
### Changed
|
|
530
|
+
|
|
378
531
|
- Now bundles SDL 2.0.14 for Windows/MacOS.
|
|
379
532
|
|
|
380
533
|
### Deprecated
|
|
534
|
+
|
|
381
535
|
- Support for Python 3.5 will be dropped.
|
|
382
536
|
- `tcod.console_load_xp` has been deprecated, `tcod.console_from_xp` can load
|
|
383
|
-
|
|
537
|
+
these files without modifying an existing console.
|
|
384
538
|
|
|
385
539
|
### Fixed
|
|
540
|
+
|
|
386
541
|
- `tcod.console_from_xp` now has better error handling (instead of crashing.)
|
|
387
542
|
- Can now compile with SDL 2.0.14 headers.
|
|
388
543
|
|
|
389
544
|
## [11.18.2] - 2020-12-03
|
|
545
|
+
|
|
390
546
|
### Fixed
|
|
547
|
+
|
|
391
548
|
- Fixed missing `tcod.FOV_SYMMETRIC_SHADOWCAST` constant.
|
|
392
|
-
- Fixed regression in `tcod.sys_get_current_resolution` behavior.
|
|
393
|
-
|
|
549
|
+
- Fixed regression in `tcod.sys_get_current_resolution` behavior. This
|
|
550
|
+
function now returns the monitor resolution as was previously expected.
|
|
394
551
|
|
|
395
552
|
## [11.18.1] - 2020-11-30
|
|
553
|
+
|
|
396
554
|
### Fixed
|
|
555
|
+
|
|
397
556
|
- Code points from the Private Use Area will now print correctly.
|
|
398
557
|
|
|
399
558
|
## [11.18.0] - 2020-11-13
|
|
559
|
+
|
|
400
560
|
### Added
|
|
561
|
+
|
|
401
562
|
- New context method `Context.new_console`.
|
|
402
563
|
|
|
403
564
|
### Changed
|
|
565
|
+
|
|
404
566
|
- Using `libtcod 1.16.0-alpha.15`.
|
|
405
567
|
|
|
406
568
|
## [11.17.0] - 2020-10-30
|
|
569
|
+
|
|
407
570
|
### Added
|
|
571
|
+
|
|
408
572
|
- New FOV implementation: `tcod.FOV_SYMMETRIC_SHADOWCAST`.
|
|
409
573
|
|
|
410
574
|
### Changed
|
|
575
|
+
|
|
411
576
|
- Using `libtcod 1.16.0-alpha.14`.
|
|
412
577
|
|
|
413
578
|
## [11.16.1] - 2020-10-28
|
|
579
|
+
|
|
414
580
|
### Deprecated
|
|
581
|
+
|
|
415
582
|
- Changed context deprecations to PendingDeprecationWarning to reduce mass
|
|
416
|
-
|
|
583
|
+
panic from tutorial followers.
|
|
417
584
|
|
|
418
585
|
### Fixed
|
|
586
|
+
|
|
419
587
|
- Fixed garbled titles and crashing on some platforms.
|
|
420
588
|
|
|
421
589
|
## [11.16.0] - 2020-10-23
|
|
590
|
+
|
|
422
591
|
### Added
|
|
592
|
+
|
|
423
593
|
- Added `tcod.context.new` function.
|
|
424
594
|
- Contexts now support a CLI.
|
|
425
595
|
- You can now provide the window x,y position when making contexts.
|
|
426
596
|
- `tcod.noise.Noise` instances can now be indexed to generate noise maps.
|
|
427
597
|
|
|
428
598
|
### Changed
|
|
599
|
+
|
|
429
600
|
- Using `libtcod 1.16.0-alpha.13`.
|
|
430
601
|
- The OpenGL 2 renderer can now use `SDL_HINT_RENDER_SCALE_QUALITY` to
|
|
431
|
-
|
|
602
|
+
determine the tileset upscaling filter.
|
|
432
603
|
- Improved performance of the FOV_BASIC algorithm.
|
|
433
604
|
|
|
434
605
|
### Deprecated
|
|
606
|
+
|
|
435
607
|
- `tcod.context.new_window` and `tcod.context.new_terminal` have been replaced
|
|
436
|
-
|
|
608
|
+
by `tcod.context.new`.
|
|
437
609
|
|
|
438
610
|
### Fixed
|
|
611
|
+
|
|
439
612
|
- Pathfinders will now work with boolean arrays.
|
|
440
613
|
- Console blits now ignore alpha compositing which would result in division by
|
|
441
|
-
|
|
614
|
+
zero.
|
|
442
615
|
- `tcod.console_is_key_pressed` should work even if libtcod events are ignored.
|
|
443
616
|
- The `TCOD_RENDERER` and `TCOD_VSYNC` environment variables should work now.
|
|
444
617
|
- `FOV_PERMISSIVE` algorithm is now reentrant.
|
|
445
618
|
|
|
446
619
|
## [11.15.3] - 2020-07-30
|
|
620
|
+
|
|
447
621
|
### Fixed
|
|
622
|
+
|
|
448
623
|
- `tcod.tileset.Tileset.remap`, codepoint and index were swapped.
|
|
449
624
|
|
|
450
625
|
## [11.15.2] - 2020-07-27
|
|
626
|
+
|
|
451
627
|
### Fixed
|
|
628
|
+
|
|
452
629
|
- `tcod.path.dijkstra2d`, fixed corrupted output with int8 arrays.
|
|
453
630
|
|
|
454
631
|
## [11.15.1] - 2020-07-26
|
|
632
|
+
|
|
455
633
|
### Changed
|
|
634
|
+
|
|
456
635
|
- `tcod.event.EventDispatch` now uses the absolute names for event type hints
|
|
457
|
-
|
|
636
|
+
so that IDE's can better auto-complete method overrides.
|
|
458
637
|
|
|
459
638
|
### Fixed
|
|
639
|
+
|
|
460
640
|
- Fixed libtcodpy heightmap data alignment issues on non-square maps.
|
|
461
641
|
|
|
462
642
|
## [11.15.0] - 2020-06-29
|
|
643
|
+
|
|
463
644
|
### Added
|
|
645
|
+
|
|
464
646
|
- `tcod.path.SimpleGraph` for pathfinding on simple 2D arrays.
|
|
465
647
|
|
|
466
648
|
### Changed
|
|
649
|
+
|
|
467
650
|
- `tcod.path.CustomGraph` now accepts an `order` parameter.
|
|
468
651
|
|
|
469
652
|
## [11.14.0] - 2020-06-23
|
|
653
|
+
|
|
470
654
|
### Added
|
|
655
|
+
|
|
471
656
|
- New `tcod.los` module for NumPy-based line-of-sight algorithms.
|
|
472
|
-
|
|
657
|
+
Includes `tcod.los.bresenham`.
|
|
473
658
|
|
|
474
659
|
### Deprecated
|
|
660
|
+
|
|
475
661
|
- `tcod.line_where` and `tcod.line_iter` have been deprecated.
|
|
476
662
|
|
|
477
663
|
## [11.13.6] - 2020-06-19
|
|
664
|
+
|
|
478
665
|
### Deprecated
|
|
666
|
+
|
|
479
667
|
- `console_init_root` and `console_set_custom_font` have been replaced by the
|
|
480
|
-
|
|
668
|
+
modern API.
|
|
481
669
|
- All functions which handle SDL windows without a context are deprecated.
|
|
482
670
|
- All functions which modify a globally active tileset are deprecated.
|
|
483
671
|
- `tcod.map.Map` is deprecated, NumPy arrays should be passed to functions
|
|
484
|
-
|
|
672
|
+
directly instead of through this class.
|
|
485
673
|
|
|
486
674
|
## [11.13.5] - 2020-06-15
|
|
675
|
+
|
|
487
676
|
### Fixed
|
|
677
|
+
|
|
488
678
|
- Install requirements will no longer try to downgrade `cffi`.
|
|
489
679
|
|
|
490
680
|
## [11.13.4] - 2020-06-15
|
|
491
681
|
|
|
492
682
|
## [11.13.3] - 2020-06-13
|
|
683
|
+
|
|
493
684
|
### Fixed
|
|
685
|
+
|
|
494
686
|
- `cffi` requirement has been updated to version `1.13.0`.
|
|
495
|
-
|
|
687
|
+
The older versions raise TypeError's.
|
|
496
688
|
|
|
497
689
|
## [11.13.2] - 2020-06-12
|
|
690
|
+
|
|
498
691
|
### Fixed
|
|
692
|
+
|
|
499
693
|
- SDL related errors during package installation are now more readable.
|
|
500
694
|
|
|
501
695
|
## [11.13.1] - 2020-05-30
|
|
696
|
+
|
|
502
697
|
### Fixed
|
|
698
|
+
|
|
503
699
|
- `tcod.event.EventDispatch`: `ev_*` methods now allow `Optional[T]` return
|
|
504
|
-
|
|
700
|
+
types.
|
|
505
701
|
|
|
506
702
|
## [11.13.0] - 2020-05-22
|
|
703
|
+
|
|
507
704
|
### Added
|
|
705
|
+
|
|
508
706
|
- `tcod.path`: New `Pathfinder` and `CustomGraph` classes.
|
|
509
707
|
|
|
510
708
|
### Changed
|
|
709
|
+
|
|
511
710
|
- Added `edge_map` parameter to `tcod.path.dijkstra2d` and
|
|
512
|
-
|
|
711
|
+
`tcod.path.hillclimb2d`.
|
|
513
712
|
|
|
514
713
|
### Fixed
|
|
714
|
+
|
|
515
715
|
- tcod.console_init_root` and context initializing functions were not
|
|
516
|
-
|
|
716
|
+
raising exceptions on failure.
|
|
517
717
|
|
|
518
718
|
## [11.12.1] - 2020-05-02
|
|
719
|
+
|
|
519
720
|
### Fixed
|
|
721
|
+
|
|
520
722
|
- Prevent adding non-existent 2nd halves to potential double-wide charterers.
|
|
521
723
|
|
|
522
724
|
## [11.12.0] - 2020-04-30
|
|
725
|
+
|
|
523
726
|
### Added
|
|
524
|
-
|
|
525
|
-
|
|
727
|
+
|
|
728
|
+
- Added `tcod.context` module. You now have more options for making libtcod
|
|
729
|
+
controlled contexts.
|
|
526
730
|
- `tcod.tileset.load_tilesheet`: Load a simple tilesheet as a Tileset.
|
|
527
731
|
- `Tileset.remap`: Reassign codepoints to tiles on a Tileset.
|
|
528
732
|
- `tcod.tileset.CHARMAP_CP437`: Character mapping for `load_tilesheet`.
|
|
529
733
|
- `tcod.tileset.CHARMAP_TCOD`: Older libtcod layout.
|
|
530
734
|
|
|
531
735
|
### Changed
|
|
736
|
+
|
|
532
737
|
- `EventDispatch.dispatch` can now return the values returned by the `ev_*`
|
|
533
|
-
|
|
738
|
+
methods. The class is now generic to support type checking these values.
|
|
534
739
|
- Event mouse coordinates are now strictly int types.
|
|
535
740
|
- Submodules are now implicitly imported.
|
|
536
741
|
|
|
537
742
|
## [11.11.4] - 2020-04-26
|
|
743
|
+
|
|
538
744
|
### Changed
|
|
745
|
+
|
|
539
746
|
- Using `libtcod 1.16.0-alpha.10`.
|
|
540
747
|
|
|
541
748
|
### Fixed
|
|
749
|
+
|
|
542
750
|
- Fixed characters being dropped when color codes were used.
|
|
543
751
|
|
|
544
752
|
## [11.11.3] - 2020-04-24
|
|
753
|
+
|
|
545
754
|
### Changed
|
|
755
|
+
|
|
546
756
|
- Using `libtcod 1.16.0-alpha.9`.
|
|
547
757
|
|
|
548
758
|
### Fixed
|
|
759
|
+
|
|
549
760
|
- `FOV_DIAMOND` and `FOV_RESTRICTIVE` algorithms are now reentrant.
|
|
550
|
-
|
|
761
|
+
[libtcod#48](https://github.com/libtcod/libtcod/pull/48)
|
|
551
762
|
- The `TCOD_VSYNC` environment variable was being ignored.
|
|
552
763
|
|
|
553
764
|
## [11.11.2] - 2020-04-22
|
|
554
765
|
|
|
555
766
|
## [11.11.1] - 2020-04-03
|
|
767
|
+
|
|
556
768
|
### Changed
|
|
769
|
+
|
|
557
770
|
- Using `libtcod 1.16.0-alpha.8`.
|
|
558
771
|
|
|
559
772
|
### Fixed
|
|
773
|
+
|
|
560
774
|
- Changing the active tileset now redraws tiles correctly on the next frame.
|
|
561
775
|
|
|
562
776
|
## [11.11.0] - 2020-04-02
|
|
777
|
+
|
|
563
778
|
### Added
|
|
779
|
+
|
|
564
780
|
- Added `Console.close` as a more obvious way to close the active window of a
|
|
565
|
-
|
|
781
|
+
root console.
|
|
566
782
|
|
|
567
783
|
### Changed
|
|
784
|
+
|
|
568
785
|
- GCC is no longer needed to compile the library on Windows.
|
|
569
786
|
- Using `libtcod 1.16.0-alpha.7`.
|
|
570
787
|
- `tcod.console_flush` will now accept an RGB tuple as a `clear_color`.
|
|
571
788
|
|
|
572
789
|
### Fixed
|
|
790
|
+
|
|
573
791
|
- Changing the active tileset will now properly show it on the next render.
|
|
574
792
|
|
|
575
793
|
## [11.10.0] - 2020-03-26
|
|
794
|
+
|
|
576
795
|
### Added
|
|
796
|
+
|
|
577
797
|
- Added `tcod.tileset.load_bdf`, you can now load BDF fonts.
|
|
578
798
|
- `tcod.tileset.set_default` and `tcod.tileset.get_default` are now stable.
|
|
579
799
|
|
|
580
800
|
### Changed
|
|
801
|
+
|
|
581
802
|
- Using `libtcod 1.16.0-alpha.6`.
|
|
582
803
|
|
|
583
804
|
### Deprecated
|
|
805
|
+
|
|
584
806
|
- The `snap_to_integer` parameter in `tcod.console_flush` has been deprecated
|
|
585
|
-
|
|
586
|
-
|
|
807
|
+
since it can cause minor scaling issues which don't exist when using
|
|
808
|
+
`integer_scaling` instead.
|
|
587
809
|
|
|
588
810
|
## [11.9.2] - 2020-03-17
|
|
811
|
+
|
|
589
812
|
### Fixed
|
|
813
|
+
|
|
590
814
|
- Fixed segfault after the Tileset returned by `tcod.tileset.get_default` goes
|
|
591
|
-
|
|
815
|
+
out of scope.
|
|
592
816
|
|
|
593
817
|
## [11.9.1] - 2020-02-28
|
|
818
|
+
|
|
594
819
|
### Changed
|
|
820
|
+
|
|
595
821
|
- Using `libtcod 1.16.0-alpha.5`.
|
|
596
822
|
- Mouse tile coordinates are now always zero before the first call to
|
|
597
|
-
|
|
823
|
+
`tcod.console_flush`.
|
|
598
824
|
|
|
599
825
|
## [11.9.0] - 2020-02-22
|
|
826
|
+
|
|
600
827
|
### Added
|
|
828
|
+
|
|
601
829
|
- New method `Tileset.render` renders an RGBA NumPy array from a tileset and
|
|
602
|
-
|
|
830
|
+
a console.
|
|
603
831
|
|
|
604
832
|
## [11.8.2] - 2020-02-22
|
|
833
|
+
|
|
605
834
|
### Fixed
|
|
835
|
+
|
|
606
836
|
- Prevent KeyError when representing unusual keyboard symbol constants.
|
|
607
837
|
|
|
608
838
|
## [11.8.1] - 2020-02-22
|
|
839
|
+
|
|
609
840
|
### Changed
|
|
841
|
+
|
|
610
842
|
- Using `libtcod 1.16.0-alpha.4`.
|
|
611
843
|
|
|
612
844
|
### Fixed
|
|
845
|
+
|
|
613
846
|
- Mouse tile coordinates are now correct on any resized window.
|
|
614
847
|
|
|
615
848
|
## [11.8.0] - 2020-02-21
|
|
849
|
+
|
|
616
850
|
### Added
|
|
851
|
+
|
|
617
852
|
- Added `tcod.console.recommended_size` for when you want to change your main
|
|
618
|
-
|
|
853
|
+
console size at runtime.
|
|
619
854
|
- Added `Console.tiles_rgb` as a replacement for `Console.tiles2`.
|
|
620
855
|
|
|
621
856
|
### Changed
|
|
857
|
+
|
|
622
858
|
- Using `libtcod 1.16.0-alpha.3`.
|
|
623
859
|
- Added parameters to `tcod.console_flush`, you can now manually provide a
|
|
624
|
-
|
|
860
|
+
console and adjust how it is presented.
|
|
625
861
|
|
|
626
862
|
### Deprecated
|
|
863
|
+
|
|
627
864
|
- `Console.tiles2` is deprecated in favour of `Console.tiles_rgb`.
|
|
628
865
|
- `Console.buffer` is now deprecated in favour of `Console.tiles`, instead of
|
|
629
|
-
|
|
866
|
+
the other way around.
|
|
630
867
|
|
|
631
868
|
### Fixed
|
|
869
|
+
|
|
632
870
|
- Fixed keyboard state and mouse state functions losing state when events were
|
|
633
|
-
|
|
871
|
+
flushed.
|
|
634
872
|
|
|
635
873
|
## [11.7.2] - 2020-02-16
|
|
874
|
+
|
|
636
875
|
### Fixed
|
|
876
|
+
|
|
637
877
|
- Fixed regression in `tcod.console_clear`.
|
|
638
878
|
|
|
639
879
|
## [11.7.1] - 2020-02-16
|
|
880
|
+
|
|
640
881
|
### Fixed
|
|
882
|
+
|
|
641
883
|
- Fixed regression in `Console.draw_frame`.
|
|
642
884
|
- The wavelet noise generator now excludes -1.0f and 1.0f as return values.
|
|
643
885
|
- Fixed console fading color regression.
|
|
644
886
|
|
|
645
887
|
## [11.7.0] - 2020-02-14
|
|
888
|
+
|
|
646
889
|
### Changed
|
|
890
|
+
|
|
647
891
|
- Using `libtcod 1.16.0-alpha.2`.
|
|
648
892
|
- When a renderer fails to load it will now fallback to a different one.
|
|
649
|
-
|
|
893
|
+
The order is: OPENGL2 -> OPENGL -> SDL2.
|
|
650
894
|
- The default renderer is now SDL2.
|
|
651
895
|
- The SDL and OPENGL renderers are no longer deprecated, but they now point to
|
|
652
|
-
|
|
896
|
+
slightly different backward compatible implementations.
|
|
653
897
|
|
|
654
898
|
### Deprecated
|
|
899
|
+
|
|
655
900
|
- The use of `libtcod.cfg` and `terminal.png` is deprecated.
|
|
656
901
|
|
|
657
902
|
### Fixed
|
|
903
|
+
|
|
658
904
|
- `tcod.sys_update_char` now works with the newer renderers.
|
|
659
905
|
- Fixed buffer overflow in name generator.
|
|
660
906
|
- `tcod.image_from_console` now works with the newer renderers.
|
|
661
907
|
- New renderers now auto-load fonts from `libtcod.cfg` or `terminal.png`.
|
|
662
908
|
|
|
663
909
|
## [11.6.0] - 2019-12-05
|
|
910
|
+
|
|
664
911
|
### Changed
|
|
912
|
+
|
|
665
913
|
- Console blit operations now perform per-cell alpha transparency.
|
|
666
914
|
|
|
667
915
|
## [11.5.1] - 2019-11-23
|
|
916
|
+
|
|
668
917
|
### Fixed
|
|
918
|
+
|
|
669
919
|
- Python 3.8 wheels failed to deploy.
|
|
670
920
|
|
|
671
921
|
## [11.5.0] - 2019-11-22
|
|
922
|
+
|
|
672
923
|
### Changed
|
|
924
|
+
|
|
673
925
|
- Quarter block elements are now rendered using Unicode instead of a custom
|
|
674
|
-
|
|
926
|
+
encoding.
|
|
675
927
|
|
|
676
928
|
### Fixed
|
|
929
|
+
|
|
677
930
|
- `OPENGL` and `GLSL` renderers were not properly clearing space characters.
|
|
678
931
|
|
|
679
932
|
## [11.4.1] - 2019-10-15
|
|
933
|
+
|
|
680
934
|
### Added
|
|
935
|
+
|
|
681
936
|
- Uploaded Python 3.8 wheels to PyPI.
|
|
682
937
|
|
|
683
938
|
## [11.4.0] - 2019-09-20
|
|
939
|
+
|
|
684
940
|
### Added
|
|
941
|
+
|
|
685
942
|
- Added `__array_interface__` to the Image class.
|
|
686
943
|
- Added `Console.draw_semigraphics` as a replacement for blit_2x functions.
|
|
687
|
-
|
|
944
|
+
`draw_semigraphics` can handle array-like objects.
|
|
688
945
|
- `Image.from_array` class method creates an Image from an array-like object.
|
|
689
946
|
- `tcod.image.load` loads a PNG file as an RGBA array.
|
|
690
947
|
|
|
691
948
|
### Changed
|
|
949
|
+
|
|
692
950
|
- `Console.tiles` is now named `Console.buffer`.
|
|
693
951
|
|
|
694
952
|
## [11.3.0] - 2019-09-06
|
|
953
|
+
|
|
695
954
|
### Added
|
|
955
|
+
|
|
696
956
|
- New attribute `Console.tiles2` is similar to `Console.tiles` but without an
|
|
697
|
-
|
|
957
|
+
alpha channel.
|
|
698
958
|
|
|
699
959
|
## [11.2.2] - 2019-08-25
|
|
960
|
+
|
|
700
961
|
### Fixed
|
|
962
|
+
|
|
701
963
|
- Fixed a regression preventing PyInstaller distributions from loading SDL2.
|
|
702
964
|
|
|
703
965
|
## [11.2.1] - 2019-08-25
|
|
704
966
|
|
|
705
967
|
## [11.2.0] - 2019-08-24
|
|
968
|
+
|
|
706
969
|
### Added
|
|
970
|
+
|
|
707
971
|
- `tcod.path.dijkstra2d`: Computes Dijkstra from an arbitrary initial state.
|
|
708
972
|
- `tcod.path.hillclimb2d`: Returns a path from a distance array.
|
|
709
973
|
- `tcod.path.maxarray`: Creates arrays filled with maximum finite values.
|
|
710
974
|
|
|
711
975
|
### Fixed
|
|
976
|
+
|
|
712
977
|
- Changing the tiles of an active tileset on OPENGL2 will no longer leave
|
|
713
|
-
|
|
978
|
+
temporary artifact tiles.
|
|
714
979
|
- It's now harder to accidentally import tcod's internal modules.
|
|
715
980
|
|
|
716
981
|
## [11.1.2] - 2019-08-02
|
|
982
|
+
|
|
717
983
|
### Changed
|
|
984
|
+
|
|
718
985
|
- Now bundles SDL 2.0.10 for Windows/MacOS.
|
|
719
986
|
|
|
720
987
|
### Fixed
|
|
988
|
+
|
|
721
989
|
- Can now parse SDL 2.0.10 headers during installation without crashing.
|
|
722
990
|
|
|
723
991
|
## [11.1.1] - 2019-08-01
|
|
992
|
+
|
|
724
993
|
### Deprecated
|
|
994
|
+
|
|
725
995
|
- Using an out-of-bounds index for field-of-view operations now raises a
|
|
726
|
-
|
|
996
|
+
warning, which will later become an error.
|
|
727
997
|
|
|
728
998
|
### Fixed
|
|
999
|
+
|
|
729
1000
|
- Changing the tiles of an active tileset will now work correctly.
|
|
730
1001
|
|
|
731
1002
|
## [11.1.0] - 2019-07-05
|
|
1003
|
+
|
|
732
1004
|
### Added
|
|
1005
|
+
|
|
733
1006
|
- You can now set the `TCOD_RENDERER` and `TCOD_VSYNC` environment variables to
|
|
734
|
-
|
|
735
|
-
|
|
1007
|
+
force specific options to be used.
|
|
1008
|
+
Example: `TCOD_RENDERER=sdl2 TCOD_VSYNC=1`
|
|
736
1009
|
|
|
737
1010
|
### Changed
|
|
1011
|
+
|
|
738
1012
|
- `tcod.sys_set_renderer` now raises an exception if it fails.
|
|
739
1013
|
|
|
740
1014
|
### Fixed
|
|
1015
|
+
|
|
741
1016
|
- `tcod.console_map_ascii_code_to_font` functions will now work when called
|
|
742
|
-
|
|
1017
|
+
before `tcod.console_init_root`.
|
|
743
1018
|
|
|
744
1019
|
## [11.0.2] - 2019-06-21
|
|
1020
|
+
|
|
745
1021
|
### Changed
|
|
1022
|
+
|
|
746
1023
|
- You no longer need OpenGL to build python-tcod.
|
|
747
1024
|
|
|
748
1025
|
## [11.0.1] - 2019-06-21
|
|
1026
|
+
|
|
749
1027
|
### Changed
|
|
1028
|
+
|
|
750
1029
|
- Better runtime checks for Windows dependencies should now give distinct
|
|
751
|
-
|
|
1030
|
+
errors depending on if the issue is SDL2 or missing redistributables.
|
|
752
1031
|
|
|
753
1032
|
### Fixed
|
|
1033
|
+
|
|
754
1034
|
- Changed NumPy type hints from `np.array` to `np.ndarray` which should
|
|
755
|
-
|
|
1035
|
+
resolve issues.
|
|
756
1036
|
|
|
757
1037
|
## [11.0.0] - 2019-06-14
|
|
1038
|
+
|
|
758
1039
|
### Changed
|
|
1040
|
+
|
|
759
1041
|
- `tcod.map.compute_fov` now takes a 2-item tuple instead of separate `x` and
|
|
760
|
-
|
|
1042
|
+
`y` parameters. This causes less confusion over how axes are aligned.
|
|
761
1043
|
|
|
762
1044
|
## [10.1.1] - 2019-06-02
|
|
1045
|
+
|
|
763
1046
|
### Changed
|
|
1047
|
+
|
|
764
1048
|
- Better string representations for `tcod.event.Event` subclasses.
|
|
765
1049
|
|
|
766
1050
|
### Fixed
|
|
1051
|
+
|
|
767
1052
|
- Fixed regressions in text alignment for non-rectangle print functions.
|
|
768
1053
|
|
|
769
1054
|
## [10.1.0] - 2019-05-24
|
|
1055
|
+
|
|
770
1056
|
### Added
|
|
1057
|
+
|
|
771
1058
|
- `tcod.console_init_root` now has an optional `vsync` parameter.
|
|
772
1059
|
|
|
773
1060
|
## [10.0.5] - 2019-05-17
|
|
1061
|
+
|
|
774
1062
|
### Fixed
|
|
1063
|
+
|
|
775
1064
|
- Fixed shader compilation issues in the OPENGL2 renderer.
|
|
776
1065
|
- Fallback fonts should fail less on Linux.
|
|
777
1066
|
|
|
778
1067
|
## [10.0.4] - 2019-05-17
|
|
1068
|
+
|
|
779
1069
|
### Changed
|
|
1070
|
+
|
|
780
1071
|
- Now depends on cffi 0.12 or later.
|
|
781
1072
|
|
|
782
1073
|
### Fixed
|
|
1074
|
+
|
|
783
1075
|
- `tcod.console_init_root` and `tcod.console_set_custom_font` will raise
|
|
784
|
-
|
|
1076
|
+
exceptions instead of terminating.
|
|
785
1077
|
- Fixed issues preventing `tcod.event` from working on 32-bit Windows.
|
|
786
1078
|
|
|
787
1079
|
## [10.0.3] - 2019-05-10
|
|
1080
|
+
|
|
788
1081
|
### Fixed
|
|
1082
|
+
|
|
789
1083
|
- Corrected bounding box issues with the `Console.print_box` method.
|
|
790
1084
|
|
|
791
1085
|
## [10.0.2] - 2019-04-26
|
|
1086
|
+
|
|
792
1087
|
### Fixed
|
|
1088
|
+
|
|
793
1089
|
- Resolved Color warnings when importing tcod.
|
|
794
1090
|
- When compiling, fixed a name conflict with endianness macros on FreeBSD.
|
|
795
1091
|
|
|
796
1092
|
## [10.0.1] - 2019-04-19
|
|
1093
|
+
|
|
797
1094
|
### Fixed
|
|
1095
|
+
|
|
798
1096
|
- Fixed horizontal alignment for TrueType fonts.
|
|
799
1097
|
- Fixed taking screenshots with the older SDL renderer.
|
|
800
1098
|
|
|
801
1099
|
## [10.0.0] - 2019-03-29
|
|
1100
|
+
|
|
802
1101
|
### Added
|
|
1102
|
+
|
|
803
1103
|
- New `Console.tiles` array attribute.
|
|
1104
|
+
|
|
804
1105
|
### Changed
|
|
1106
|
+
|
|
805
1107
|
- `Console.DTYPE` changed to add alpha to its color types.
|
|
1108
|
+
|
|
806
1109
|
### Fixed
|
|
1110
|
+
|
|
807
1111
|
- Console printing was ignoring color codes at the beginning of a string.
|
|
808
1112
|
|
|
809
1113
|
## [9.3.0] - 2019-03-15
|
|
1114
|
+
|
|
810
1115
|
### Added
|
|
1116
|
+
|
|
811
1117
|
- The SDL2/OPENGL2 renderers can potentially use a fall-back font when none
|
|
812
|
-
|
|
1118
|
+
are provided.
|
|
813
1119
|
- New function `tcod.event.get_mouse_state`.
|
|
814
1120
|
- New function `tcod.map.compute_fov` lets you get a visibility array directly
|
|
815
|
-
|
|
1121
|
+
from a transparency array.
|
|
1122
|
+
|
|
816
1123
|
### Deprecated
|
|
1124
|
+
|
|
817
1125
|
- The following functions and classes have been deprecated.
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
1126
|
+
- `tcod.Key`
|
|
1127
|
+
- `tcod.Mouse`
|
|
1128
|
+
- `tcod.mouse_get_status`
|
|
1129
|
+
- `tcod.console_is_window_closed`
|
|
1130
|
+
- `tcod.console_check_for_keypress`
|
|
1131
|
+
- `tcod.console_wait_for_keypress`
|
|
1132
|
+
- `tcod.console_delete`
|
|
1133
|
+
- `tcod.sys_check_for_event`
|
|
1134
|
+
- `tcod.sys_wait_for_event`
|
|
827
1135
|
- The SDL, OPENGL, and GLSL renderers have been deprecated.
|
|
828
1136
|
- Many libtcodpy functions have been marked with PendingDeprecationWarning's.
|
|
1137
|
+
|
|
829
1138
|
### Fixed
|
|
1139
|
+
|
|
830
1140
|
- To be more compatible with libtcodpy `tcod.console_init_root` will default
|
|
831
|
-
|
|
1141
|
+
to the SDL render, but will raise warnings when an old renderer is used.
|
|
832
1142
|
|
|
833
1143
|
## [9.2.5] - 2019-03-04
|
|
1144
|
+
|
|
834
1145
|
### Fixed
|
|
1146
|
+
|
|
835
1147
|
- Fixed `tcod.namegen_generate_custom`.
|
|
836
1148
|
|
|
837
1149
|
## [9.2.4] - 2019-03-02
|
|
1150
|
+
|
|
838
1151
|
### Fixed
|
|
1152
|
+
|
|
839
1153
|
- The `tcod` package is has been marked as typed and will now work with MyPy.
|
|
840
1154
|
|
|
841
1155
|
## [9.2.3] - 2019-03-01
|
|
1156
|
+
|
|
842
1157
|
### Deprecated
|
|
1158
|
+
|
|
843
1159
|
- The behavior for negative indexes on the new print functions may change in
|
|
844
|
-
|
|
1160
|
+
the future.
|
|
845
1161
|
- Methods and functionality preventing `tcod.Color` from behaving like a tuple
|
|
846
|
-
|
|
1162
|
+
have been deprecated.
|
|
847
1163
|
|
|
848
1164
|
## [9.2.2] - 2019-02-26
|
|
1165
|
+
|
|
849
1166
|
### Fixed
|
|
1167
|
+
|
|
850
1168
|
- `Console.print_box` wasn't setting the background color by default.
|
|
851
1169
|
|
|
852
1170
|
## [9.2.1] - 2019-02-25
|
|
1171
|
+
|
|
853
1172
|
### Fixed
|
|
1173
|
+
|
|
854
1174
|
- `tcod.sys_get_char_size` fixed on the new renderers.
|
|
855
1175
|
|
|
856
1176
|
## [9.2.0] - 2019-02-24
|
|
1177
|
+
|
|
857
1178
|
### Added
|
|
1179
|
+
|
|
858
1180
|
- New `tcod.console.get_height_rect` function, which can be used to get the
|
|
859
|
-
|
|
1181
|
+
height of a print call without an existing console.
|
|
860
1182
|
- New `tcod.tileset` module, with a `set_truetype_font` function.
|
|
1183
|
+
|
|
861
1184
|
### Fixed
|
|
1185
|
+
|
|
862
1186
|
- The new print methods now handle alignment according to how they were
|
|
863
|
-
|
|
1187
|
+
documented.
|
|
864
1188
|
- `SDL2` and `OPENGL2` now support screenshots.
|
|
865
1189
|
- Windows and MacOS builds now restrict exported SDL2 symbols to only
|
|
866
|
-
|
|
867
|
-
|
|
1190
|
+
SDL 2.0.5; This will avoid hard to debug import errors when the wrong
|
|
1191
|
+
version of SDL is dynamically linked.
|
|
868
1192
|
- The root console now starts with a white foreground.
|
|
869
1193
|
|
|
870
1194
|
## [9.1.0] - 2019-02-23
|
|
1195
|
+
|
|
871
1196
|
### Added
|
|
1197
|
+
|
|
872
1198
|
- Added the `tcod.random.MULTIPLY_WITH_CARRY` constant.
|
|
1199
|
+
|
|
873
1200
|
### Changed
|
|
1201
|
+
|
|
874
1202
|
- The overhead for warnings has been reduced when running Python with the
|
|
875
|
-
|
|
1203
|
+
optimize `-O` flag.
|
|
876
1204
|
- `tcod.random.Random` now provides a default algorithm.
|
|
877
1205
|
|
|
878
1206
|
## [9.0.0] - 2019-02-17
|
|
1207
|
+
|
|
879
1208
|
### Changed
|
|
1209
|
+
|
|
880
1210
|
- New console methods now default to an `fg` and `bg` of None instead of
|
|
881
|
-
|
|
1211
|
+
white-on-black.
|
|
882
1212
|
|
|
883
1213
|
## [8.5.0] - 2019-02-15
|
|
1214
|
+
|
|
884
1215
|
### Added
|
|
1216
|
+
|
|
885
1217
|
- `tcod.console.Console` now supports `str` and `repr`.
|
|
886
1218
|
- Added new Console methods which are independent from the console defaults.
|
|
887
1219
|
- You can now give an array when initializing a `tcod.console.Console`
|
|
888
|
-
|
|
1220
|
+
instance.
|
|
889
1221
|
- `Console.clear` can now take `ch`, `fg`, and `bg` parameters.
|
|
1222
|
+
|
|
890
1223
|
### Changed
|
|
1224
|
+
|
|
891
1225
|
- Updated libtcod to 1.10.6
|
|
892
1226
|
- Printing generates more compact layouts.
|
|
1227
|
+
|
|
893
1228
|
### Deprecated
|
|
1229
|
+
|
|
894
1230
|
- Most libtcodpy console functions have been replaced by the tcod.console
|
|
895
|
-
|
|
896
|
-
- Deprecated the `set_key_color` functions.
|
|
897
|
-
|
|
1231
|
+
module.
|
|
1232
|
+
- Deprecated the `set_key_color` functions. You can pass key colors to
|
|
1233
|
+
`Console.blit` instead.
|
|
898
1234
|
- `Console.clear` should be given the colors to clear with as parameters,
|
|
899
|
-
|
|
1235
|
+
rather than by using `default_fg` or `default_bg`.
|
|
900
1236
|
- Most functions which depend on console default values have been deprecated.
|
|
901
|
-
|
|
902
|
-
|
|
1237
|
+
The new deprecation warnings will give details on how to make default values
|
|
1238
|
+
explicit.
|
|
1239
|
+
|
|
903
1240
|
### Fixed
|
|
1241
|
+
|
|
904
1242
|
- `tcod.console.Console.blit` was ignoring the key color set by
|
|
905
|
-
|
|
1243
|
+
`Console.set_key_color`.
|
|
906
1244
|
- The `SDL2` and `OPENGL2` renders can now large numbers of tiles.
|
|
907
1245
|
|
|
908
1246
|
## [8.4.3] - 2019-02-06
|
|
1247
|
+
|
|
909
1248
|
### Changed
|
|
1249
|
+
|
|
910
1250
|
- Updated libtcod to 1.10.5
|
|
911
1251
|
- The SDL2/OPENGL2 renderers will now auto-detect a custom fonts key-color.
|
|
912
1252
|
|
|
913
1253
|
## [8.4.2] - 2019-02-05
|
|
1254
|
+
|
|
914
1255
|
### Deprecated
|
|
1256
|
+
|
|
915
1257
|
- The tdl module has been deprecated.
|
|
916
1258
|
- The libtcodpy parser functions have been deprecated.
|
|
1259
|
+
|
|
917
1260
|
### Fixed
|
|
1261
|
+
|
|
918
1262
|
- `tcod.image_is_pixel_transparent` and `tcod.image_get_alpha` now return
|
|
919
|
-
|
|
1263
|
+
values.
|
|
920
1264
|
- `Console.print_frame` was clearing tiles outside if its bounds.
|
|
921
1265
|
- The `FONT_LAYOUT_CP437` layout was incorrect.
|
|
922
1266
|
|
|
923
1267
|
## [8.4.1] - 2019-02-01
|
|
1268
|
+
|
|
924
1269
|
### Fixed
|
|
1270
|
+
|
|
925
1271
|
- Window event types were not upper-case.
|
|
926
1272
|
- Fixed regression where libtcodpy mouse wheel events unset mouse coordinates.
|
|
927
1273
|
|
|
928
1274
|
## [8.4.0] - 2019-01-31
|
|
1275
|
+
|
|
929
1276
|
### Added
|
|
1277
|
+
|
|
930
1278
|
- Added tcod.event module, based off of the sdlevent.py shim.
|
|
1279
|
+
|
|
931
1280
|
### Changed
|
|
1281
|
+
|
|
932
1282
|
- Updated libtcod to 1.10.3
|
|
1283
|
+
|
|
933
1284
|
### Fixed
|
|
1285
|
+
|
|
934
1286
|
- Fixed libtcodpy `struct_add_value_list` function.
|
|
935
1287
|
- Use correct math for tile-based delta in mouse events.
|
|
936
1288
|
- New renderers now support tile-based mouse coordinates.
|
|
937
1289
|
- SDL2 renderer will now properly refresh after the window is resized.
|
|
938
1290
|
|
|
939
1291
|
## [8.3.2] - 2018-12-28
|
|
1292
|
+
|
|
940
1293
|
### Fixed
|
|
1294
|
+
|
|
941
1295
|
- Fixed rare access violations for some functions which took strings as
|
|
942
|
-
|
|
1296
|
+
parameters, such as `tcod.console_init_root`.
|
|
943
1297
|
|
|
944
1298
|
## [8.3.1] - 2018-12-28
|
|
1299
|
+
|
|
945
1300
|
### Fixed
|
|
1301
|
+
|
|
946
1302
|
- libtcodpy key and mouse functions will no longer accept the wrong types.
|
|
947
1303
|
- The `new_struct` method was not being called for libtcodpy's custom parsers.
|
|
948
1304
|
|
|
949
1305
|
## [8.3.0] - 2018-12-08
|
|
1306
|
+
|
|
950
1307
|
### Added
|
|
1308
|
+
|
|
951
1309
|
- Added BSP traversal methods in tcod.bsp for parity with libtcodpy.
|
|
1310
|
+
|
|
952
1311
|
### Deprecated
|
|
1312
|
+
|
|
953
1313
|
- Already deprecated bsp functions are now even more deprecated.
|
|
954
1314
|
|
|
955
1315
|
## [8.2.0] - 2018-11-27
|
|
1316
|
+
|
|
956
1317
|
### Added
|
|
1318
|
+
|
|
957
1319
|
- New layout `tcod.FONT_LAYOUT_CP437`.
|
|
1320
|
+
|
|
958
1321
|
### Changed
|
|
1322
|
+
|
|
959
1323
|
- Updated libtcod to 1.10.2
|
|
960
1324
|
- `tcod.console_print_frame` and `Console.print_frame` now support Unicode
|
|
961
|
-
|
|
1325
|
+
strings.
|
|
1326
|
+
|
|
962
1327
|
### Deprecated
|
|
1328
|
+
|
|
963
1329
|
- Deprecated using bytes strings for all printing functions.
|
|
1330
|
+
|
|
964
1331
|
### Fixed
|
|
1332
|
+
|
|
965
1333
|
- Console objects are now initialized with spaces. This fixes some blit
|
|
966
|
-
|
|
1334
|
+
operations.
|
|
967
1335
|
- Unicode code-points above U+FFFF will now work on all platforms.
|
|
968
1336
|
|
|
969
1337
|
## [8.1.1] - 2018-11-16
|
|
1338
|
+
|
|
970
1339
|
### Fixed
|
|
1340
|
+
|
|
971
1341
|
- Printing a frame with an empty string no longer displays a title bar.
|
|
972
1342
|
|
|
973
1343
|
## [8.1.0] - 2018-11-15
|
|
1344
|
+
|
|
974
1345
|
### Changed
|
|
1346
|
+
|
|
975
1347
|
- Heightmap functions now support 'F_CONTIGUOUS' arrays.
|
|
976
1348
|
- `tcod.heightmap_new` now has an `order` parameter.
|
|
977
1349
|
- Updated SDL to 2.0.9
|
|
1350
|
+
|
|
978
1351
|
### Deprecated
|
|
1352
|
+
|
|
979
1353
|
- Deprecated heightmap functions which sample noise grids, this can be done
|
|
980
|
-
|
|
1354
|
+
using the `Noise.sample_ogrid` method.
|
|
981
1355
|
|
|
982
1356
|
## [8.0.0] - 2018-11-02
|
|
1357
|
+
|
|
983
1358
|
### Changed
|
|
1359
|
+
|
|
984
1360
|
- The default renderer can now be anything if not set manually.
|
|
985
1361
|
- Better error message for when a font file isn't found.
|
|
986
1362
|
|
|
987
1363
|
## [7.0.1] - 2018-10-27
|
|
1364
|
+
|
|
988
1365
|
### Fixed
|
|
1366
|
+
|
|
989
1367
|
- Building from source was failing because `console_2tris.glsl*` was missing
|
|
990
|
-
|
|
1368
|
+
from source distributions.
|
|
991
1369
|
|
|
992
1370
|
## [7.0.0] - 2018-10-25
|
|
1371
|
+
|
|
993
1372
|
### Added
|
|
1373
|
+
|
|
994
1374
|
- New `RENDERER_SDL2` and `RENDERER_OPENGL2` renderers.
|
|
1375
|
+
|
|
995
1376
|
### Changed
|
|
1377
|
+
|
|
996
1378
|
- Updated libtcod to 1.9.0
|
|
997
1379
|
- Now requires SDL 2.0.5, which is not trivially installable on
|
|
998
|
-
|
|
1380
|
+
Ubuntu 16.04 LTS.
|
|
1381
|
+
|
|
999
1382
|
### Removed
|
|
1383
|
+
|
|
1000
1384
|
- Dropped support for Python versions before 3.5
|
|
1001
1385
|
- Dropped support for MacOS versions before 10.9 Mavericks.
|
|
1002
1386
|
|
|
1003
1387
|
## [6.0.7] - 2018-10-24
|
|
1388
|
+
|
|
1004
1389
|
### Fixed
|
|
1390
|
+
|
|
1005
1391
|
- The root console no longer loses track of buffers and console defaults on a
|
|
1006
|
-
|
|
1392
|
+
renderer change.
|
|
1007
1393
|
|
|
1008
1394
|
## [6.0.6] - 2018-10-01
|
|
1395
|
+
|
|
1009
1396
|
### Fixed
|
|
1397
|
+
|
|
1010
1398
|
- Replaced missing wheels for older and 32-bit versions of MacOS.
|
|
1011
1399
|
|
|
1012
1400
|
## [6.0.5] - 2018-09-28
|
|
1401
|
+
|
|
1013
1402
|
### Fixed
|
|
1403
|
+
|
|
1014
1404
|
- Resolved CDefError error during source installs.
|
|
1015
1405
|
|
|
1016
1406
|
## [6.0.4] - 2018-09-11
|
|
1407
|
+
|
|
1017
1408
|
### Fixed
|
|
1409
|
+
|
|
1018
1410
|
- tcod.Key right-hand modifiers are now set independently at initialization,
|
|
1019
|
-
|
|
1411
|
+
instead of mirroring the left-hand modifier value.
|
|
1020
1412
|
|
|
1021
1413
|
## [6.0.3] - 2018-09-05
|
|
1414
|
+
|
|
1022
1415
|
### Fixed
|
|
1416
|
+
|
|
1023
1417
|
- tcod.Key and tcod.Mouse no longer ignore initiation parameters.
|
|
1024
1418
|
|
|
1025
1419
|
## [6.0.2] - 2018-08-28
|
|
1420
|
+
|
|
1026
1421
|
### Fixed
|
|
1422
|
+
|
|
1027
1423
|
- Fixed color constants missing at build-time.
|
|
1028
1424
|
|
|
1029
1425
|
## [6.0.1] - 2018-08-24
|
|
1426
|
+
|
|
1030
1427
|
### Fixed
|
|
1428
|
+
|
|
1031
1429
|
- Source distributions were missing C++ source files.
|
|
1032
1430
|
|
|
1033
1431
|
## [6.0.0] - 2018-08-23
|
|
1432
|
+
|
|
1034
1433
|
### Changed
|
|
1434
|
+
|
|
1035
1435
|
- Project renamed to tcod on PyPI.
|
|
1436
|
+
|
|
1036
1437
|
### Deprecated
|
|
1438
|
+
|
|
1037
1439
|
- Passing bytes strings to libtcodpy print functions is deprecated.
|
|
1440
|
+
|
|
1038
1441
|
### Fixed
|
|
1442
|
+
|
|
1039
1443
|
- Fixed libtcodpy print functions not accepting bytes strings.
|
|
1040
1444
|
- libtcod constants are now generated at build-time fixing static analysis
|
|
1041
|
-
|
|
1445
|
+
tools.
|
|
1042
1446
|
|
|
1043
1447
|
## [5.0.1] - 2018-07-08
|
|
1448
|
+
|
|
1044
1449
|
### Fixed
|
|
1450
|
+
|
|
1045
1451
|
- tdl.event no longer crashes with StopIteration on Python 3.7
|
|
1046
1452
|
|
|
1047
1453
|
## [5.0.0] - 2018-07-05
|
|
1454
|
+
|
|
1048
1455
|
### Changed
|
|
1456
|
+
|
|
1049
1457
|
- tcod.path: all classes now use `shape` instead of `width` and `height`.
|
|
1050
1458
|
- tcod.path now respects NumPy array shape, instead of assuming that arrays
|
|
1051
|
-
|
|
1052
|
-
|
|
1459
|
+
need to be transposed from C memory order. From now on `x` and `y` mean
|
|
1460
|
+
1st and 2nd axis. This doesn't affect non-NumPy code.
|
|
1053
1461
|
- tcod.path now has full support of non-contiguous memory.
|
|
1054
1462
|
|
|
1055
1463
|
## [4.6.1] - 2018-06-30
|
|
1464
|
+
|
|
1056
1465
|
### Added
|
|
1466
|
+
|
|
1057
1467
|
- New function `tcod.line_where` for indexing NumPy arrays using a Bresenham
|
|
1058
|
-
|
|
1468
|
+
line.
|
|
1469
|
+
|
|
1059
1470
|
### Deprecated
|
|
1471
|
+
|
|
1060
1472
|
- Python 2.7 support will be dropped in the near future.
|
|
1061
1473
|
|
|
1062
1474
|
## [4.5.2] - 2018-06-29
|
|
1475
|
+
|
|
1063
1476
|
### Added
|
|
1477
|
+
|
|
1064
1478
|
- New wheels for Python3.7 on Windows.
|
|
1479
|
+
|
|
1065
1480
|
### Fixed
|
|
1481
|
+
|
|
1066
1482
|
- Arrays from `tcod.heightmap_new` are now properly zeroed out.
|
|
1067
1483
|
|
|
1068
1484
|
## [4.5.1] - 2018-06-23
|
|
1485
|
+
|
|
1069
1486
|
### Deprecated
|
|
1487
|
+
|
|
1070
1488
|
- Deprecated all libtcodpy map functions.
|
|
1489
|
+
|
|
1071
1490
|
### Fixed
|
|
1491
|
+
|
|
1072
1492
|
- `tcod.map_copy` could break the `tcod.map.Map` class.
|
|
1073
1493
|
- `tcod.map_clear` `transparent` and `walkable` parameters were reversed.
|
|
1074
1494
|
- When multiple SDL2 headers were installed, the wrong ones would be used when
|
|
1075
|
-
|
|
1495
|
+
the library is built.
|
|
1076
1496
|
- Fails to build via pip unless Numpy is installed first.
|
|
1077
1497
|
|
|
1078
1498
|
## [4.5.0] - 2018-06-12
|
|
1499
|
+
|
|
1079
1500
|
### Changed
|
|
1501
|
+
|
|
1080
1502
|
- Updated libtcod to v1.7.0
|
|
1081
1503
|
- Updated SDL to v2.0.8
|
|
1082
1504
|
- Error messages when failing to create an SDL window should be a less vague.
|
|
1083
1505
|
- You no longer need to initialize libtcod before you can print to an
|
|
1084
|
-
|
|
1506
|
+
off-screen console.
|
|
1507
|
+
|
|
1085
1508
|
### Fixed
|
|
1509
|
+
|
|
1086
1510
|
- Avoid crashes if the root console has a character code higher than expected.
|
|
1511
|
+
|
|
1087
1512
|
### Removed
|
|
1513
|
+
|
|
1088
1514
|
- No more debug output when loading fonts.
|
|
1089
1515
|
|
|
1090
1516
|
## [4.4.0] - 2018-05-02
|
|
1517
|
+
|
|
1091
1518
|
### Added
|
|
1092
|
-
|
|
1093
|
-
|
|
1519
|
+
|
|
1520
|
+
- Added the libtcodpy module as an alias for tcod. Actual use of it is
|
|
1521
|
+
deprecated, it exists primarily for backward compatibility.
|
|
1094
1522
|
- Adding missing libtcodpy functions `console_has_mouse_focus` and
|
|
1095
|
-
|
|
1523
|
+
`console_is_active`.
|
|
1524
|
+
|
|
1096
1525
|
### Changed
|
|
1526
|
+
|
|
1097
1527
|
- Updated libtcod to v1.6.6
|
|
1098
1528
|
|
|
1099
1529
|
## [4.3.2] - 2018-03-18
|
|
1530
|
+
|
|
1100
1531
|
### Deprecated
|
|
1532
|
+
|
|
1101
1533
|
- Deprecated the use of falsy console parameters with libtcodpy functions.
|
|
1534
|
+
|
|
1102
1535
|
### Fixed
|
|
1536
|
+
|
|
1103
1537
|
- Fixed libtcodpy image functions not supporting falsy console parameters.
|
|
1104
1538
|
- Fixed tdl `Window.get_char` method. (Kaczor2704)
|
|
1105
1539
|
|
|
1106
1540
|
## [4.3.1] - 2018-03-07
|
|
1541
|
+
|
|
1107
1542
|
### Fixed
|
|
1543
|
+
|
|
1108
1544
|
- Fixed cffi.api.FFIError "unsupported expression: expected a simple numeric
|
|
1109
|
-
|
|
1110
|
-
|
|
1545
|
+
constant" error when building on platforms with an older cffi module and
|
|
1546
|
+
newer SDL headers.
|
|
1111
1547
|
- tcod/tdl Map and Console objects were not saving stride data when pickled.
|
|
1112
1548
|
|
|
1113
1549
|
## [4.3.0] - 2018-02-01
|
|
1550
|
+
|
|
1114
1551
|
### Added
|
|
1552
|
+
|
|
1115
1553
|
- You can now set the numpy memory order on tcod.console.Console,
|
|
1116
|
-
|
|
1117
|
-
|
|
1554
|
+
tcod.map.Map, and tdl.map.Map objects well as from the
|
|
1555
|
+
tcod.console_init_root function.
|
|
1556
|
+
|
|
1118
1557
|
### Changed
|
|
1558
|
+
|
|
1119
1559
|
- The `console_init_root` `title` parameter is now optional.
|
|
1560
|
+
|
|
1120
1561
|
### Fixed
|
|
1562
|
+
|
|
1121
1563
|
- OpenGL renderer alpha blending is now consistent with all other render
|
|
1122
|
-
|
|
1564
|
+
modes.
|
|
1123
1565
|
|
|
1124
1566
|
## [4.2.3] - 2018-01-06
|
|
1567
|
+
|
|
1125
1568
|
### Fixed
|
|
1569
|
+
|
|
1126
1570
|
- Fixed setup.py regression that could prevent building outside of the git
|
|
1127
|
-
|
|
1571
|
+
repository.
|
|
1128
1572
|
|
|
1129
1573
|
## [4.2.2] - 2018-01-06
|
|
1574
|
+
|
|
1130
1575
|
### Fixed
|
|
1576
|
+
|
|
1131
1577
|
- The Windows dynamic linker will now prefer the bundled version of SDL.
|
|
1132
|
-
|
|
1133
|
-
|
|
1578
|
+
This fixes:
|
|
1579
|
+
"ImportError: DLL load failed: The specified procedure could not be found."
|
|
1134
1580
|
- `key.c` is no longer set when `key.vk == KEY_TEXT`, this fixes a regression
|
|
1135
|
-
|
|
1581
|
+
which was causing events to be heard twice in the libtcod/Python tutorial.
|
|
1136
1582
|
|
|
1137
1583
|
## [4.2.0] - 2018-01-02
|
|
1584
|
+
|
|
1138
1585
|
### Changed
|
|
1586
|
+
|
|
1139
1587
|
- Updated libtcod backend to v1.6.4
|
|
1140
1588
|
- Updated SDL to v2.0.7 for Windows/MacOS.
|
|
1589
|
+
|
|
1141
1590
|
### Removed
|
|
1591
|
+
|
|
1142
1592
|
- Source distributions no longer include tests, examples, or fonts.
|
|
1143
|
-
|
|
1593
|
+
[Find these on GitHub.](https://github.com/libtcod/python-tcod)
|
|
1594
|
+
|
|
1144
1595
|
### Fixed
|
|
1596
|
+
|
|
1145
1597
|
- Fixed "final link failed: Nonrepresentable section on output" error
|
|
1146
|
-
|
|
1598
|
+
when compiling for Linux.
|
|
1147
1599
|
- `tcod.console_init_root` defaults to the SDL renderer, other renderers
|
|
1148
|
-
|
|
1600
|
+
cause issues with mouse movement events.
|
|
1149
1601
|
|
|
1150
1602
|
## [4.1.1] - 2017-11-02
|
|
1603
|
+
|
|
1151
1604
|
### Fixed
|
|
1605
|
+
|
|
1152
1606
|
- Fixed `ConsoleBuffer.blit` regression.
|
|
1153
1607
|
- Console defaults corrected, the root console's blend mode and alignment is
|
|
1154
|
-
|
|
1608
|
+
the default value for newly made Console's.
|
|
1155
1609
|
- You can give a byte string as a filename to load parsers.
|
|
1156
1610
|
|
|
1157
1611
|
## [4.1.0] - 2017-07-19
|
|
1612
|
+
|
|
1158
1613
|
### Added
|
|
1614
|
+
|
|
1159
1615
|
- tdl Map class can now be pickled.
|
|
1616
|
+
|
|
1160
1617
|
### Changed
|
|
1618
|
+
|
|
1161
1619
|
- Added protection to the `transparent`, `walkable`, and `fov`
|
|
1162
|
-
|
|
1163
|
-
|
|
1620
|
+
attributes in tcod and tdl Map classes, to prevent them from being
|
|
1621
|
+
accidentally overridden.
|
|
1164
1622
|
- tcod and tdl Map classes now use numpy arrays as their attributes.
|
|
1165
1623
|
|
|
1166
1624
|
## [4.0.1] - 2017-07-12
|
|
1625
|
+
|
|
1167
1626
|
### Fixed
|
|
1627
|
+
|
|
1168
1628
|
- tdl: Fixed NameError in `set_fps`.
|
|
1169
1629
|
|
|
1170
1630
|
## [4.0.0] - 2017-07-08
|
|
1631
|
+
|
|
1171
1632
|
### Changed
|
|
1633
|
+
|
|
1172
1634
|
- tcod.bsp: `BSP.split_recursive` parameter `random` is now `seed`.
|
|
1173
1635
|
- tcod.console: `Console.blit` parameters have been rearranged.
|
|
1174
|
-
|
|
1636
|
+
Most of the parameters are now optional.
|
|
1175
1637
|
- tcod.noise: `Noise.__init__` parameter `rand` is now named `seed`.
|
|
1176
1638
|
- tdl: Changed `set_fps` parameter name to `fps`.
|
|
1639
|
+
|
|
1177
1640
|
### Fixed
|
|
1641
|
+
|
|
1178
1642
|
- tcod.bsp: Corrected spelling of max_vertical_ratio.
|
|
1179
1643
|
|
|
1180
1644
|
## [3.2.0] - 2017-07-04
|
|
1645
|
+
|
|
1181
1646
|
### Changed
|
|
1647
|
+
|
|
1182
1648
|
- Merged libtcod-cffi dependency with TDL.
|
|
1649
|
+
|
|
1183
1650
|
### Fixed
|
|
1651
|
+
|
|
1184
1652
|
- Fixed boolean related crashes with Key 'text' events.
|
|
1185
|
-
- tdl.noise: Fixed crash when given a negative seed.
|
|
1186
|
-
|
|
1653
|
+
- tdl.noise: Fixed crash when given a negative seed. As well as cases
|
|
1654
|
+
where an instance could lose its seed being pickled.
|
|
1187
1655
|
|
|
1188
1656
|
## [3.1.0] - 2017-05-28
|
|
1657
|
+
|
|
1189
1658
|
### Added
|
|
1659
|
+
|
|
1190
1660
|
- You can now pass tdl Console instances as parameters to libtcod-cffi
|
|
1191
|
-
|
|
1661
|
+
functions expecting a tcod Console.
|
|
1662
|
+
|
|
1192
1663
|
### Changed
|
|
1664
|
+
|
|
1193
1665
|
- Dependencies updated: `libtcod-cffi>=2.5.0,<3`
|
|
1194
1666
|
- The `Console.tcod_console` attribute is being renamed to
|
|
1195
|
-
|
|
1667
|
+
`Console.console_c`.
|
|
1668
|
+
|
|
1196
1669
|
### Deprecated
|
|
1670
|
+
|
|
1197
1671
|
- The tdl.noise and tdl.map modules will be deprecated in the future.
|
|
1672
|
+
|
|
1198
1673
|
### Fixed
|
|
1674
|
+
|
|
1199
1675
|
- Resolved crash-on-exit issues for Windows platforms.
|
|
1200
1676
|
|
|
1201
1677
|
## [3.0.2] - 2017-04-13
|
|
1678
|
+
|
|
1202
1679
|
### Changed
|
|
1680
|
+
|
|
1203
1681
|
- Dependencies updated: `libtcod-cffi>=2.4.3,<3`
|
|
1204
1682
|
- You can now create Console instances before a call to `tdl.init`.
|
|
1683
|
+
|
|
1205
1684
|
### Removed
|
|
1685
|
+
|
|
1206
1686
|
- Dropped support for Python 3.3
|
|
1687
|
+
|
|
1207
1688
|
### Fixed
|
|
1689
|
+
|
|
1208
1690
|
- Resolved issues with MacOS builds.
|
|
1209
1691
|
- 'OpenGL' and 'GLSL' renderers work again.
|
|
1210
1692
|
|
|
1211
1693
|
## [3.0.1] - 2017-03-22
|
|
1694
|
+
|
|
1212
1695
|
### Changed
|
|
1696
|
+
|
|
1213
1697
|
- `KeyEvent`'s with `text` now have all their modifier keys set to False.
|
|
1698
|
+
|
|
1214
1699
|
### Fixed
|
|
1700
|
+
|
|
1215
1701
|
- Undefined behavior in text events caused crashes on 32-bit builds.
|
|
1216
1702
|
|
|
1217
1703
|
## [3.0.0] - 2017-03-21
|
|
1704
|
+
|
|
1218
1705
|
### Added
|
|
1706
|
+
|
|
1219
1707
|
- `KeyEvent` supports libtcod text and meta keys.
|
|
1708
|
+
|
|
1220
1709
|
### Changed
|
|
1710
|
+
|
|
1221
1711
|
- `KeyEvent` parameters have been moved.
|
|
1222
1712
|
- This version requires `libtcod-cffi>=2.3.0`.
|
|
1713
|
+
|
|
1223
1714
|
### Deprecated
|
|
1715
|
+
|
|
1224
1716
|
- `KeyEvent` camel capped attribute names are deprecated.
|
|
1717
|
+
|
|
1225
1718
|
### Fixed
|
|
1719
|
+
|
|
1226
1720
|
- Crashes with key-codes undefined by libtcod.
|
|
1227
1721
|
- `tdl.map` typedef issues with libtcod-cffi.
|
|
1228
1722
|
|
|
1229
|
-
|
|
1230
1723
|
## [2.0.1] - 2017-02-22
|
|
1724
|
+
|
|
1231
1725
|
### Fixed
|
|
1726
|
+
|
|
1232
1727
|
- `tdl.init` renderer was defaulted to OpenGL which is not supported in the
|
|
1233
|
-
|
|
1728
|
+
current version of libtcod.
|
|
1234
1729
|
|
|
1235
1730
|
## [2.0.0] - 2017-02-15
|
|
1731
|
+
|
|
1236
1732
|
### Changed
|
|
1733
|
+
|
|
1237
1734
|
- Dependencies updated, tdl now requires libtcod-cffi 2.x.x
|
|
1238
1735
|
- Some event behaviors have changed with SDL2, event keys might be different
|
|
1239
|
-
|
|
1736
|
+
than what you expect.
|
|
1737
|
+
|
|
1240
1738
|
### Removed
|
|
1739
|
+
|
|
1241
1740
|
- Key repeat functions were removed from SDL2.
|
|
1242
|
-
|
|
1741
|
+
`set_key_repeat` is now stubbed, and does nothing.
|
|
1243
1742
|
|
|
1244
1743
|
## [1.6.0] - 2016-11-18
|
|
1744
|
+
|
|
1245
1745
|
- Console.blit methods can now take fg_alpha and bg_alpha parameters.
|
|
1246
1746
|
|
|
1247
1747
|
## [1.5.3] - 2016-06-04
|
|
1748
|
+
|
|
1248
1749
|
- set_font no longer crashes when loading a file without the implied font
|
|
1249
1750
|
size in its name
|
|
1250
1751
|
|
|
1251
1752
|
## [1.5.2] - 2016-03-11
|
|
1753
|
+
|
|
1252
1754
|
- Fixed non-square Map instances
|
|
1253
1755
|
|
|
1254
1756
|
## [1.5.1] - 2015-12-20
|
|
1757
|
+
|
|
1255
1758
|
- Fixed errors with Unicode and non-Unicode literals on Python 2
|
|
1256
1759
|
- Fixed attribute error in compute_fov
|
|
1257
1760
|
|
|
1258
1761
|
## [1.5.0] - 2015-07-13
|
|
1762
|
+
|
|
1259
1763
|
- python-tdl distributions are now universal builds
|
|
1260
1764
|
- New Map class
|
|
1261
1765
|
- map.bresenham now returns a list
|
|
1262
1766
|
- This release will require libtcod-cffi v0.2.3 or later
|
|
1263
1767
|
|
|
1264
1768
|
## [1.4.0] - 2015-06-22
|
|
1769
|
+
|
|
1265
1770
|
- The DLL's have been moved into another library which you can find at
|
|
1266
1771
|
https://github.com/HexDecimal/libtcod-cffi
|
|
1267
1772
|
You can use this library to have some raw access to libtcod if you want.
|
|
1268
1773
|
Plus it can be used alongside TDL.
|
|
1269
1774
|
- The libtcod console objects in Console instances have been made public.
|
|
1270
|
-
- Added tdl.event.wait function.
|
|
1775
|
+
- Added tdl.event.wait function. This function can called with a timeout and
|
|
1271
1776
|
can automatically call tdl.flush.
|
|
1272
1777
|
|
|
1273
1778
|
## [1.3.1] - 2015-06-19
|
|
1779
|
+
|
|
1274
1780
|
- Fixed pathfinding regressions.
|
|
1275
1781
|
|
|
1276
1782
|
## [1.3.0] - 2015-06-19
|
|
1277
|
-
|
|
1783
|
+
|
|
1784
|
+
- Updated backend to use python-cffi instead of ctypes. This gives decent
|
|
1278
1785
|
boost to speed in CPython and a drastic to boost in speed in PyPy.
|
|
1279
1786
|
|
|
1280
1787
|
## [1.2.0] - 2015-06-06
|
|
1281
|
-
|
|
1282
|
-
|
|
1788
|
+
|
|
1789
|
+
- The set*colors method now changes the default colors used by the draw*\*
|
|
1790
|
+
methods. You can use Python's Ellipsis to explicitly select default colors
|
|
1283
1791
|
this way.
|
|
1284
1792
|
- Functions and Methods renamed to match Python's style-guide PEP 8, the old
|
|
1285
1793
|
function names still exist and are depreciated.
|
|
1286
1794
|
- The fgcolor and bgcolor parameters have been shortened to fg and bg.
|
|
1287
1795
|
|
|
1288
1796
|
## [1.1.7] - 2015-03-19
|
|
1797
|
+
|
|
1289
1798
|
- Noise generator now seeds properly.
|
|
1290
1799
|
- The OS event queue will now be handled during a call to tdl.flush. This
|
|
1291
1800
|
prevents a common newbie programmer hang where events are handled
|
|
@@ -1293,11 +1802,13 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1293
1802
|
- Fixed a major bug that would cause a crash in later versions of Python 3
|
|
1294
1803
|
|
|
1295
1804
|
## [1.1.6] - 2014-06-27
|
|
1805
|
+
|
|
1296
1806
|
- Fixed a race condition when importing on some platforms.
|
|
1297
1807
|
- Fixed a type issue with quickFOV on Linux.
|
|
1298
1808
|
- Added a bresenham function to the tdl.map module.
|
|
1299
1809
|
|
|
1300
1810
|
## [1.1.5] - 2013-11-10
|
|
1811
|
+
|
|
1301
1812
|
- A for loop can iterate over all coordinates of a Console.
|
|
1302
1813
|
- drawStr can be configured to scroll or raise an error.
|
|
1303
1814
|
- You can now configure or disable key repeating with tdl.event.setKeyRepeat
|
|
@@ -1305,6 +1816,7 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1305
1816
|
- setColors method fixed.
|
|
1306
1817
|
|
|
1307
1818
|
## [1.1.4] - 2013-03-06
|
|
1819
|
+
|
|
1308
1820
|
- Merged the Typewriter and MetaConsole classes,
|
|
1309
1821
|
You now have a virtual cursor with Console and Window objects.
|
|
1310
1822
|
- Fixed the clear method on the Window class.
|
|
@@ -1315,11 +1827,13 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1315
1827
|
- Fixed event.keyWait, and now converts window closed events into Alt+F4.
|
|
1316
1828
|
|
|
1317
1829
|
## [1.1.3] - 2012-12-17
|
|
1830
|
+
|
|
1318
1831
|
- Some of the setFont parameters were incorrectly labeled and documented.
|
|
1319
1832
|
- setFont can auto-detect tilesets if the font sizes are in the filenames.
|
|
1320
1833
|
- Added some X11 unicode tilesets, including Unifont.
|
|
1321
1834
|
|
|
1322
1835
|
## [1.1.2] - 2012-12-13
|
|
1836
|
+
|
|
1323
1837
|
- Window title now defaults to the running scripts filename.
|
|
1324
1838
|
- Fixed incorrect deltaTime for App.update
|
|
1325
1839
|
- App will no longer call tdl.flush on its own, you'll need to call this
|
|
@@ -1328,6 +1842,7 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1328
1842
|
- clear method now defaults to black on black.
|
|
1329
1843
|
|
|
1330
1844
|
## [1.1.1] - 2012-12-05
|
|
1845
|
+
|
|
1331
1846
|
- Map submodule added with AStar class and quickFOV function.
|
|
1332
1847
|
- New Typewriter class.
|
|
1333
1848
|
- Most console functions can use Python-style negative indexes now.
|
|
@@ -1335,6 +1850,7 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1335
1850
|
- Rectangle geometry is less strict.
|
|
1336
1851
|
|
|
1337
1852
|
## [1.1.0] - 2012-10-04
|
|
1853
|
+
|
|
1338
1854
|
- KeyEvent.keyname is now KeyEvent.key
|
|
1339
1855
|
- MouseButtonEvent.button now behaves like KeyEvent.keyname does.
|
|
1340
1856
|
- event.App class added.
|
|
@@ -1342,20 +1858,24 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
1342
1858
|
- KeyEvent.ctrl is now KeyEvent.control
|
|
1343
1859
|
|
|
1344
1860
|
## [1.0.8] - 2010-04-07
|
|
1861
|
+
|
|
1345
1862
|
- No longer works in Python 2.5 but now works in 3.x and has been partly
|
|
1346
1863
|
tested.
|
|
1347
1864
|
- Many bug fixes.
|
|
1348
1865
|
|
|
1349
1866
|
## [1.0.5] - 2010-04-06
|
|
1867
|
+
|
|
1350
1868
|
- Got rid of setuptools dependency, this will make it much more compatible
|
|
1351
1869
|
with Python 3.x
|
|
1352
1870
|
- Fixed a typo with the MacOS library import.
|
|
1353
1871
|
|
|
1354
1872
|
## [1.0.4] - 2010-04-06
|
|
1355
|
-
|
|
1873
|
+
|
|
1874
|
+
- All constant colors (C\_\*) have been removed, they may be put back in later.
|
|
1356
1875
|
- Made some type assertion failures show the value they received to help in
|
|
1357
|
-
general debugging.
|
|
1876
|
+
general debugging. Still working on it.
|
|
1358
1877
|
- Added MacOS and 64-bit Linux support.
|
|
1359
1878
|
|
|
1360
1879
|
## [1.0.0] - 2009-01-31
|
|
1880
|
+
|
|
1361
1881
|
- First public release.
|