dfhack fork
 
 
 
 
 
 
Go to file
lethosor 40bfb6b8ff
Hack to force GCC to invoke cancel_job() through DF's vtable
GCC appears to be optimizing the call to `cancel_job()` to use the stub in
*DFHack's* job_handler vtable, which is a no-op. Lua was unaffected because it
invokes vmethods through method pointers (without knowing the target instance at
compile time), so use a similar approach here for now.

As mentioned by @ab9rf on Discord, we should pursue an alternative like asking
Bay12 to expose the relevant code through a global `std::function` instead of a
vmethod.
2023-08-31 17:42:16 -04:00
.github pass launchdf param through to windows build workflow 2023-08-19 02:45:18 -07:00
CMake Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
build do win32 too for good measure 2023-06-13 17:56:32 -07:00
ci limit wait for title screen in wall clock time 2023-08-23 00:48:22 -07:00
data scope `spotclean` to dwarfmode 2023-08-11 12:53:46 -07:00
depends more deduplication of installed files 2023-07-29 00:35:12 -07:00
docs Merge pull request #3698 from Halifay/advanced_military_sorting 2023-08-30 23:52:18 -07:00
library Hack to force GCC to invoke cancel_job() through DF's vtable 2023-08-31 17:42:16 -04:00
package put df root in LD_LIBRARY_PATH so DF can find SDL2.so 2023-08-19 10:23:58 -07:00
plugins Merge pull request #3698 from Halifay/advanced_military_sorting 2023-08-30 23:52:18 -07:00
scripts@3ed41e4152 Auto-update submodules 2023-08-31 06:32:03 +00:00
test Merge remote-tracking branch 'lethosor/struct-fields-lua' into develop 2023-08-13 01:43:19 -04:00
.gitignore move SDL2 to depends in the src dir 2023-06-23 14:34:51 -07:00
.gitmodules Update .gitmodules 2022-11-25 09:43:04 -08:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2023-08-01 04:21:22 +00:00
.readthedocs.requirements.txt pin the sphinx version exactly at 4.4.0 2022-09-21 10:07:20 -07:00
.readthedocs.yml ensure readthedocs checks out submodules 2022-09-23 16:09:46 -07:00
.ycm_extra_conf.py Use jsoncpp 1.8.4 as a submodule 2018-06-14 21:20:46 +03:00
CMakeLists.txt bump version to r3rc2 2023-08-21 00:49:31 -07:00
CMakeSettings.json Get intellisense and code analysis working in CMakeSettings.json. 2018-07-23 16:14:22 -05:00
LICENSE.rst a small screen commit message about a lot of organization changes 2022-12-21 18:09:37 -04:00
README.html Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
README.md Clarify text and fix typos in the readme 2022-05-25 22:49:09 -07:00
conf.py create robots.txt for HTML docs 2022-11-20 17:08:02 -08:00
index.rst Merge pull request #2613 from myk002/myk_quickstart 2023-01-15 13:40:00 -08:00
robots.txt create robots.txt for HTML docs 2022-11-20 17:08:02 -08:00

README.md

DFHack Readme

Build Status Documentation Status License Discord

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. It is also accessible via 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 the docs are unclear or you need more help, please check out our support page for ways to contact the DFHack developers.