summaryrefslogtreecommitdiff
path: root/src/content/subgames.h
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-16 21:52:12 +0100
committerGitHub <noreply@github.com>2018-05-16 21:52:12 +0100
commit3eb363f813bfc4fbca250579848532ef296b3077 (patch)
tree0ab1ef6ad7a56e068e7519daf9795f402e3f27af /src/content/subgames.h
parent45e48295d203b653041404a75c6e2744b78ced45 (diff)
downloadminetest-3eb363f813bfc4fbca250579848532ef296b3077.tar.gz
minetest-3eb363f813bfc4fbca250579848532ef296b3077.tar.bz2
minetest-3eb363f813bfc4fbca250579848532ef296b3077.zip
Add updating to online content browser
Diffstat (limited to 'src/content/subgames.h')
-rw-r--r--src/content/subgames.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/subgames.h b/src/content/subgames.h
index 70a9d2713..4198ea860 100644
--- a/src/content/subgames.h
+++ b/src/content/subgames.h
@@ -30,6 +30,7 @@ struct SubgameSpec
std::string id;
std::string name;
std::string author;
+ int release;
std::string path;
std::string gamemods_path;
std::set<std::string> addon_mods_paths;
@@ -41,9 +42,9 @@ struct SubgameSpec
std::set<std::string>(),
const std::string &name = "",
const std::string &menuicon_path = "",
- const std::string &author = "") :
+ const std::string &author = "", int release = 0) :
id(id),
- name(name), author(author), path(path),
+ name(name), author(author), release(release), path(path),
gamemods_path(gamemods_path), addon_mods_paths(addon_mods_paths),
menuicon_path(menuicon_path)
{