Display credits about all contributors. More...
Classes | |
| struct | credits_group | 
Typedefs | |
| using | credits_data = std::vector< credits_group > | 
Functions | |
| const credits_data & | get_credits_data () | 
| Gets all credits data.  More... | |
| utils::optional< credits_data::const_iterator > | get_campaign_credits (const std::string &campaign) | 
| Gets credits for a given campaign.  More... | |
| std::vector< std::string > | get_background_images (const std::string &campaign) | 
| Gets credit background images for a given campaign.  More... | |
| void | set_about (const game_config_view &cfg) | 
| Regenerates the credits data.  More... | |
Display credits about all contributors.
| using about::credits_data = typedef std::vector<credits_group> | 
| std::vector< std::string > about::get_background_images | ( | const std::string & | campaign | ) | 
Gets credit background images for a given campaign.
Definition at line 106 of file about.cpp.
Referenced by gui2::dialogs::end_credits::pre_show().
| utils::optional< credits_data::const_iterator > about::get_campaign_credits | ( | const std::string & | campaign | ) | 
Gets credits for a given campaign.
Returns a null optional if that campaign has no credits.
Definition at line 100 of file about.cpp.
References utils::ranges::find(), get_credits_data(), and about::credits_group::id.
Referenced by gui2::dialogs::outro::outro().
| const credits_data & about::get_credits_data | ( | ) | 
Gets all credits data.
Definition at line 95 of file about.cpp.
Referenced by get_campaign_credits(), and gui2::dialogs::end_credits::pre_show().
| void about::set_about | ( | const game_config_view & | cfg | ) | 
Regenerates the credits data.
Definition at line 119 of file about.cpp.
References config::add_child(), cfg, config::child_range(), and config::empty().
Referenced by game_config_manager::init_game_config().