#include <controller.hpp>

Public Member Functions | |
| controller (display &disp, const vconfig &data, const std::string &scenario_name, int segment_index, int total_segments) | |
| STORY_RESULT | show (START_POSITION startpos=START_BEGINNING) |
| Display all story screen parts in a first..last sequence. | |
Private Types | |
| typedef boost::shared_ptr< part > | part_pointer_type |
| typedef boost::shared_ptr < part_ui > | render_pointer_type |
Private Member Functions | |
| void | resolve_wml (const vconfig &cfg) |
Private Attributes | |
| display & | disp_ |
| const resize_lock | disp_resize_lock_ |
| const events::event_context | evt_context_ |
| std::string | scenario_name_ |
| int | segment_index_ |
| int | total_segments_ |
| std::vector< part_pointer_type > | parts_ |
Definition at line 46 of file controller.hpp.
typedef boost::shared_ptr< part > storyscreen::controller::part_pointer_type [private] |
Definition at line 58 of file controller.hpp.
typedef boost::shared_ptr< part_ui > storyscreen::controller::render_pointer_type [private] |
Definition at line 59 of file controller.hpp.
| storyscreen::controller::controller | ( | display & | disp, | |
| const vconfig & | data, | |||
| const std::string & | scenario_name, | |||
| int | segment_index, | |||
| int | total_segments | |||
| ) |
Definition at line 46 of file controller.cpp.
References ASSERT_LOG, resolve_wml(), and resources::state_of_game.

| void storyscreen::controller::resolve_wml | ( | const vconfig & | cfg | ) | [private] |
Definition at line 60 of file controller.cpp.
References vconfig::child(), game_events::conditional_passed(), vconfig::empty(), vconfig::get_parsed_config(), game_state::get_variable_const(), game_events::handle_deprecated_message(), game_events::handle_wml_log_message(), vconfig::has_child(), vconfig::ordered_begin(), vconfig::ordered_end(), parts_, scenario_name_, and resources::state_of_game.
Referenced by controller().


| STORY_RESULT storyscreen::controller::show | ( | START_POSITION | startpos = START_BEGINNING |
) |
Display all story screen parts in a first..last sequence.
Definition at line 126 of file controller.cpp.
References _, ASSERT_LOG, storyscreen::part_ui::BACK, disp_, LOG_NG, storyscreen::part_ui::NEXT, parts_, storyscreen::part_ui::QUIT, segment_index_, storyscreen::part_ui::show(), storyscreen::START_BEGINNING, storyscreen::START_END, and display::video().
Referenced by show_story().


display& storyscreen::controller::disp_ [private] |
Definition at line 64 of file controller.hpp.
Referenced by show().
const resize_lock storyscreen::controller::disp_resize_lock_ [private] |
Definition at line 65 of file controller.hpp.
const events::event_context storyscreen::controller::evt_context_ [private] |
Definition at line 66 of file controller.hpp.
std::vector< part_pointer_type > storyscreen::controller::parts_ [private] |
Definition at line 73 of file controller.hpp.
Referenced by resolve_wml(), and show().
std::string storyscreen::controller::scenario_name_ [private] |
Definition at line 68 of file controller.hpp.
Referenced by resolve_wml().
int storyscreen::controller::segment_index_ [private] |
Definition at line 69 of file controller.hpp.
Referenced by show().
int storyscreen::controller::total_segments_ [private] |
Definition at line 70 of file controller.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:26:03 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |