about Namespace Reference

Display credits about all contributors. More...


Functions

static void add_lines (std::vector< std::string > &res, config const &c)
std::vector< std::string > get_text (std::string campaign)
void set_about (const config &cfg)
void show_about (display &disp, 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


Detailed Description

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.


Function Documentation

static void about::add_lines ( std::vector< std::string > &  res,
config const &  c 
) [static]

Definition at line 44 of file about.cpp.

References config::get_children(), N_, and utils::split().

Referenced by get_text().

std::vector< std::string > about::get_text ( std::string  campaign  ) 

Definition at line 74 of file about.cpp.

References about_list, add_lines(), and config::get_children().

Referenced by help::generate_about_text(), and show_about().

void about::set_about ( const config cfg  ) 

void about::show_about ( display disp,
std::string  campaign 
)


Variable Documentation

Definition at line 38 of file about.cpp.

Referenced by get_text(), and set_about().

std::map<std::string , std::string> about::images [static]

Definition at line 39 of file about.cpp.

Referenced by terrain_builder::add_constraints(), set_about(), show_about(), and show_intro_part().

std::string about::images_default [static]

Definition at line 40 of file about.cpp.

Referenced by set_about(), and show_about().


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs