aboutsummaryrefslogtreecommitdiff
path: root/src/mods.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-07-13 01:36:58 +0200
committerPilzAdam <pilzadam@minetest.net>2013-07-22 18:09:59 +0200
commit5c7ecdb7c583c98cbe6bdf54ae7a07e6a6a61007 (patch)
tree3f169f5908df7afd7a20331f3bb96d37d3e81212 /src/mods.h
parent80a2acaa86de99356879f3c79adb63fea47d00ee (diff)
downloadminetest-5c7ecdb7c583c98cbe6bdf54ae7a07e6a6a61007.tar.gz
minetest-5c7ecdb7c583c98cbe6bdf54ae7a07e6a6a61007.tar.bz2
minetest-5c7ecdb7c583c98cbe6bdf54ae7a07e6a6a61007.zip
Add support for modstore screenshots
Add error output on invalid mmdb entries
Diffstat (limited to 'src/mods.h')
-rw-r--r--src/mods.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mods.h b/src/mods.h
index eb453bf6a..e10d49324 100644
--- a/src/mods.h
+++ b/src/mods.h
@@ -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;