Server: delegate mod management & config to ServerModConfiguration (#7131)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 16 Mar 2018 07:41:33 +0000 (08:41 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Mar 2018 07:41:33 +0000 (08:41 +0100)
commit6c184947c3886ce80aa9eb9807a700025a344442
treea9c9cebb4b9ff2206f93ff02c00c4a801e6fa760
parent5e61f64ce259fe0b23cbb377b44e90a0fbc820d7
Server: delegate mod management & config to ServerModConfiguration (#7131)

* Server: delegate mod management & config to ServerModConfiguration (rename it to ServerModManager)

* Use c++11 range based loops
* Add unittests + experimental/default mod as a test case to permit testing mod loading in future tests
13 files changed:
src/CMakeLists.txt
src/gui/guiConfirmRegistration.cpp
src/mods.cpp
src/mods.h
src/server.cpp
src/server.h
src/server/CMakeLists.txt [new file with mode: 0644]
src/server/mods.cpp [new file with mode: 0644]
src/server/mods.h [new file with mode: 0644]
src/unittest/CMakeLists.txt
src/unittest/test_config.h.in [new file with mode: 0644]
src/unittest/test_servermodmanager.cpp [new file with mode: 0644]
src/unittest/test_world/world.mt [new file with mode: 0644]