[CSM] implement client side mod loading (#5123)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 27 Jan 2017 06:41:10 +0000 (07:41 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Mon, 13 Mar 2017 22:56:05 +0000 (23:56 +0100)
commit92b45b2a189b703fc7cfc8ddbc09a7ad563a13bc
tree146edaf44e3cbeca55c34e6d30b375dd053877b4
parentc42c53fccf87a3819ca78de52f8f20c47c4fbb9f
[CSM] implement client side mod loading (#5123)

* client side mods are located in clientmods/
* move builtin/preview.lua to clientmods/preview/init.lua as a preview mod
* refactor ModConfiguration class to work properly with client and server using child objects
* move some Server constructor mod load code to ModConfiguration to reduce code duplication between client and server
* remove mods.{cpp,h} unused functions
* use UNORDERED_SET instead of std::set in some modspec storages
CMakeLists.txt
builtin/client/chatcommands.lua
builtin/client/init.lua
builtin/client/preview.lua [deleted file]
clientmods/preview/init.lua [new file with mode: 0644]
src/client.cpp
src/client.h
src/mods.cpp
src/mods.h
src/server.cpp