diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index e8edba650..85d3fab3b 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -20,3 +20,4 @@ ENDMACRO() DFHACK_PLUGIN(reveal reveal.cpp) DFHACK_PLUGIN(kittens kittens.cpp) +DFHACK_PLUGIN(prospector prospector.cpp) diff --git a/tools/supported/prospector.cpp b/plugins/prospector.cpp similarity index 90% rename from tools/supported/prospector.cpp rename to plugins/prospector.cpp index 1aa6e1d23..6439c5a4e 100644 --- a/tools/supported/prospector.cpp +++ b/plugins/prospector.cpp @@ -15,8 +15,8 @@ using namespace std; #include #include -#include #include +#include typedef std::map MatMap; typedef std::vector< pair > MatSorter; @@ -24,8 +24,8 @@ typedef std::vector< pair > MatSorter; typedef std::vector FeatureList; typedef std::vector FeatureListPointer; typedef std::map FeatureMap; -typedef std::vector PlantList; - +typedef std::vector PlantList; +/* bool parseOptions(int argc, char **argv, bool &showHidden, bool &showPlants, bool &showSlade, bool &showTemple) { @@ -67,7 +67,7 @@ bool parseOptions(int argc, char **argv, bool &showHidden, bool &showPlants, } return true; } - +*/ template