3ba984c22c
this allows callers of Buildings::setSize() to "pre-initialize" the extents to declare non-rectangular structures. this allows quickfort to create non-rectangular stockpiles, farm plots, zones, etc. the extents are still reset as before if the size of the building doesn't match the caller's expectations. this commit also fixes a memory leak when setSize() allocates memory for extents, but the memory is not deallocated if the building is ultimately invalid for some reason. |
||
---|---|---|
.github | ||
CMake | ||
build | ||
data | ||
depends | ||
dfhack-config | ||
docs | ||
library | ||
package | ||
plugins | ||
scripts@254f273090 | ||
test | ||
travis | ||
.gitignore | ||
.gitmodules | ||
.ycm_extra_conf.py | ||
CMakeLists.txt | ||
CMakeSettings.json | ||
LICENSE.rst | ||
README.html | ||
README.md | ||
conf.py | ||
dfhack.init-example | ||
index.rst | ||
onLoad.init-example |
README.md
DFHack Readme
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.