rename dig-dug to dig-now

develop
myk002 2021-06-02 13:31:15 -07:00
parent 6cf40857e4
commit a5b70ba163
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 3 additions and 3 deletions

@ -111,7 +111,7 @@ if(BUILD_SUPPORTED)
dfhack_plugin(deramp deramp.cpp) dfhack_plugin(deramp deramp.cpp)
dfhack_plugin(debug debug.cpp LINK_LIBRARIES jsoncpp_lib_static) dfhack_plugin(debug debug.cpp LINK_LIBRARIES jsoncpp_lib_static)
dfhack_plugin(dig dig.cpp) dfhack_plugin(dig dig.cpp)
dfhack_plugin(dig-dug dig-dug.cpp) dfhack_plugin(dig-now dig-now.cpp)
dfhack_plugin(digFlood digFlood.cpp) dfhack_plugin(digFlood digFlood.cpp)
add_subdirectory(diggingInvaders) add_subdirectory(diggingInvaders)
dfhack_plugin(dwarfvet dwarfvet.cpp) dfhack_plugin(dwarfvet dwarfvet.cpp)

@ -13,7 +13,7 @@
#include <df/world.h> #include <df/world.h>
#include <df/map_block.h> #include <df/map_block.h>
DFHACK_PLUGIN("dig-dug"); DFHACK_PLUGIN("dig-now");
REQUIRE_GLOBAL(world); REQUIRE_GLOBAL(world);
using namespace DFHack; using namespace DFHack;
@ -389,7 +389,7 @@ command_result dig_dug(color_ostream &out, std::vector<std::string> &) {
DFhackCExport command_result plugin_init(color_ostream &, DFhackCExport command_result plugin_init(color_ostream &,
std::vector<PluginCommand> &commands) { std::vector<PluginCommand> &commands) {
commands.push_back(PluginCommand( commands.push_back(PluginCommand(
"dig-dug", "Simulate completion of dig designations", dig_dug, false)); "dig-now", "Simulate completion of dig designations", dig_dug, false));
return CR_OK; return CR_OK;
} }