diff --git a/source/client/main.cpp b/source/client/main.cpp index 27053fb..76ce858 100644 --- a/source/client/main.cpp +++ b/source/client/main.cpp @@ -2,17 +2,22 @@ #include #include #include + #include #include #include #include +#include +#include #include "game.h" -#include "version.h" static const char* sk_usage = #include "usage.h" ; + +// Verbose mode +static const bool env_verbose = getenv("VERBOSE"); // time for waiting between file stats static const std::chrono::milliseconds sk_waitTime = std::chrono::milliseconds(100); @@ -44,12 +49,6 @@ bool OutputGameStateFile(CTTRTSGame &game, std::string &gameDir) // Output the turn description std::string turnDescriptor = GetStringFromGame(game); - // Append the version number - turnDescriptor = std::string("==== ttrts v") - + sk_ttrts_version_string - + std::string(" ====\n") - + turnDescriptor; - turnFile<>input; if( !input.size() || std::tolower(input[0]) != 'y' ) { std::cerr<<"Aborting..."<