summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp6
-rw-r--r--src/dyetool/client.h2
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();