diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 4a4b74eaa..732673926 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -106,6 +106,7 @@ if(BUILD_SUPPORTED) dfhack_plugin(command-prompt command-prompt.cpp) dfhack_plugin(confirm confirm.cpp LINK_LIBRARIES lua) dfhack_plugin(createitem createitem.cpp) + dfhack_plugin(cromulate cromulate.cpp) dfhack_plugin(cursecheck cursecheck.cpp) dfhack_plugin(cxxrandom cxxrandom.cpp LINK_LIBRARIES lua) dfhack_plugin(deramp deramp.cpp) diff --git a/plugins/cromulate.cpp b/plugins/cromulate.cpp new file mode 100644 index 000000000..9f7fdb9f9 --- /dev/null +++ b/plugins/cromulate.cpp @@ -0,0 +1,28 @@ +#include "Core.h" +#include +#include +#include + +using namespace DFHack; +using namespace df::enums; + +DFHACK_PLUGIN("cromulate"); + +command_result cromulate (color_ostream &out, std::vector & parameters); + +DFhackCExport command_result plugin_init (color_ostream &out, std::vector &commands) { + commands.push_back(PluginCommand("cromulate", + "in-cpp plugin short desc", //to use one line in the ``[DFHack]# ls`` output + cromulate, + false, + "in-cpp plugin long help")); + return CR_OK; +} + +DFhackCExport command_result plugin_shutdown (color_ostream &out) { + return CR_OK; +} + +command_result cromulate (color_ostream &out, std::vector ¶meters) { + return CR_OK; +}