diff --git a/tools/supported/prospector.cpp b/tools/supported/prospector.cpp index 6abbcf4fd..e2ad5833e 100644 --- a/tools/supported/prospector.cpp +++ b/tools/supported/prospector.cpp @@ -1,412 +1,362 @@ -// produces a list of vein materials available on the map. can be run with '-a' modifier to show even unrevealed minerals deep underground -// with -b modifier, it will show base layer materials too - -// TODO: use material colors to make the output prettier -// TODO: needs the tiletype filter! -// TODO: tile override materials -// TODO: material types, trees, ice, constructions -// TODO: GUI +// Produces a list of materials available on the map. +// Options: +// -a : show unrevealed tiles +// -p : don't show plants +// -s : don't show slade +// -t : don't show demon temple +#include #include -#include // for memset -#include -#include #include -#include -#include -using namespace std; +#include +using namespace std; #include -#include +#include + +typedef std::map MatMap; + +typedef std::vector FeatureList; +typedef std::vector FeatureListPointer; +typedef std::map FeatureMap; +typedef std::vector PlantList; -template