The Battle for Wesnoth  1.15.0-dev
Classes | Typedefs | Functions
about Namespace Reference

Display credits about all contributors. More...

Classes

struct  credits_group
 

Typedefs

using credits_data = std::vector< credits_group >
 

Functions

const credits_dataget_credits_data ()
 General getter methods for the credits config and image lists by campaign id. More...
 
std::vector< std::string > get_background_images (const std::string &campaign)
 
void set_about (const config &cfg)
 Regenerates the credits config. More...
 

Detailed Description

Display credits about all contributors.

Typedef Documentation

◆ credits_data

using about::credits_data = typedef std::vector<credits_group>

Definition at line 53 of file about.hpp.

Function Documentation

◆ get_background_images()

std::vector< std::string > about::get_background_images ( const std::string &  campaign)

Definition at line 97 of file about.cpp.

Referenced by gui2::dialogs::end_credits::pre_show().

◆ get_credits_data()

const credits_data & about::get_credits_data ( )

General getter methods for the credits config and image lists by campaign id.

Definition at line 92 of file about.cpp.

Referenced by gui2::dialogs::end_credits::pre_show().

◆ set_about()

void about::set_about ( const config cfg)

Regenerates the credits config.

Definition at line 106 of file about.cpp.

References config::add_child(), config::child_range(), and config::empty().

Referenced by game_config_manager::init_game_config().