This release contains some significant changes to the core and console. If you notice issues with the console or DF hanging in particular, please report them (along with anything else).
DFHack 0.44.11-beta1
Fixes
- Fixed displayed names (from
Units::getVisibleName
) for units with identities - Fixed potential memory leak in
Screen::show()
fix/dead-units
: fixed script trying to use missing isDiplomat function
Misc Improvements
-
Console:
- added support for multibyte characters on Linux/macOS
- made the console exit properly when an interactive command is active (
liquids
,mode
,tiletypes
)
-
Made the
DFHACK_PORT
environment variable take priority overremote-server.json
-
Linux: added automatic support for GCC sanitizers in
dfhack
script -
digfort
: added better map bounds checking -
dfhack-run
: added support for port specified inremote-server.json
, to match DFHack's behavior -
remove-stress
:- added support for
-all
as an alternative to the existingall
argument for consistency - sped up significantly
- improved output/error messages
- now removes tantrums, depression, and obliviousness
- added support for
-
ruby
: sped up handling of onupdate events
API
- New functions:
Units::isDiplomat(unit)
- Exposed
Screen::zoom()
to C++ (was Lua-only)
Internals
- jsoncpp: updated to version 1.8.4 and switched to using a git submodule
Structures
history_event_entity_expels_hfst
: added (new in 0.44.11)history_event_site_surrenderedst
: added (new in 0.44.11)history_event_type
: addedSITE_SURRENDERED
,ENTITY_EXPELS_HF
(new in 0.44.11)syndrome
: identified a few fieldsviewscreen_civlistst
: fixed layout and identified many fields
Lua
- Added
printall_recurse
to print tables and DF references recursively. It can be also used with^
from thelua
interpreter. gui.widgets
:List:setChoices
cloneschoices
for internal table changes