Skip to content
/ hooks Public

Shim code compiled into DF that loads and calls DFHack

License

Notifications You must be signed in to change notification settings

DFHack/hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hooks

Shim code compiled into DF g_src that loads and calls a "dfhooks" library located in the root DF game directory. If a "dfhooks" library cannot be found or loaded, or if it does not provide the specific API call that the hook is looking for, the shim will return immediately and have no effect.

The shim will pass calls through to a library named according to the convention of the host platform it was compiled for:

  • dfhooks.dll (Windows)
  • libdfhooks.so (Linux)
  • libdfhooks.dylib (OSX)

This shim code is released into the public domain. See LICENSE for details.

About

Shim code compiled into DF that loads and calls DFHack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages