2011-03-20 10:17:33 -06:00
|
|
|
if(NOT DEFINED DFHACK_CONSISTENCY)
|
|
|
|
MESSAGE(FATAL_ERROR "Please build the whole thing, not parts. You can turn parts on/off using options.")
|
|
|
|
ENDIF()
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# this is required to ensure we use the right configuration for the system.
|
|
|
|
IF(UNIX)
|
2011-03-20 10:17:33 -06:00
|
|
|
add_definitions(-DLINUX_BUILD)
|
2010-05-25 19:22:17 -06:00
|
|
|
ENDIF(UNIX)
|
|
|
|
|
|
|
|
# a creature mood dump hack. has hardcoded offsets
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfmoodump moodump.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# bauxite - turn all mechanisms into bauxite mechanisms
|
|
|
|
# Author: Alex Legg
|
2011-03-21 14:14:07 -06:00
|
|
|
# FIXME: turned off. there is no reliable Items module.
|
2011-03-16 00:35:08 -06:00
|
|
|
#DFHACK_TOOL(dfbauxite dfbauxite.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# digger - designate for digging by tile class
|
|
|
|
# Author: mizipzor
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfdigger digger.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# digger2 - designate for digging from a text file
|
|
|
|
# Author: rOut
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfdigger2 digger2.cpp)
|
2011-02-08 14:55:40 -07:00
|
|
|
|
2010-05-25 19:22:17 -06:00
|
|
|
# itemdesignator - change some item designations (dump, forbid, on-fire) for all
|
|
|
|
# items of a given type and material
|
|
|
|
# Author: belal
|
2011-04-16 15:57:04 -06:00
|
|
|
DFHACK_TOOL(dfitemdesignator itemdesignator.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# catsplosion - Accelerates pregnancy
|
|
|
|
# Author: Zhentar
|
2011-03-21 14:14:07 -06:00
|
|
|
# FIXME: no longer works due to changes in DF
|
|
|
|
#DFHACK_TOOL(dfcatsplosion catsplosion.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
|
|
|
# findnameindexes
|
|
|
|
# Author: belal
|
2011-03-21 14:29:54 -06:00
|
|
|
DFHACK_TOOL(dffindnameindexes findnameindexes.cpp)
|
2010-05-25 19:22:17 -06:00
|
|
|
|
2011-04-07 03:21:38 -06:00
|
|
|
# try things
|
|
|
|
DFHACK_TOOL(dftry dftry.cpp)
|
|
|
|
|
2010-05-25 19:22:17 -06:00
|
|
|
# renamer - change the custom names and professions of creatures, sends keys to
|
|
|
|
# df directly
|
|
|
|
# Author: belal
|
2011-03-21 14:29:54 -06:00
|
|
|
# DFHACK_TOOL(dfrenamer renamer.cpp)
|
2010-07-08 14:58:01 -06:00
|
|
|
|
2010-08-27 12:56:38 -06:00
|
|
|
# copypaste
|
|
|
|
# Author: belal
|
|
|
|
# copies the current buildings in a df map, and then designates the area to be dug
|
|
|
|
# mainly a proof of concept for my gui application dfCopyPaste
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfcopypaste copypaste.cpp)
|
2010-08-27 12:56:38 -06:00
|
|
|
|
2010-09-12 19:36:31 -06:00
|
|
|
# paths
|
|
|
|
# Author: belal
|
|
|
|
# dumps the current path to the DF exe, as well as the relative paths to the
|
|
|
|
# current tileset and color files
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfpaths paths.cpp)
|
2010-09-12 19:36:31 -06:00
|
|
|
|
2010-10-16 22:21:18 -06:00
|
|
|
# printtiletypes
|
|
|
|
# Author: zilpin
|
|
|
|
# Prints CSV dump of all tile type information.
|
|
|
|
# No DF process needed. Intended only for debugging and information purposes.
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfprinttiletypes printtiletypes.cpp)
|
2010-10-16 22:21:18 -06:00
|
|
|
|
|
|
|
# hellhole
|
|
|
|
# Author: zilpin
|
|
|
|
# Creates a bottomless hole to hell.
|
|
|
|
# Experimental version hard-codes values.
|
|
|
|
# Will have many options in the future.
|
2011-03-16 00:35:08 -06:00
|
|
|
DFHACK_TOOL(dfhellhole hellhole.cpp)
|
2010-10-16 22:21:18 -06:00
|
|
|
|
2011-07-13 21:44:37 -06:00
|
|
|
# drawtile
|
|
|
|
# Author: zilpin
|
|
|
|
# Arbitrary tile drawing at the cursor.
|
|
|
|
# Does not fix tiles above/below for consistency (e.g. ramps).
|
|
|
|
DFHACK_TOOL(dfdrawtile drawtile.cpp)
|
|
|
|
|
|
|
|
# veinswap
|
|
|
|
# Author: zilpin
|
|
|
|
# Randomly swap a percentage of the specified vein material with another material.
|
|
|
|
# Or, set the material of a vein under the cursor.
|
|
|
|
DFHACK_TOOL(dfveinswap veinswap.cpp)
|
|
|
|
|
|
|
|
# lumberjack
|
|
|
|
# Author: zilpin
|
|
|
|
# Designate all trees of the given type which can be reached from the cursor.
|
|
|
|
DFHACK_TOOL(dflumberjack lumberjack.cpp)
|
|
|
|
|
2011-04-22 19:09:47 -06:00
|
|
|
# dfcreaturemanager
|
2011-04-11 05:16:47 -06:00
|
|
|
# Author: raoulxq
|
2011-04-22 19:09:47 -06:00
|
|
|
# - Display creatures (overview & detail)
|
2011-04-13 06:47:53 -06:00
|
|
|
# - Modify skills and labors of creatures
|
|
|
|
# - Kill creatures
|
|
|
|
# - Etc.
|
2011-04-22 19:09:47 -06:00
|
|
|
DFHACK_TOOL(dfcreaturemanager creaturemanager.cpp)
|
2011-04-11 05:16:47 -06:00
|
|
|
|
2011-04-12 05:03:34 -06:00
|
|
|
# digpattern
|
|
|
|
# Author: raoulxq
|
|
|
|
# Dig a specific pattern (in this case 3x3 bedrooms, modify as you like)
|
|
|
|
DFHACK_TOOL(dfdigpattern digpattern.cpp)
|
|
|
|
|
2011-04-13 12:04:32 -06:00
|
|
|
DFHACK_TOOL(dffixbug-3708 fix-3708.cpp)
|
2011-04-10 13:25:41 -06:00
|
|
|
|
2011-07-10 18:29:34 -06:00
|
|
|
# blockflags
|
|
|
|
# Author: matthew cline
|
|
|
|
# Invert/toggle all block flags, to see what they do.
|
|
|
|
DFHACK_TOOL(dfblockflags blockflags.cpp)
|
|
|
|
|
2010-08-12 18:35:10 -06:00
|
|
|
# this needs the C bindings
|
2010-09-01 12:51:12 -06:00
|
|
|
IF(BUILD_DFHACK_C_BINDINGS)
|
2011-04-10 07:36:01 -06:00
|
|
|
# The C bindings won't be real C bindings until this compiles.
|
|
|
|
#DFHACK_TOOL(dftest test.c)
|
2010-09-01 12:51:12 -06:00
|
|
|
ENDIF(BUILD_DFHACK_C_BINDINGS)
|