diff options
author | tycho <tycho@localhost> | 2015-05-14 16:47:51 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-16 11:46:51 +0200 |
commit | b9efa02c80b54e044326771bbffdddf206daef2e (patch) | |
tree | ab615f16b3c46b107f1df0e180c835300dbd19b7 /src/Root.h | |
parent | Added TCLAP (diff) | |
download | cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar.gz cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar.bz2 cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar.lz cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar.xz cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.tar.zst cuberite-b9efa02c80b54e044326771bbffdddf206daef2e.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Root.h b/src/Root.h index e0b6cf26c..2b30afaff 100644 --- a/src/Root.h +++ b/src/Root.h @@ -24,6 +24,7 @@ class cWorld; class cPlayer; class cCommandOutputCallback; class cCompositeChat; +class cSettingsRepositoryInterface; typedef cItemCallback<cPlayer> cPlayerListCallback; typedef cItemCallback<cWorld> cWorldListCallback; @@ -53,7 +54,7 @@ public: cRoot(void); ~cRoot(); - void Start(void); + void Start(std::unique_ptr<cSettingsRepositoryInterface> overridesRepo); // tolua_begin cServer * GetServer(void) { return m_Server; } @@ -204,7 +205,7 @@ private: void LoadGlobalSettings(); /// Loads the worlds from settings.ini, creates the worldmap - void LoadWorlds(cIniFile & IniFile); + void LoadWorlds(cSettingsRepositoryInterface & a_Settings); /// Starts each world's life void StartWorlds(void); |