diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-07 15:57:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-07 15:58:39 +0300 |
commit | cf77bdc4baa273d8750175411cb59af3ca3c07ac (patch) | |
tree | 1acc38a0c860096d2ed96451933c1c16dacee0ac /src/client.h | |
parent | c8639374e4ca2c50440b0885e902a0b428836e40 (diff) | |
download | manaplus-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.gz manaplus-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.bz2 manaplus-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.xz manaplus-cf77bdc4baa273d8750175411cb59af3ca3c07ac.zip |
Split init in client.cpp into separate methods.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index 1607a73ab..dcf761847 100644 --- a/src/client.h +++ b/src/client.h @@ -326,6 +326,22 @@ public: const bool modal); private: + void createWindows(); + + void initLang(); + + void initSoundManager(); + + void initConfigListeners(); + + void initGraphics(); + + void initTitle(); + + void extractDataDir(); + + void mountDataDir(); + void initRootDir(); void initHomeDir(); @@ -362,7 +378,7 @@ private: static Client *mInstance; - static void bindTextDomain(const char *const name, const char *const path); + static void bindTextDomain(const char *const path); static void setEnv(const char *const name, const char *const value); |