diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 15:55:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 15:55:06 +0300 |
commit | 8d4da1c2a0d22f941b0818a46710b7f347b5cd01 (patch) | |
tree | 779c7fd3ead59bf1d04aca37079a95891ecc8b51 /src/dyetool | |
parent | 496aac0aa96676ed944bc123fc24eac33e8b3542 (diff) | |
download | ManaVerse-8d4da1c2a0d22f941b0818a46710b7f347b5cd01.tar.gz ManaVerse-8d4da1c2a0d22f941b0818a46710b7f347b5cd01.tar.bz2 ManaVerse-8d4da1c2a0d22f941b0818a46710b7f347b5cd01.tar.xz ManaVerse-8d4da1c2a0d22f941b0818a46710b7f347b5cd01.zip |
Add into paths.xml chars for gm command and char gm command.
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/client.cpp | 6 | ||||
-rw-r--r-- | src/dyetool/client.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index 727bfecc4..939239d72 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -157,6 +157,7 @@ void Client::gameInit() ConfigManager::backupConfig("config.xml"); ConfigManager::initConfiguration(); paths.setDefaultValues(getPathsDefaults()); + initPaths(); logger->log("init 4"); logger->setDebugLog(config.getBoolValue("debugLog")); logger->setReportUnimplimented(config.getBoolValue("unimplimentedLog")); @@ -622,6 +623,7 @@ int Client::gameExec() logger->log("Init paths"); paths.init("paths.xml", UseResman_true); paths.setDefaultValues(getPathsDefaults()); + initPaths(); TranslationManager::loadCurrentLang(); if (desktop) @@ -750,3 +752,7 @@ bool Client::isTmw() } return false; } + +void Client::initPaths() +{ +} diff --git a/src/dyetool/client.h b/src/dyetool/client.h index 9ca3c8d0c..4a79a303e 100644 --- a/src/dyetool/client.h +++ b/src/dyetool/client.h @@ -91,6 +91,8 @@ class Client final : public ActionListener static void initGraphics(); + static void initPaths(); + void gameClear(); void testsClear(); |