From 084be3599a5ef0acba7c341bfd14a4e9801423a2 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 15 Feb 2013 21:13:53 +0200 Subject: Get menu background image from selected game --- src/subgame.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/subgame.h') 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 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 &addon_mods_paths_=std::set(), - 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 -- cgit v1.2.3