|
|
@ -79,95 +79,86 @@ add_custom_target(generate_proto DEPENDS ${PROJECT_PROTO_SRCS} ${PROJECT_PROTO_H
|
|
|
|
|
|
|
|
|
|
|
|
SET_SOURCE_FILES_PROPERTIES( Brushes.h PROPERTIES HEADER_FILE_ONLY TRUE )
|
|
|
|
SET_SOURCE_FILES_PROPERTIES( Brushes.h PROPERTIES HEADER_FILE_ONLY TRUE )
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory(diggingInvaders)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Plugins
|
|
|
|
# Plugins
|
|
|
|
OPTION(BUILD_SUPPORTED "Build the supported plugins (reveal, probe, etc.)." ON)
|
|
|
|
OPTION(BUILD_SUPPORTED "Build the supported plugins (reveal, probe, etc.)." ON)
|
|
|
|
if (BUILD_SUPPORTED)
|
|
|
|
if (BUILD_SUPPORTED)
|
|
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
|
|
|
DFHACK_PLUGIN(3dveins 3dveins.cpp)
|
|
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
|
|
|
DFHACK_PLUGIN(add-spatter add-spatter.cpp)
|
|
|
|
# this is a plugin which helps detect cursed creatures (vampires, necromancers, werebeasts, ...)
|
|
|
|
DFHACK_PLUGIN(advtools advtools.cpp)
|
|
|
|
DFHACK_PLUGIN(cursecheck cursecheck.cpp)
|
|
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
|
|
|
# automatically assign labors to dwarves!
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(autolabor autolabor.cpp)
|
|
|
|
DFHACK_PLUGIN(autolabor autolabor.cpp)
|
|
|
|
DFHACK_PLUGIN(dig dig.cpp)
|
|
|
|
DFHACK_PLUGIN(automaterial automaterial.cpp)
|
|
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
|
|
|
DFHACK_PLUGIN(autotrade autotrade.cpp)
|
|
|
|
DFHACK_PLUGIN(getplants getplants.cpp)
|
|
|
|
DFHACK_PLUGIN(burrows burrows.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(plants plants.cpp)
|
|
|
|
DFHACK_PLUGIN(building-hacks building-hacks.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
|
|
|
DFHACK_PLUGIN(buildingplan buildingplan.cpp)
|
|
|
|
DFHACK_PLUGIN(prospector prospector.cpp)
|
|
|
|
DFHACK_PLUGIN(catsplosion catsplosion.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(changeitem changeitem.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(changelayer changelayer.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(changevein changevein.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(cleanconst cleanconst.cpp)
|
|
|
|
DFHACK_PLUGIN(cleaners cleaners.cpp)
|
|
|
|
DFHACK_PLUGIN(cleaners cleaners.cpp)
|
|
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(colonies colonies.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(mode mode.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(liquids liquids.cpp Brushes.h LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp Brushes.h)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(autodump autodump.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(cleanowned cleanowned.cpp)
|
|
|
|
DFHACK_PLUGIN(cleanowned cleanowned.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(colonies colonies.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(command-prompt command-prompt.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(createitem createitem.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(cursecheck cursecheck.cpp)
|
|
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
|
|
|
DFHACK_PLUGIN(deramp deramp.cpp)
|
|
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
|
|
|
DFHACK_PLUGIN(dig dig.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(digFlood digFlood.cpp)
|
|
|
|
|
|
|
|
add_subdirectory(diggingInvaders)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(drybuckets drybuckets.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(dwarfmonitor dwarfmonitor.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(embark-tools embark-tools.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(eventful eventful.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(fastdwarf fastdwarf.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(feature feature.cpp)
|
|
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
|
|
|
DFHACK_PLUGIN(filltraffic filltraffic.cpp)
|
|
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
|
|
|
DFHACK_PLUGIN(fix-armory fix-armory.cpp)
|
|
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(stockpiles stockpiles.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(rename rename.cpp LINK_LIBRARIES lua PROTOBUFS rename)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(jobutils jobutils.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(workflow workflow.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(stockflow stockflow.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
|
|
|
DFHACK_PLUGIN(fixpositions fixpositions.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(fixveins fixveins.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(flows flows.cpp)
|
|
|
|
DFHACK_PLUGIN(follow follow.cpp)
|
|
|
|
DFHACK_PLUGIN(follow follow.cpp)
|
|
|
|
DFHACK_PLUGIN(changevein changevein.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(changelayer changelayer.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(changeitem changeitem.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(advtools advtools.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(tweak tweak.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(feature feature.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(lair lair.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(zone zone.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(catsplosion catsplosion.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(regrass regrass.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(forceequip forceequip.cpp)
|
|
|
|
DFHACK_PLUGIN(forceequip forceequip.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(getplants getplants.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(infiniteSky infiniteSky.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(initflags initflags.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(isoworldremote isoworldremote.cpp PROTOBUFS isoworldremote)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(jobutils jobutils.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(lair lair.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(liquids liquids.cpp Brushes.h LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(manipulator manipulator.cpp)
|
|
|
|
DFHACK_PLUGIN(manipulator manipulator.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(mode mode.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(misery misery.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(mousequery mousequery.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(petcapRemover petcapRemover.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(plants plants.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(probe probe.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(prospector prospector.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(power-meter power-meter.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(regrass regrass.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(rename rename.cpp LINK_LIBRARIES lua PROTOBUFS rename)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(resume resume.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(reveal reveal.cpp)
|
|
|
|
DFHACK_PLUGIN(search search.cpp)
|
|
|
|
DFHACK_PLUGIN(search search.cpp)
|
|
|
|
DFHACK_PLUGIN(automaterial automaterial.cpp)
|
|
|
|
DFHACK_PLUGIN(seedwatch seedwatch.cpp)
|
|
|
|
# this one exports functions to lua
|
|
|
|
DFHACK_PLUGIN(showmood showmood.cpp)
|
|
|
|
DFHACK_PLUGIN(burrows burrows.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(siege-engine siege-engine.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(sort sort.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(sort sort.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(steam-engine steam-engine.cpp)
|
|
|
|
DFHACK_PLUGIN(steam-engine steam-engine.cpp)
|
|
|
|
DFHACK_PLUGIN(power-meter power-meter.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(stockflow stockflow.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(siege-engine siege-engine.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(stockpiles stockpiles.cpp)
|
|
|
|
DFHACK_PLUGIN(eventful eventful.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(add-spatter add-spatter.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(fix-armory fix-armory.cpp)
|
|
|
|
|
|
|
|
# not yet. busy with other crud again...
|
|
|
|
|
|
|
|
#DFHACK_PLUGIN(versionosd versionosd.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(misery misery.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(workNow workNow.cpp)
|
|
|
|
|
|
|
|
#DFHACK_PLUGIN(dfstream dfstream.cpp LINK_LIBRARIES clsocket dfhack-tinythread)
|
|
|
|
|
|
|
|
#DFHACK_PLUGIN(autoSyndrome autoSyndrome.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(syndromeTrigger syndromeTrigger.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(infiniteSky infiniteSky.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(digFlood digFlood.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(createitem createitem.cpp)
|
|
|
|
|
|
|
|
#DFHACK_PLUGIN(outsideOnly outsideOnly.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(isoworldremote isoworldremote.cpp PROTOBUFS isoworldremote)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(buildingplan buildingplan.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(resume resume.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(dwarfmonitor dwarfmonitor.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(mousequery mousequery.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(autotrade autotrade.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(stocks stocks.cpp)
|
|
|
|
DFHACK_PLUGIN(stocks stocks.cpp)
|
|
|
|
DFHACK_PLUGIN(treefarm treefarm.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(cleanconst cleanconst.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(3dveins 3dveins.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(strangemood strangemood.cpp)
|
|
|
|
DFHACK_PLUGIN(strangemood strangemood.cpp)
|
|
|
|
DFHACK_PLUGIN(command-prompt command-prompt.cpp)
|
|
|
|
DFHACK_PLUGIN(syndromeTrigger syndromeTrigger.cpp)
|
|
|
|
DFHACK_PLUGIN(building-hacks building-hacks.cpp LINK_LIBRARIES lua)
|
|
|
|
DFHACK_PLUGIN(tiletypes tiletypes.cpp Brushes.h)
|
|
|
|
DFHACK_PLUGIN(embark-tools embark-tools.cpp)
|
|
|
|
DFHACK_PLUGIN(treefarm treefarm.cpp)
|
|
|
|
DFHACK_PLUGIN(petcapRemover petcapRemover.cpp)
|
|
|
|
DFHACK_PLUGIN(tubefill tubefill.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(tweak tweak.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(weather weather.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(workflow workflow.cpp LINK_LIBRARIES lua)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(workNow workNow.cpp)
|
|
|
|
|
|
|
|
DFHACK_PLUGIN(zone zone.cpp LINK_LIBRARIES lua)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# this is the skeleton plugin. If you want to make your own, make a copy and then change it
|
|
|
|
# this is the skeleton plugin. If you want to make your own, make a copy and then change it
|
|
|
|