The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions | Variables
about Namespace Reference

Display credits about all contributors. More...

Functions

const configget_about_config ()
 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)
 
static void gather_images (const config &from, std::vector< std::string > &to)
 
void set_about (const config &cfg)
 Regenerates the credits config. More...
 

Variables

static config about_list
 
static std::map< std::string,
std::vector< std::string > > 
images
 
static std::vector< std::string > images_default
 

Detailed Description

Display credits about all contributors.

Function Documentation

static void about::gather_images ( const config from,
std::vector< std::string > &  to 
)
static

Definition at line 47 of file about.cpp.

References utils::parenthetical_split().

Referenced by set_about().

const config & about::get_about_config ( )

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

Definition at line 33 of file about.cpp.

References about_list.

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

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

Definition at line 38 of file about.cpp.

References images_default.

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

void about::set_about ( const config cfg)

Regenerates the credits config.

Definition at line 55 of file about.cpp.

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

Referenced by game_config_manager::init_game_config().

Variable Documentation

config about::about_list
static

Definition at line 29 of file about.cpp.

Referenced by get_about_config().

std::map<std::string, std::vector<std::string> > about::images
static
std::vector<std::string> about::images_default
static

Definition at line 31 of file about.cpp.

Referenced by get_background_images().