Display credits about all contributors. More...
Functions | |
| static void | add_lines (std::vector< std::string > &res, config const &c) |
| Given a vector of strings, and a config representing an [about] section, add all the credits lines from the about section to the list of strings. | |
| std::vector< std::string > | get_text (const std::string &campaign) |
| void | set_about (const config &cfg) |
| void | show_about (display &disp, const std::string &campaign) |
| Show credits with list of contributors. | |
Variables | |
| static config | about_list = config() |
| static std::map< std::string, std::string > | images |
| static std::string | images_default |
Display credits about all contributors.
This module is used from the startup screen.
When show_about() is called, a list of contributors to the game will be presented to the user.
| static void about::add_lines | ( | std::vector< std::string > & | res, | |
| config const & | c | |||
| ) | [static] |
Given a vector of strings, and a config representing an [about] section, add all the credits lines from the about section to the list of strings.
Definition at line 47 of file about.cpp.
References config::child_range(), and utils::split().

| std::vector< std::string > about::get_text | ( | const std::string & | campaign | ) |
| void about::set_about | ( | const config & | cfg | ) |
| void about::show_about | ( | display & | disp, | |
| const std::string & | campaign | |||
| ) |
Show credits with list of contributors.
Names of people are shown scrolling up like in movie-credits.
Uses map from wesnoth or campaign as background.
Referenced by do_gameloop(), and game_controller::launch_game().

config about::about_list = config() [static] |
std::map<std::string , std::string> about::images [static] |
std::string about::images_default [static] |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:16:31 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |