tcod 19.6.0__tar.gz → 19.6.1__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-19.6.0 → tcod-19.6.1}/CHANGELOG.md +6 -0
- {tcod-19.6.0 → tcod-19.6.1}/PKG-INFO +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/build_sdl.py +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/tcod/cffi.py +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/tcod/context.py +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/tcod/event.py +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/tcod/libtcodpy.py +5 -5
- {tcod-19.6.0 → tcod-19.6.1}/tcod/path.py +4 -4
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/_internal.py +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/audio.py +13 -9
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/render.py +2 -2
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/video.py +2 -2
- {tcod-19.6.0 → tcod-19.6.1}/tcod/version.py +3 -3
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/PKG-INFO +1 -1
- {tcod-19.6.0 → tcod-19.6.1}/CONTRIBUTING.md +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/LICENSE.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/MANIFEST.in +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/README.rst +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/build_libtcod.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/CHANGELOG.md +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/CMakeLists.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/CONTRIBUTING.md +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/LIBTCOD-CREDITS.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/LICENSE.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/README.md +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/bresenham.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/bresenham_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/bsp.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/bsp_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/color.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/color.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/config.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_drawing.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_drawing.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_etc.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_etc.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_init.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_init.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_printing.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_printing.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_rexpaint.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_rexpaint.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/console_types.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context_init.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context_init.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context_viewport.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/context_viewport.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/error.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/error.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_circular_raycasting.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_diamond_raycasting.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_permissive2.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_recursive_shadowcasting.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_restrictive.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_symmetric_shadowcast.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/fov_types.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/globals.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/globals.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/heapq.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/heapq.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/heightmap.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/heightmap_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/image.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/image_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/lex.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/lex_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/libtcod.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/libtcod_int.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/list.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/list_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/logging.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/logging.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/mersenne.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/mersenne_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/mersenne_types.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/mouse.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/mouse_types.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/namegen.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/namegen_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/noise.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/noise_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/noise_defaults.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/parser.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/parser_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/path.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/path_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/pathfinder.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/pathfinder.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/pathfinder_frontier.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/pathfinder_frontier.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/portability.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/random.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/random.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/renderer_sdl2.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/renderer_sdl2.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/renderer_xterm.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/renderer_xterm.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sdl2/console_grid.glslf +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sdl2/console_grid.glslv +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sdl2/event.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sys.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sys_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sys_sdl_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sys_sdl_img_bmp.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/sys_sdl_img_png.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_bdf.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_bdf.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_fallback.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_fallback.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_render.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_render.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_truetype.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tileset_truetype.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/timer.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tree.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/tree_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/txtfield.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/txtfield_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/utility.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/version.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/wrappers.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/wrappers.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/zip.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod/zip_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/libtcod_c.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/khrplatform.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/lodepng.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/lodepng.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/stb.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/stb_ds.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/stb_truetype.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/utf8proc/utf8proc.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/utf8proc/utf8proc.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/utf8proc/utf8proc_data.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/adler32.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/compress.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/crc32.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/crc32.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/deflate.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/deflate.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/gzclose.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/gzguts.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/gzlib.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/gzread.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/gzwrite.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/infback.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inffast.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inffast.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inffixed.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inflate.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inflate.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inftrees.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/inftrees.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/trees.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/trees.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/uncompr.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/zconf.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/zlib.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/zutil.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcod/src/vendor/zlib/zutil.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/libtcodpy.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/pyproject.toml +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/requirements.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/setup.cfg +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/setup.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/__init__.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/__pyinstaller/__init__.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/__pyinstaller/hook-tcod.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/_internal.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/_libtcod.pyi +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/bsp.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/cdef.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/cffi.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/color.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/console.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/constants.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/event_constants.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/image.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/los.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/map.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/noise.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/noise.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/noise.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/path.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/path.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/py.typed +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/random.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/random.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/render.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/__init__.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/constants.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/joystick.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/mouse.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/sdl/sys.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/tcod.c +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/tcod.h +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/tcod.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod/tileset.py +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/SOURCES.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/dependency_links.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/entry_points.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/requires.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tcod.egg-info/top_level.txt +0 -0
- {tcod-19.6.0 → tcod-19.6.1}/tox.ini +0 -0
|
@@ -6,6 +6,12 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [19.6.1] - 2025-12-15
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `tcod.event.add_watch` was crashing due to a cdef type mismatch.
|
|
14
|
+
|
|
9
15
|
## [19.6.0] - 2025-10-20
|
|
10
16
|
|
|
11
17
|
### Added
|
|
@@ -311,7 +311,7 @@ void _sdl_audio_stream_callback(void* userdata, SDL_AudioStream *stream, int add
|
|
|
311
311
|
// SDL to Python log function.
|
|
312
312
|
void _sdl_log_output_function(void *userdata, int category, SDL_LogPriority priority, const char *message);
|
|
313
313
|
// Generic event watcher callback.
|
|
314
|
-
|
|
314
|
+
bool _sdl_event_watcher(void* userdata, SDL_Event* event);
|
|
315
315
|
}
|
|
316
316
|
"""
|
|
317
317
|
|
|
@@ -60,7 +60,7 @@ from tcod._libtcod import ffi, lib # noqa: E402
|
|
|
60
60
|
__sdl_version__ = get_sdl_version()
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
@ffi.def_extern() # type: ignore[
|
|
63
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
64
64
|
def _libtcod_log_watcher(message: Any, _userdata: None) -> None: # noqa: ANN401
|
|
65
65
|
text = str(ffi.string(message.message), encoding="utf-8")
|
|
66
66
|
source = str(ffi.string(message.source), encoding="utf-8")
|
|
@@ -444,7 +444,7 @@ class Context:
|
|
|
444
444
|
raise pickle.PicklingError(msg)
|
|
445
445
|
|
|
446
446
|
|
|
447
|
-
@ffi.def_extern() # type: ignore[
|
|
447
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
448
448
|
def _pycall_cli_output(catch_reference: Any, output: Any) -> None: # noqa: ANN401
|
|
449
449
|
"""Callback for the libtcod context CLI.
|
|
450
450
|
|
|
@@ -1564,7 +1564,7 @@ def get_mouse_state() -> MouseState:
|
|
|
1564
1564
|
return MouseState((xy[0], xy[1]), (int(tile[0]), int(tile[1])), buttons)
|
|
1565
1565
|
|
|
1566
1566
|
|
|
1567
|
-
@ffi.def_extern() # type: ignore[
|
|
1567
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
1568
1568
|
def _sdl_event_watcher(userdata: Any, sdl_event: Any) -> int:
|
|
1569
1569
|
callback: Callable[[Event], None] = ffi.from_handle(userdata)
|
|
1570
1570
|
callback(_parse_event(sdl_event))
|
|
@@ -3607,27 +3607,27 @@ _parser_callback_lock = threading.Lock()
|
|
|
3607
3607
|
_parser_listener: Any = None
|
|
3608
3608
|
|
|
3609
3609
|
|
|
3610
|
-
@ffi.def_extern() # type: ignore[
|
|
3610
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
3611
3611
|
def _pycall_parser_new_struct(struct: Any, name: str) -> Any:
|
|
3612
3612
|
return _parser_listener.new_struct(struct, _unpack_char_p(name))
|
|
3613
3613
|
|
|
3614
3614
|
|
|
3615
|
-
@ffi.def_extern() # type: ignore[
|
|
3615
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
3616
3616
|
def _pycall_parser_new_flag(name: str) -> Any:
|
|
3617
3617
|
return _parser_listener.new_flag(_unpack_char_p(name))
|
|
3618
3618
|
|
|
3619
3619
|
|
|
3620
|
-
@ffi.def_extern() # type: ignore[
|
|
3620
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
3621
3621
|
def _pycall_parser_new_property(propname: Any, type: Any, value: Any) -> Any:
|
|
3622
3622
|
return _parser_listener.new_property(_unpack_char_p(propname), type, _unpack_union(type, value))
|
|
3623
3623
|
|
|
3624
3624
|
|
|
3625
|
-
@ffi.def_extern() # type: ignore[
|
|
3625
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
3626
3626
|
def _pycall_parser_end_struct(struct: Any, name: Any) -> Any:
|
|
3627
3627
|
return _parser_listener.end_struct(struct, _unpack_char_p(name))
|
|
3628
3628
|
|
|
3629
3629
|
|
|
3630
|
-
@ffi.def_extern() # type: ignore[
|
|
3630
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
3631
3631
|
def _pycall_parser_error(msg: Any) -> None:
|
|
3632
3632
|
_parser_listener.error(_unpack_char_p(msg))
|
|
3633
3633
|
|
|
@@ -35,26 +35,26 @@ if TYPE_CHECKING:
|
|
|
35
35
|
from numpy.typing import ArrayLike, DTypeLike, NDArray
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
@ffi.def_extern() # type: ignore[
|
|
38
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
39
39
|
def _pycall_path_old(x1: int, y1: int, x2: int, y2: int, handle: Any) -> float: # noqa: ANN401
|
|
40
40
|
"""Libtcodpy style callback, needs to preserve the old userdata issue."""
|
|
41
41
|
func, userdata = ffi.from_handle(handle)
|
|
42
42
|
return func(x1, y1, x2, y2, userdata) # type: ignore[no-any-return]
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
@ffi.def_extern() # type: ignore[
|
|
45
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
46
46
|
def _pycall_path_simple(x1: int, y1: int, x2: int, y2: int, handle: Any) -> float: # noqa: ANN401
|
|
47
47
|
"""Does less and should run faster, just calls the handle function."""
|
|
48
48
|
return ffi.from_handle(handle)(x1, y1, x2, y2) # type: ignore[no-any-return]
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
@ffi.def_extern() # type: ignore[
|
|
51
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
52
52
|
def _pycall_path_swap_src_dest(x1: int, y1: int, x2: int, y2: int, handle: Any) -> float: # noqa: ANN401
|
|
53
53
|
"""A TDL function dest comes first to match up with a dest only call."""
|
|
54
54
|
return ffi.from_handle(handle)(x2, y2, x1, y1) # type: ignore[no-any-return]
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
@ffi.def_extern() # type: ignore[
|
|
57
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
58
58
|
def _pycall_path_dest_only(_x1: int, _y1: int, x2: int, y2: int, handle: Any) -> float: # noqa: ANN401
|
|
59
59
|
"""A TDL function which samples the dest coordinate only."""
|
|
60
60
|
return ffi.from_handle(handle)(x2, y2) # type: ignore[no-any-return]
|
|
@@ -149,7 +149,7 @@ class Properties:
|
|
|
149
149
|
lib.SDL_SetPointerProperty(self.p, name, value._as_property_pointer())
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
@ffi.def_extern() # type: ignore[
|
|
152
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
153
153
|
def _sdl_log_output_function(_userdata: None, category: int, priority: int, message_p: Any) -> None: # noqa: ANN401
|
|
154
154
|
"""Pass logs sent by SDL to Python's logging system."""
|
|
155
155
|
message = str(ffi.string(message_p), encoding="utf-8")
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""SDL audio playback and recording tools.
|
|
2
2
|
|
|
3
3
|
This module includes SDL's low-level audio API and a naive implementation of an SDL mixer.
|
|
4
4
|
If you have experience with audio mixing then you might be better off writing your own mixer or
|
|
5
5
|
modifying the existing one which was written using Python/Numpy.
|
|
6
6
|
|
|
7
7
|
This module is designed to integrate with the wider Python ecosystem.
|
|
8
|
-
It leaves the loading to sound samples to other libraries
|
|
9
|
-
`
|
|
8
|
+
It leaves the loading to sound samples to other libraries such as
|
|
9
|
+
`soundfile <https://python-soundfile.readthedocs.io/en/latest/>`_.
|
|
10
|
+
|
|
11
|
+
Example::
|
|
10
12
|
|
|
11
|
-
Example:
|
|
12
13
|
# Synchronous audio example
|
|
13
14
|
import time
|
|
14
15
|
|
|
@@ -211,7 +212,8 @@ def convert_audio(
|
|
|
211
212
|
class AudioDevice:
|
|
212
213
|
"""An SDL audio device.
|
|
213
214
|
|
|
214
|
-
Example
|
|
215
|
+
Example::
|
|
216
|
+
|
|
215
217
|
device = tcod.sdl.audio.get_default_playback().open() # Open a common audio device
|
|
216
218
|
|
|
217
219
|
.. versionchanged:: 16.0
|
|
@@ -487,7 +489,7 @@ class AudioStream:
|
|
|
487
489
|
|
|
488
490
|
This class is commonly created with :any:`AudioDevice.new_stream` which creates a new stream bound to the device.
|
|
489
491
|
|
|
490
|
-
..versionadded:: 19.0
|
|
492
|
+
.. versionadded:: 19.0
|
|
491
493
|
"""
|
|
492
494
|
|
|
493
495
|
__slots__ = ("__weakref__", "_stream_p")
|
|
@@ -904,7 +906,7 @@ class BasicMixer:
|
|
|
904
906
|
audio_stream.queue_audio(stream)
|
|
905
907
|
|
|
906
908
|
|
|
907
|
-
@ffi.def_extern() # type: ignore[
|
|
909
|
+
@ffi.def_extern() # type: ignore[untyped-decorator]
|
|
908
910
|
def _sdl_audio_stream_callback(userdata: Any, stream_p: Any, additional_amount: int, total_amount: int, /) -> None: # noqa: ANN401
|
|
909
911
|
"""Handle audio device callbacks."""
|
|
910
912
|
stream = AudioStream(stream_p)
|
|
@@ -957,7 +959,8 @@ def get_capture_devices() -> dict[str, AudioDevice]:
|
|
|
957
959
|
def get_default_playback() -> AudioDevice:
|
|
958
960
|
"""Return the default playback device.
|
|
959
961
|
|
|
960
|
-
Example
|
|
962
|
+
Example::
|
|
963
|
+
|
|
961
964
|
playback_device = tcod.sdl.audio.get_default_playback().open()
|
|
962
965
|
|
|
963
966
|
.. versionadded:: 19.0
|
|
@@ -969,7 +972,8 @@ def get_default_playback() -> AudioDevice:
|
|
|
969
972
|
def get_default_recording() -> AudioDevice:
|
|
970
973
|
"""Return the default recording device.
|
|
971
974
|
|
|
972
|
-
Example
|
|
975
|
+
Example::
|
|
976
|
+
|
|
973
977
|
recording_device = tcod.sdl.audio.get_default_recording().open()
|
|
974
978
|
|
|
975
979
|
.. versionadded:: 19.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""SDL Rendering functionality.
|
|
2
2
|
|
|
3
3
|
.. versionadded:: 13.4
|
|
4
4
|
"""
|
|
@@ -271,7 +271,7 @@ class Texture:
|
|
|
271
271
|
def scale_mode(self) -> ScaleMode:
|
|
272
272
|
"""Get or set this textures :any:`ScaleMode`.
|
|
273
273
|
|
|
274
|
-
..versionadded:: 19.3
|
|
274
|
+
.. versionadded:: 19.3
|
|
275
275
|
"""
|
|
276
276
|
mode = ffi.new("SDL_ScaleMode*")
|
|
277
277
|
_check(lib.SDL_GetTextureScaleMode(self.p, mode))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""SDL Window and Display handling.
|
|
2
2
|
|
|
3
3
|
There are two main ways to access the SDL window.
|
|
4
4
|
Either you can use this module to open a window yourself bypassing libtcod's context,
|
|
@@ -167,7 +167,7 @@ class _TempSurface:
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
class Window:
|
|
170
|
-
"""An
|
|
170
|
+
"""An SDL Window object.
|
|
171
171
|
|
|
172
172
|
Created from :any:`tcod.sdl.video.new_window` when working with SDL directly.
|
|
173
173
|
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '19.6.
|
|
32
|
-
__version_tuple__ = version_tuple = (19, 6,
|
|
31
|
+
__version__ = version = '19.6.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (19, 6, 1)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'gcba0c7555'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|