X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmods.h;h=dedcc98978ff1ceb241dba2af5f32c9e22f75af3;hb=676f34a02be17d898ea45b1b05be72bfcfcd588e;hp=eb453bf6a3e9cf51dbbb6d14faf7ebf365b0d9cf;hpb=967121a34bbc60e6b46c7ec470b151f668ef1fef;p=dragonfireclient.git diff --git a/src/mods.h b/src/mods.h index eb453bf6a..dedcc9897 100644 --- a/src/mods.h +++ b/src/mods.h @@ -21,14 +21,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #define MODS_HEADER #include "irrlichttypes.h" -#include #include #include #include #include #include #include -#include #include "json/json.h" #include "config.h" @@ -152,10 +150,9 @@ class ModConfiguration // exists. A name conflict happens when two or more mods // at the same level have the same name but different paths. // Levels (mods in higher levels override mods in lower levels): - // 1. common mod in modpack; 2. common mod; - // 3. game mod in modpack; 4. game mod; - // 5. world mod in modpack; 6. world mod; - // 7. addon mod in modpack; 8. addon mod. + // 1. game mod in modpack; 2. game mod; + // 3. world mod in modpack; 4. world mod; + // 5. addon mod in modpack; 6. addon mod. std::set m_name_conflicts; }; @@ -202,11 +199,19 @@ struct ModStoreVersionEntry { int mtversion; }; +struct ModStoreTitlePic { + int id; + std::string file; + std::string description; + int mod; +}; + struct ModStoreModDetails { /* version_set?? */ std::vector categories; ModAuthorInfo author; ModLicenseInfo license; + ModStoreTitlePic titlepic; int id; std::string title; std::string basename;