Added const strings for versions

This commit is contained in:
mathusummut
2018-10-06 17:20:22 +02:00
parent 481fbbe534
commit e12f168a01
23 changed files with 98 additions and 124 deletions

View File

@@ -50,7 +50,6 @@ namespace Shared {
string path;
static string applicationPath;
static string applicationDataPath;
static string gameVersion;
static string techtreePath;
static string scenarioPath;
@@ -76,14 +75,6 @@ namespace Shared {
return applicationDataPath;
}
static void setGameVersion(string value) {
Shared::PlatformCommon::replaceAll(value, "\\", "/");
gameVersion = value;
}
static string getGameVersion() {
return gameVersion;
}
static void setTechtreePath(string value) {
Shared::PlatformCommon::replaceAll(value, "\\", "/");
techtreePath = value;