1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Add support for modstore screenshots

Add error output on invalid mmdb entries
This commit is contained in:
sapier 2013-07-13 01:36:58 +02:00 committed by PilzAdam
parent 80a2acaa86
commit 5c7ecdb7c5
4 changed files with 67 additions and 3 deletions

View file

@ -202,11 +202,19 @@ struct ModStoreVersionEntry {
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;