From 0ffcdf3e5ea28dd494f9ec91bf482e26c579df5e Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 19 Jan 2020 13:13:13 -0500 Subject: [PATCH] Print paths to console on startup, like Wesnoth does --- src/fileio/fileio.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/fileio/fileio.cpp b/src/fileio/fileio.cpp index 1c0880b44..1ed56786d 100644 --- a/src/fileio/fileio.cpp +++ b/src/fileio/fileio.cpp @@ -73,7 +73,11 @@ void init_directories(const char* exec_path) { std::cerr << "Testing cerr" << std::endl; sf::err().rdbuf(std::cerr.rdbuf()); #endif - std::cout << progDir << std::endl; + // Now print all the paths + std::cout << "Working directory: " << fs::current_path() << std::endl; + std::cout << "Program directory: " << progDir << std::endl; + std::cout << "Scenario directory: " << scenDir << std::endl; + std::cout << "Temporary directory: " << tempDir << std::endl; } void check_for_intel() {