dfhack fork
 
 
 
 
 
 
Go to file
Myk Taylor 82013c0c5e prep buildingplan for core algorithm changes
Lots of refactoring and reorganizing, with only cosmetic player-visible changes.

- show quickfort mode hotlkey label regardless of whether the current building type has buildingplan enabled. before, it was only shown after the user enabled buildingplan for the current building. this eliminates the extra step when enabling quickfort mode, which force-enables all building types.
- changed signature of lua-exported isPlannableBuilding to take subtype
  and custom type in addition to building type. this is only used by
  quickfort, and it already sends all three params in preparation for
  this change
- added lua-exported scheduleCycle(), which is like doCycle(), but only
  takes effect on the next non-paused frame. this lets quickfort
  run only one buildingplan cycle regardless of how many #build
  blueprints were run
- declared a few dfhack library methods and params const so buildingplan
  could call them from const methods
- converted buildingplan internal debug logging fn to have a printf api
- reshaped buildingplan-planner API and refactored implementation in
  preparation for upcoming core algorithm changes for supporing all
  building types (no externally-visible functionality changes)
  - changed df::building_type params to type, subtype, custom tuple keys
  - introduced capability to return multiple filters per building type
    (though the current buildings all only have one filter per)
- split monolith hook functions in buildingplan.cpp into one per scope.
  this significantly cleans up the code and preps the hooks to handle
  iterating through multiple item filters.
- got rid of send_key function and replaced with better reporting of
  whether keys have been handled
2020-10-16 13:52:23 -07:00
.github Replace set-env with new environment file 2020-10-07 20:19:37 -04:00
CMake Clean up *.cmake style 2019-07-20 16:17:44 -04:00
build Make the win64 build/install batch files work with non-C system drives. 2018-05-14 14:15:38 -05:00
data Tweak links to quickfort command docs 2020-10-06 22:02:14 -04:00
depends Update dependencies 2020-09-21 12:27:27 -04:00
dfhack-config document new query_unsafe option 2020-10-11 22:16:42 -07:00
docs prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
library prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
package Add --sizecheck option to Linux launcher script, update docs 2020-08-08 00:41:04 -04:00
plugins prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
scripts@a574158ca3 Update scripts 2020-10-12 23:51:51 -04:00
test Expose to_search_normalized to Lua, add test, and use in ListColumn (most useful for the `stocks` plugin) 2020-10-10 01:40:00 -04:00
travis exempt scripts under 'internal' from docstring req 2020-07-24 23:40:27 -07:00
.gitignore quickfort files and docs 2020-07-18 08:54:24 -07:00
.gitmodules Fix some CMake warnings and extraneous output 2020-09-19 01:17:25 -04:00
.ycm_extra_conf.py Use jsoncpp 1.8.4 as a submodule 2018-06-14 21:20:46 +03:00
CMakeLists.txt Update to 0.47.04-r3 (authors, changelog, and submodules) 2020-10-10 17:31:30 -04:00
CMakeSettings.json Get intellisense and code analysis working in CMakeSettings.json. 2018-07-23 16:14:22 -05:00
LICENSE.rst License: sort, fix caps 2018-07-21 00:03:45 -04:00
README.html Fix html redirection to the docs 2016-04-11 09:30:05 +10:00
README.md Restrict status badge to push events only 2020-04-15 01:15:09 -04:00
conf.py Update some docs links to use HTTPS 2020-10-09 19:17:59 -04:00
dfhack.init-example Activate autodump in default config 2020-04-01 15:09:51 +01:00
index.rst Add user guides section to main toctree 2020-10-01 22:17:53 -04:00
onLoad.init-example Remove warn-stuck-trees from onLoad.init-example 2017-12-23 20:49:24 -05:00

README.md

DFHack Readme

Build Status Documentation Status License

DFHack is a Dwarf Fortress memory access library, distributed with scripts and plugins implementing a wide variety of useful functions and tools.

The full documentation is available online here, from the README.html page in the DFHack distribution, or as raw text in the ./docs folder. If you're an end-user, modder, or interested in contributing to DFHack - go read those docs.

If that's unclear or you need more help, try the Bay12 forums thread or the #dfhack IRC channel on freenode.