The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions | Variables
interface.cpp File Reference

Storyscreen controller (wrapper interface). More...

#include "global.hpp"
#include "variable.hpp"
#include "storyscreen/interface.hpp"
#include "storyscreen/controller.hpp"
#include "gettext.hpp"
#include "intro.hpp"
#include "language.hpp"
#include "log.hpp"
#include "sound.hpp"
#include "text.hpp"
#include "video.hpp"
Include dependency graph for interface.cpp:

Go to the source code of this file.

Macros

#define LOG_NG   LOG_STREAM(info, log_engine)
 

Functions

void show_story (CVideo &video, const std::string &scenario_name, const config::const_child_itors &story)
 Shows an introduction sequence using story WML. More...
 

Variables

static lg::log_domain log_engine ("engine")
 

Detailed Description

Storyscreen controller (wrapper interface).

Definition in file interface.cpp.

Macro Definition Documentation

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 35 of file interface.cpp.

Function Documentation

void show_story ( CVideo video,
const std::string scenario_name,
const config::const_child_itors story 
)

Shows an introduction sequence using story WML.

Each part of the sequence will be displayed in turn, with the user able to go to the next part, previous part, or skip it entirely.

Definition at line 37 of file interface.cpp.

References storyscreen::BACK, itor, storyscreen::NEXT, storyscreen::QUIT, storyscreen::controller::show(), storyscreen::START_BEGINNING, storyscreen::START_END, and video2::trigger_full_redraw().

Referenced by playsingle_controller::play_scenario().

Variable Documentation

lg::log_domain log_engine("engine")
static