diff options
author | Perttu Ahola <celeron55@gmail.com> | 2013-02-15 21:13:53 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-05-02 19:43:47 +0300 |
commit | 084be3599a5ef0acba7c341bfd14a4e9801423a2 (patch) | |
tree | 319535075c0eafd482abd32f5418502aefc17ea9 /src/subgame.h | |
parent | b28734c82cdb88228a12a3cac90f51ab9384b653 (diff) | |
download | minetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.tar.gz minetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.tar.bz2 minetest-084be3599a5ef0acba7c341bfd14a4e9801423a2.zip |
Get menu background image from selected game
Diffstat (limited to 'src/subgame.h')
-rw-r--r-- | src/subgame.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/subgame.h b/src/subgame.h index b120b7542..2e16c2fec 100644 --- a/src/subgame.h +++ b/src/subgame.h @@ -35,17 +35,26 @@ struct SubgameSpec std::string gamemods_path; //path to mods of the game std::set<std::string> addon_mods_paths; //paths to addon mods for this game std::string name; + std::string menubackground_path; + std::string menuoverlay_path; + std::string menuicon_path; SubgameSpec(const std::string &id_="", const std::string &path_="", const std::string &gamemods_path_="", const std::set<std::string> &addon_mods_paths_=std::set<std::string>(), - const std::string &name_=""): + const std::string &name_="", + const std::string &menubackground_path_="", + const std::string &menuoverlay_path_="", + const std::string &menuicon_path_=""): id(id_), path(path_), gamemods_path(gamemods_path_), addon_mods_paths(addon_mods_paths_), - name(name_) + name(name_), + menubackground_path(menubackground_path_), + menuoverlay_path(menuoverlay_path_), + menuicon_path(menuicon_path_) {} bool isValid() const |