From 36c7cb94fb7d4acf5a93ee0f8b4d392567df1aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 14 Sep 2009 21:19:33 +0000 Subject: [PATCH] make prospector more useful on windows machines --- tools/prospector.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/prospector.cpp b/tools/prospector.cpp index f176449bb..b5383a8ee 100644 --- a/tools/prospector.cpp +++ b/tools/prospector.cpp @@ -40,6 +40,10 @@ int main (int argc, const char* argv[]) showbaselayers = true; } } + // let's be more useful when double-clicked on windows + #ifndef LINUX_BUILD + showhidden = true; + #endif uint32_t x_max,y_max,z_max; uint16_t tiletypes[16][16]; t_designation designations[16][16]; @@ -164,5 +168,10 @@ int main (int argc, const char* argv[]) { cout << stonetypes[p->first].id << " : " << p->second << endl; } + // wait for input on windows so the tool is still usable to some extent + #ifndef LINUX_BUILD + uint32_t junk = 0; + cin >> junk; + #endif return 0; } \ No newline at end of file