Storyscreen controller (wrapper interface). More...
Go to the source code of this file.
Namespaces | |
storyscreen | |
Enumerations | |
enum | storyscreen::START_POSITION { storyscreen::START_BEGINNING, storyscreen::START_END } |
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... | |
Storyscreen controller (wrapper interface).
Definition in file interface.hpp.
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().