added a check for data and user data paths being the same

This commit is contained in:
Mark Vejvoda
2013-11-06 00:31:36 +00:00
parent e689ac8bff
commit 70421d1b3d
7 changed files with 70 additions and 39 deletions

View File

@@ -251,6 +251,8 @@ bool isKeyDown(int virtualKey);
//bool isKeyDown(SDLKey key);
string getCommandLine();
string getUserHome();
#define SPACES " "
inline string trim_at_delim (const string & s, const string &t) {

View File

@@ -59,7 +59,7 @@ public:
// =====================================================
// Misc
// =====================================================
void message(string message,bool isNonGraphicalModeEnabled);
void message(string message,bool isNonGraphicalModeEnabled, string writepath);
void exceptionMessage(const exception &excp);
string getCommandLine();
@@ -102,7 +102,7 @@ std::string utf8_encode(const std::wstring &wstr);
std::wstring utf8_decode(const std::string &str);
std::string getRegKey(const std::string& location, const std::string& name);
void message(string message, bool isNonGraphicalModeEnabled);
void message(string message, bool isNonGraphicalModeEnabled,string writepath);
void exceptionMessage(const exception &excp);
string getCommandLine();
void init_win32();