The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
interface.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2016 by Ignacio R. Morelle <[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 /**
16  * @file
17  * Storyscreen controller (wrapper interface).
18  */
19 
20 #ifndef STORYSCREEN_HPP_INCLUDED
21 #define STORYSCREEN_HPP_INCLUDED
22 
23 #include <string>
24 
25 #include "config.hpp"
26 
27 class vconfig;
28 class CVideo;
29 class t_string;
30 
31 namespace storyscreen {
32 
36 };
37 
38 } /* storyscreen namespace */
39 
40 /**
41  * Shows an introduction sequence using story WML.
42  *
43  * Each part of the sequence will be displayed in turn, with the user
44  * able to go to the next part, previous part, or skip it entirely.
45  */
46 void show_story(CVideo& video, const std::string &scenario_name,
47  const config::const_child_itors &story);
48 
49 #endif /* ! STORYSCREEN_HPP_INCLUDED */
Definition: video.hpp:58
Definitions for the interface to Wesnoth Markup Language (WML).
std::pair< const_child_iterator, const_child_iterator > const_child_itors
Definition: config.hpp:214
void show_story(CVideo &video, const std::string &scenario_name, const config::const_child_itors &story)
Shows an introduction sequence using story WML.
Definition: interface.cpp:37
A variable-expanding proxy for the config class.
Definition: variable.hpp:36
GLsizei const GLcharARB ** string
Definition: glew.h:4503