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