The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
about.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003 - 2016 by David White <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef ABOUT_H_INCLUDED
16 #define ABOUT_H_INCLUDED
17 
18 #include "global.hpp"
19 
20 class CVideo;
21 class config;
22 
23 #include <vector>
24 #include <string>
25 
26 namespace about
27 {
28 
29 void show_about(CVideo& video, const std::string &campaign = std::string());
30 void set_about(const config& cfg);
31 std::vector<std::string> get_text(const std::string &campaign = std::string(), bool split_multiline_headers = false);
32 
33 }
34 
35 #endif
void show_about(CVideo &video, const std::string &campaign)
Show credits with list of contributors.
Definition: about.cpp:208
Definition: video.hpp:58
std::vector< std::string > get_text(const std::string &campaign, bool split_multiline_headers)
Definition: about.cpp:110
Display credits about all contributors.
void set_about(const config &cfg)
Definition: about.cpp:132
A config object defines a single node in a WML file, with access to child nodes.
Definition: config.hpp:83
GLsizei const GLcharARB ** string
Definition: glew.h:4503