X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fmods.h;h=f35bd18dba0b5e01c8046c1d6d423f1171d08a04;hb=dec8c43de3afdbd2e257a031f5e053e7f1e74aa0;hp=dedcc98978ff1ceb241dba2af5f32c9e22f75af3;hpb=4e1f50035e860a00636ca5d804c267119df99601;p=oweals%2Fminetest.git diff --git a/src/mods.h b/src/mods.h index dedcc9897..f35bd18db 100644 --- a/src/mods.h +++ b/src/mods.h @@ -30,10 +30,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "json/json.h" #include "config.h" -#if USE_CURL -#include -#endif - #define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_" class ModError : public std::exception @@ -66,7 +62,7 @@ struct ModSpec bool is_modpack; // if modpack: std::map modpack_content; - ModSpec(const std::string name_="", const std::string path_=""): + ModSpec(const std::string &name_="", const std::string &path_=""): name(name_), path(path_), depends(), @@ -104,7 +100,7 @@ public: m_name_conflicts() {} - + ModConfiguration(std::string worldpath); // checks if all dependencies are fullfilled.