You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11.2.0
Added
- `tcod.path.dijkstra2d`: Computes Dijkstra from an arbitrary initial state.
- `tcod.path.hillclimb2d`: Returns a path from a distance array.
- `tcod.path.maxarray`: Creates arrays filled with maximum finite values.
Fixed
- Changing the tiles of an active tileset on OPENGL2 will no longer leave
temporary artifact tiles.
- It's now harder to accidentally import tcod's internal modules.
11.1.1
Deprecated
- Using an out-of-bounds index for field-of-view operations now raises a
warning, which will later become an error.
Fixed
- Changing the tiles of an active tileset will now work correctly.
11.1.0
Added
- You can now set the `TCOD_RENDERER` and `TCOD_VSYNC` environment variables to
force specific options to be used.
Example: ``TCOD_RENDERER=sdl2 TCOD_VSYNC=1``
Changed
- `tcod.sys_set_renderer` now raises an exception if it fails.
Fixed
- `tcod.console_map_ascii_code_to_font` functions will now work when called
before `tcod.console_init_root`.
11.0.1
Changed
- Better runtime checks for Windows dependencies should now give different
errors depending on if the issue is SDL2 or missing redistributables.
Fixed
- Changed NumPy type hints from `np.array` to `np.ndarray` which should
resolve issues.
11.0.0
Changed
- `tcod.map.compute_fov` now takes a 2-item tuple instead of separate `x` and
`y` parameters. This causes less confusion over how axes are aligned.