diff options
author | Elijah Duffy <enduffy2014@outlook.com> | 2017-07-14 11:37:58 -0700 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-07-14 20:37:58 +0200 |
commit | dc3ca09e0e0e25f40cccae12c73830b0334ffb60 (patch) | |
tree | 25ce565ec4db341868754b004fe167c452950b50 /src/mods.h | |
parent | 32b68de65a303f0e063cb0d61a79ff7b4837ad7f (diff) | |
download | minetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.tar.gz minetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.tar.bz2 minetest-dc3ca09e0e0e25f40cccae12c73830b0334ffb60.zip |
Remove remaining modstore code (#6120)
Diffstat (limited to 'src/mods.h')
-rw-r--r-- | src/mods.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/mods.h b/src/mods.h index 1a5c32692..697fed38b 100644 --- a/src/mods.h +++ b/src/mods.h @@ -141,15 +141,6 @@ public: }; #endif -#if USE_CURL -Json::Value getModstoreUrl(const std::string &url); -#else -inline Json::Value getModstoreUrl(const std::string &url) -{ - return Json::Value(); -} -#endif - struct ModLicenseInfo { int id; std::string shortinfo; @@ -161,57 +152,6 @@ struct ModAuthorInfo { std::string username; }; -struct ModStoreMod { - int id; - std::string title; - std::string basename; - ModAuthorInfo author; - float rating; - bool valid; -}; - -struct ModStoreCategoryInfo { - int id; - std::string name; -}; - -struct ModStoreVersionEntry { - int id; - std::string date; - std::string file; - bool approved; - //ugly version number - int mtversion; -}; - -struct ModStoreTitlePic { - int id; - std::string file; - std::string description; - int mod; -}; - -struct ModStoreModDetails { - /* version_set?? */ - std::vector<ModStoreCategoryInfo> categories; - ModAuthorInfo author; - ModLicenseInfo license; - ModStoreTitlePic titlepic; - int id; - std::string title; - std::string basename; - std::string description; - std::string repository; - float rating; - std::vector<std::string> depends; - std::vector<std::string> softdeps; - - std::string download_url; - std::string screenshot_url; - std::vector<ModStoreVersionEntry> versions; - bool valid; -}; - class ModMetadata: public Metadata { public: |