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