0.44.12-r1
版本发布时间: 2018-07-14 10:42:08
DFHack/dfhack最新发布版本:50.11-r2(2023-10-19 23:08:46)
DFHack 0.44.12-r1
Fixes
- Fixed displayed names (from
Units::getVisibleName
) for units with identities - Fixed potential memory leak in
Screen::show()
- Fixed special characters in
command-prompt
and other non-console in-game outputs on Linux/macOS (in tools usingdf2console
) -
command-prompt
: added support for commands that require a specific screen to be visible, e.g.spotclean
-
die
: fixed Windows crash in exit handling -
dwarfmonitor
,manipulator
: fixed stress cutoffs -
fix/dead-units
: fixed script trying to use missing isDiplomat function -
gui/workflow
: fixed advanced constraint menu for crafts -
modtools/force
: fixed a bug where the help text would always be displayed and nothing useful would happen -
ruby
: fixed calling conventions for vmethods that return strings (currentlyenabler.GetKeyDisplay()
) -
startdwarf
: fixed on 64-bit Linux -
stonesense
: fixedPLANT:DESERT_LIME:LEAF
typo
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
)
-
Linux: added automatic support for GCC sanitizers in
dfhack
script -
Made the
DFHACK_PORT
environment variable take priority overremote-server.json
-
Reduced time for designation jobs from tools like
digv
to be assigned workers -
dfhack-run
: added support for port specified inremote-server.json
, to match DFHack's behavior -
digfort
: added better map bounds checking -
embark-assistant
:- Switched to standard scrolling keys, improved spacing slightly
- Introduced scrolling of Finder search criteria, removing requirement for 46 lines to work properly (Help/Info still formatted for 46 lines).
- Added Freezing search criterion, allowing searches for NA/Frozen/At_Least_Partial/Partial/At_Most_Partial/Never Freezing embarks.
-
rejuvenate
:- Added
-all
argument to apply to all citizens - Added
-force
to include units under 20 years old - Clarified documentation
- Added
-
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
-
Added C++-style linked list interface for DF linked lists
-
Added to
Units
module:-
getStressCategory(unit)
-
getStressCategoryRaw(level)
-
stress_cutoffs
(Lua:getStressCutoffs()
)
-
-
Added
Screen::Hide
to temporarily hide screens, likecommand-prompt
-
Exposed
Screen::zoom()
to C++ (was Lua-only) -
New functions:
Units::isDiplomat(unit)
Internals
- Added documentation for all RPC functions and a build-time check
- Added support for build IDs to development builds
- Changed default build architecture to 64-bit
- jsoncpp: updated to version 1.8.4 and switched to using a git submodule
- Use
dlsym(3)
to find vtables from libgraphics.so
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
Structures
-
Added support for automatically sizing arrays indexed with an enum
-
Added
start_dwarf_count
on 64-bit Linux again and fixed scanning script -
Dropped 0.44.10 support
-
Dropped 0.44.11 support
-
Removed stale generated CSV files and DT layouts from pre-0.43.05
-
announcement_type
: new in 0.44.11:NEW_HOLDING
,NEW_MARKET_LINK
-
army_controller
: added new vector from 0.44.11 -
belief_system
: new type, few fields identified -
breath_attack_type
: addedOTHER
-
historical_figure_info.relationships.list
: addedunk_3a
-unk_3c
fields at end -
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) -
interface_key
: added bindings new in 0.44.11 -
mental_picture
: new type, some fields identified -
mission_report
:- new type (renamed, was
mission
before) - identified some fields
- new type (renamed, was
-
mission
: new type (used inviewscreen_civlistst
) -
occupation_type
: new in 0.44.11:MESSENGER
-
profession
: new in 0.44.11:MESSENGER
-
spoils_report
: new type, most fields identified -
syndrome
: identified a few fields -
ui.squads
: Added fields new in 0.44.12 -
ui_sidebar_menus
:-
unit.in_squad
: renamed tounit.squad_list_opened
, fixed location -
unit
: addedexpel_error
and other unknown fields new in 0.44.11 -
hospital
: added, new in 0.44.11 -
num_speech_tokens
,unk_17d8
: moved out ofcommand_line
to fix layout on x64
-
-
viewscreen_civlistst
:- fixed layout and identified many fields
- identified new pages
- identified new messenger-related fields
-
viewscreen_image_creatorst
:- fixed layout
- identified many fields
-
viewscreen_locationsst
: identifiededit_input
-
viewscreen_reportlistst
: added new mission and spoils report-related fields (fixed layout) -
world.languages
: identified (minimal information; whole languages stored elsewhere) -
world.status
:-
mission_reports
: renamed, wasmissions
-
spoils_reports
: identified
-
-
world.unk_131ec0
,world.unk_131ef0
: researched layout -
world.worldgen_status
: identified many fields -
world
:belief_systems
: identified
1、 dfhack-0.44.12-r1-Linux-32-gcc-4.8.tar.bz2 15.63MB
2、 dfhack-0.44.12-r1-Linux-32-gcc-7.tar.bz2 16.17MB
3、 dfhack-0.44.12-r1-Linux-64-gcc-4.8.tar.bz2 16.01MB
4、 dfhack-0.44.12-r1-Linux-64-gcc-7.tar.bz2 16.21MB
5、 dfhack-0.44.12-r1-OSX-32-gcc-7.3.0.tar.bz2 16.49MB
6、 dfhack-0.44.12-r1-OSX-64-gcc-7.3.0.tar.bz2 16.03MB
7、 dfhack-0.44.12-r1-Windows-32.zip 15.46MB
8、 dfhack-0.44.12-r1-Windows-64.zip 17.31MB