tcod 19.4.0__tar.gz → 19.4.1__tar.gz

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