Variables | |
| game_display * | screen = NULL |
| soundsource::manager * | soundsources = NULL |
| gamemap * | game_map = NULL |
| unit_map * | units = NULL |
| std::vector< team > * | teams = NULL |
| game_state * | state_of_game = NULL |
| LuaKernel * | lua_kernel = NULL |
| play_controller * | controller = NULL |
| ::tod_manager * | tod_manager = NULL |
| pathfind::manager * | tunnels = NULL |
| wb::manager * | whiteboard = NULL |
| std::vector< undo_action > * | undo_stack = NULL |
| std::vector< undo_action > * | redo_stack = NULL |
| persist_manager * | persist = NULL |
| play_controller * resources::controller = NULL |
Definition at line 28 of file resources.cpp.
Referenced by unit::add_modification(), wb::move::calculate_move_cost(), clear_resources(), events::menu_handler::current_unit(), events::mouse_handler::current_unit_attacks_from(), events::menu_handler::do_ai_formula(), events::console_handler::do_choose_level(), events::console_handler::do_create(), events::console_handler::do_layers(), events::console_handler::do_next_level(), do_replay_handle(), wb::recruit::execute(), wb::recall::execute(), wb::move::execute(), get_global_variable(), mp_sync::get_user_choice(), impl_current_get(), replay::init_side(), intf_delay(), intf_play_sound(), intf_select_hex(), events::mouse_handler::perform_attack(), play_controller::play_controller(), wb::mapbuilder::pre_build(), replay::process_error(), process_event(), turn_info::process_network_data(), lua_synchronize::query_user(), REPORT_GENERATOR(), wb::manager::save_suppose_dead(), verify_and_get_global_variable(), wb::enable_visit_all< visitor_helper >::visit_all_helper(), unit_animator::wait_for_end(), unit_animator::wait_until(), and WML_HANDLER_FUNCTION().
| gamemap * resources::game_map = NULL |
Definition at line 23 of file resources.cpp.
Referenced by unit::ability_active(), ai::testing_ai_default::testing_move_to_targets_phase::access_points(), ai::ai_default_recruitment_stage::analyze_potential_recruit_movements(), ai::testing_ai_default::average_resistance_against(), ai::testing_ai_default::recruitment_phase::average_resistance_against(), ai::ai_default_recruitment_stage::average_resistance_against(), battle_context_unit_stats::battle_context_unit_stats(), ai::readonly_context_impl::best_defensive_position(), calculate_healing(), ai::readonly_context_impl::calculate_moves(), wb::move::calculate_new_route(), ai::cfun_ai_get_suitable_keep(), change_terrain(), ai::testing_ai_default::testing_move_to_targets_phase::choose_move(), clear_resources(), game_logic::attack_map_callable::collect_possible_attacks(), ai::default_ai_context_impl::count_free_hexes_in_castle(), unit::defense_modifier(), ai::testing_ai_default::aspect_attacks::do_attack_analysis(), ai::ai_default_recruitment_stage::do_play_stage(), ai::testing_ai_default::testing_recruitment_phase::evaluate(), ai::testing_ai_default::retreat_phase::evaluate(), ai::testing_ai_default::get_healing_phase::evaluate(), ai::testing_ai_default::move_leader_to_keep_phase::evaluate(), ai::testing_ai_default::move_leader_to_goals_phase::evaluate(), ai::testing_ai_default::recruitment_phase::evaluate(), ai::testing_ai_default::aspect_recruitment_phase::evaluate(), ai::testing_ai_default::goto_phase::evaluate(), ai::testing_ai_default::testing_move_to_targets_phase::execute(), ai::testing_ai_default::passive_leader_shares_keep_phase::execute(), ai::testing_ai_default::get_villages_phase::execute(), ai::testing_ai_default::recruitment_phase::execute(), unit_creator::find_location(), find_recall_location(), find_recruit_location(), ai::default_ai_context_impl::find_targets(), ai::testing_ai_default::get_villages_phase::find_villages(), find_visible_unit(), tod_manager::get_illuminated_time_of_day(), ai::formula_ai::get_keeps(), terrain_filter::get_locations(), get_recalls_for_location(), get_recruits_for_location(), ai::formula_ai::get_value(), unit::internal_matches_filter(), intf_find_path(), intf_find_reach(), intf_find_vacant_tile(), intf_get_map_size(), intf_get_mouseover_tile(), intf_get_selected_tile(), intf_get_starting_location(), intf_get_terrain(), intf_get_terrain_info(), intf_get_time_of_day(), intf_get_village_owner(), intf_highlight_hex(), intf_put_unit(), intf_select_hex(), intf_set_village_owner(), unit::jamming_cost(), ai::readonly_context_impl::leader_can_reach_keep(), pathfind::mark_route(), terrain_filter::match(), terrain_filter::match_internal(), ai::testing_ai_default::testing_move_to_targets_phase::move_group(), events::mouse_handler::move_unit_along_route(), unit::movement_cost(), parse_location_range(), place_recruit(), play_controller::play_controller(), unit_creator::post_create(), ai::readonly_context_impl::power_projection(), ai::testing_ai_default::testing_move_to_targets_phase::rate_group(), ai::testing_ai_default::aspect_attacks::rate_terrain(), ai::default_ai_context_impl::rate_terrain(), ai::readonly_context_impl::readonly_context_impl(), editor::map_context_refresher::refresh(), REPORT_GENERATOR(), ai::formula_ai::shortest_path_calculator(), ai::testing_ai_default::testing_move_to_targets_phase::should_retreat(), ai::testing_ai_default::retreat_phase::should_retreat(), ai::readonly_context_impl::suitable_keep(), unit_can_move(), unit_defense(), unit_status(), unit::vision_cost(), and WML_HANDLER_FUNCTION().
| LuaKernel * resources::lua_kernel = NULL |
Definition at line 27 of file resources.cpp.
Referenced by events::console_handler::do_lua(), ai::lua_stage_wrapper::do_play_stage(), events::console_handler::do_unsafe_lua(), ai::lua_candidate_action_wrapper::evaluate(), play_controller::fire_prestart(), unit::internal_matches_filter(), ai::lua_aspect< T >::lua_aspect(), game_events::manager::manager(), ai::lua_goal::on_create(), and game_events::manager::~manager().
| persist_manager * resources::persist = NULL |
Definition at line 34 of file resources.cpp.
Referenced by clear_resources(), play_controller::play_controller(), playmp_scenario(), playsingle_scenario(), savegame::savegame::save_game(), verify_and_clear_global_variable(), verify_and_get_global_variable(), and verify_and_set_global_variable().
| std::vector< undo_action > * resources::redo_stack = NULL |
Definition at line 33 of file resources.cpp.
Referenced by events::mouse_handler::attack_enemy_(), events::delete_recall_unit::button_pressed(), events::menu_handler::do_recall(), events::menu_handler::do_recruit(), events::mouse_handler::move_unit_along_route(), play_controller::play_controller(), events::menu_handler::redo(), and events::menu_handler::undo().
| game_display * resources::screen = NULL |
Definition at line 21 of file resources.cpp.
Referenced by apply_shroud_changes(), wb::recruit::apply_temp_modifier(), wb::recall::apply_temp_modifier(), attack_info(), attack_prediction_displayer::button_pressed(), calculate_healing(), wb::move::calculate_move_cost(), playsingle_controller::can_execute_command(), chat_message(), check_checksums(), clear_resources(), color_adjust(), events::mouse_handler::current_unit_attacks_from(), ai::readonly_context_impl::diagnostic(), gui::dialog::dialog(), ai::formula_ai::display_message(), events::console_handler::do_control_dialog(), events::console_handler::do_inspect(), events::console_handler::do_manage(), do_replay(), do_replay_handle(), events::console_handler::do_unsafe_lua(), editor::brush_bar::draw(), editor::editor_palette< Item >::draw(), display::draw_all_panels(), mp::wait::leader_preview_pane::draw_contents(), help::help_text_area::draw_contents(), gui::scrollbar::draw_contents(), gui::slider::draw_contents(), wb::suppose_dead::draw_hex(), wb::recruit::draw_hex(), wb::recall::draw_hex(), wb::move::draw_hex(), display::draw_init(), display::draw_invalidated(), editor::unit_palette::draw_item(), editor::terrain_palette::draw_item(), display::draw_minimap(), draw_panel(), battle_prediction_pane::draw_unit(), display::drawing_buffer_commit(), wb::manager::erase_temp_move(), events_init(), wb::attack::execute(), attack::fire_event(), font::floating_label_context::floating_label_context(), gui::dialog::get_frame(), get_selected_unit(), get_village(), get_visible_unit(), gray_inactive(), play_controller::in_context_menu(), wb::suppose_dead::init(), wb::recruit::init(), wb::recall::init(), play_controller::init(), intf_add_tile_overlay(), intf_clear_messages(), intf_delay(), intf_float_label(), intf_get_displayed_unit(), intf_get_mouseover_tile(), intf_get_selected_tile(), intf_highlight_hex(), intf_remove_tile_overlay(), intf_scroll_to_tile(), intf_select_hex(), intf_show_dialog(), gui::dialog::layout(), ai::readonly_context_impl::log_message(), pathfind::mark_route(), wb::move::move(), move_unit(), attack::perform(), unit_creator::post_create(), process_event(), turn_info::process_network_data(), replay_controller::process_oos(), playmp_controller::process_oos(), play_controller::process_oos(), message_user_choice::query_user(), recalculate_fog(), playsingle_controller::recall(), playsingle_controller::recruit(), editor::editor_toolkit::redraw_toolbar(), playsingle_controller::repeat_recruit(), REPORT_GENERATOR(), wb::manager::save_recall(), wb::manager::save_suppose_dead(), display::scroll(), events::mouse_handler::show_attack_dialog(), events::menu_handler::show_chat_log(), game_logic::formula_debugger::show_gui(), gui2::side_controller::show_nicks_list(), show_wml_errors(), show_wml_messages(), gui::floating_textbox::tab(), time_of_day_at(), toggle_fog(), toggle_shroud(), unit_alignment(), unit_hp(), attack::unit_killed(), unit_moves(), unit_status(), unit_weapons(), default_map_generator::user_config(), wb::validate_visitor::visit(), wb::highlight_visitor::visit(), unit_display::wml_animation_internal(), WML_HANDLER_FUNCTION(), font::floating_label_context::~floating_label_context(), and wb::suppose_dead::~suppose_dead().
Definition at line 22 of file resources.cpp.
Referenced by clear_resources(), play_controller::init_managers(), and WML_HANDLER_FUNCTION().
| game_state * resources::state_of_game = NULL |
Definition at line 26 of file resources.cpp.
Referenced by unit_creator::add_unit(), team::build(), check_checksums(), clear_resources(), commit_wmi_commands(), storyscreen::controller::controller(), do_replay_handle(), events::menu_handler::end_turn(), ai::testing_ai_default::move_leader_to_goals_phase::evaluate(), unit_creator::find_location(), play_controller::fire_prestart(), play_controller::fire_start(), get_global_variable(), mp_sync::get_user_choice(), team::get_village(), gui2::variable_mode_controller::handle_stuff_list_selection(), game_events::internal_conditional_passed(), intf_create_unit(), intf_find_vacant_tile(), intf_put_recall_unit(), intf_put_unit(), intf_set_variable(), game_events::manager::manager(), attack::perform_hit(), play_controller::play_controller(), process_event(), terrain_label::read(), map_labels::read(), ai::testing_ai_default::recruitment_phase::recruit_usage(), ai::ai_default_recruitment_stage::recruit_usage(), editor::map_context_refresher::refresh(), storyscreen::part::resolve_wml(), storyscreen::controller::resolve_wml(), set_global_variable(), tod_manager::set_turn(), gui2::variable_mode_controller::show_stuff_list(), replay::undo(), verify(), and WML_HANDLER_FUNCTION().
| std::vector< team > * resources::teams = NULL |
Definition at line 25 of file resources.cpp.
Referenced by unit::ability_active(), ai::testing_ai_default::testing_move_to_targets_phase::access_points(), wb::recruit::apply_temp_modifier(), wb::recall::apply_temp_modifier(), battle_context_unit_stats::battle_context_unit_stats(), calculate_healing(), ai::readonly_context_impl::calculate_moves(), wb::move::calculate_new_route(), ai::cfun_ai_get_suitable_keep(), clear_resources(), gui2::tgamestate_inspector::controller::controller(), ai::default_ai_context_impl::count_free_hexes_in_castle(), ai::readonly_context_impl::current_team(), ai::readwrite_context_impl::current_team_w(), ai::testing_ai_default::aspect_attacks::do_attack_analysis(), ai::ai_default_recruitment_stage::do_play_stage(), ai::testing_ai_default::testing_recruitment_phase::do_recruit(), do_replay_handle(), wb::recall::draw_hex(), game_display::draw_movement_info(), ai::testing_ai_default::passive_leader_shares_keep_phase::evaluate(), ai::testing_ai_default::move_leader_to_keep_phase::evaluate(), ai::testing_ai_default::move_leader_to_goals_phase::evaluate(), wb::validate_visitor::evaluate_move_validity(), wb::recruit::execute(), wb::recall::execute(), wb::move::execute(), ai::testing_ai_default::recruitment_phase::execute(), ai::default_ai_context_impl::find_targets(), ai::testing_ai_default::get_villages_phase::find_villages(), lua_unit::get(), get_selected_unit(), side_filter::get_teams(), mp_sync::get_user_choice(), ai::formula_ai::get_value(), get_village(), get_visible_unit(), gui2::team_mode_controller::handle_stuff_list_selection(), impl_unit_set(), wb::move::init(), play_controller::init(), LuaKernel::initialize(), game_events::internal_conditional_passed(), unit::internal_matches_filter(), intf_find_path(), intf_find_reach(), intf_get_displayed_unit(), intf_get_recall_units(), intf_get_sides(), intf_get_starting_location(), intf_get_village_owner(), intf_highlight_hex(), intf_is_enemy(), intf_match_side(), intf_put_recall_unit(), intf_set_village_owner(), unit::invisible(), ai::readonly_context_impl::leader_can_reach_keep(), ai_testing::log_game_end(), ai_testing::log_game_start(), side_filter::match(), terrain_filter::match_internal(), side_filter::match_internal(), wb::move::move(), wb::manager::on_mouseover_change(), attack::perform(), play_controller::play_controller(), wb::mapbuilder::pre_build(), turn_info::process_network_data(), lua_synchronize::query_user(), ai::testing_ai_default::aspect_attacks::rate_terrain(), ai::default_ai_context_impl::rate_terrain(), wb::recall::recall(), editor::map_context_refresher::refresh(), wb::recall::remove_temp_modifier(), REPORT_GENERATOR(), ai::formula_ai::shortest_path_calculator(), gui2::side_controller::show_nicks_list(), gui2::tmp_change_control::controller::show_sides_list(), wb::manager::update_plan_hiding(), wb::manager::validate_viewer_actions(), verify_and_clear_global_variable(), verify_and_get_global_variable(), verify_and_set_global_variable(), wb::enable_visit_all< visitor_helper >::visit_all_helper(), and WML_HANDLER_FUNCTION().
| tod_manager * resources::tod_manager = NULL |
Definition at line 29 of file resources.cpp.
Referenced by unit::ability_active(), events::mouse_handler::attack_enemy_(), clear_resources(), combat_modifier(), ai::idle_stage::do_play_stage(), events::console_handler::do_turn(), events::console_handler::do_turn_limit(), ai::formula_ai::get_value(), impl_game_config_get(), impl_game_config_set(), unit::internal_matches_filter(), intf_get_time_of_day(), ai::readonly_context_impl::is_active(), ai_testing::log_game_end(), ai_testing::log_turn(), terrain_filter::match_internal(), play_controller::play_controller(), ai::readonly_context_impl::power_projection(), editor::map_context_refresher::refresh(), REPORT_GENERATOR(), time_of_day_at(), and WML_HANDLER_FUNCTION().
| pathfind::manager * resources::tunnels = NULL |
Definition at line 30 of file resources.cpp.
Referenced by pathfind::get_teleport_locations(), play_controller::init_managers(), pathfind::teleport_group::teleport_group(), WML_HANDLER_FUNCTION(), and play_controller::~play_controller().
| std::vector< undo_action > * resources::undo_stack = NULL |
Definition at line 32 of file resources.cpp.
Referenced by events::mouse_handler::attack_enemy_(), events::delete_recall_unit::button_pressed(), events::menu_handler::clear_undo_stack(), events::menu_handler::do_recall(), events::menu_handler::do_recruit(), events::menu_handler::execute_gotos(), events::mouse_handler::move_unit_along_route(), events::menu_handler::move_unit_to_loc(), play_controller::play_controller(), events::menu_handler::redo(), turn_info::send_data(), events::menu_handler::undo(), and turn_info::~turn_info().
| unit_map * resources::units = NULL |
Definition at line 24 of file resources.cpp.
Referenced by unit::ability_active(), ai::testing_ai_default::testing_move_to_targets_phase::access_points(), replay::add_checksum_check(), ai::protect_goal::add_targets(), ai::target_unit_goal::add_targets(), unit_creator::add_unit(), replay::add_unit_checksum(), advance_unit(), ai::testing_ai_default::ai_choose_best_recruits(), ai::testing_ai_default::recruitment_phase::analyze_potential_recruit_combat(), ai::ai_default_recruitment_stage::analyze_potential_recruit_movements(), ai::testing_ai_default::aspect_attacks::analyze_targets(), apply_shroud_changes(), attack_info(), ai::readonly_context_impl::best_defensive_position(), calculate_healing(), ai::readonly_context_impl::calculate_moves(), wb::move::calculate_new_route(), ai::readonly_context_impl::calculate_possible_moves(), ai::config_value_translator< terrain_filter >::cfg_to_value(), ai::cfun_ai_get_suitable_keep(), wb::side_actions::change_gold_spent_by(), ai::readonly_context_impl::check_attack_action(), check_checksums(), ai::testing_ai_default::testing_move_to_targets_phase::choose_move(), clear_resources(), clear_shroud(), editor::mouse_action_unit::click_left(), ai::default_ai_context_impl::count_free_hexes_in_castle(), ai::testing_ai_default::get_villages_phase::dispatch_complex(), ai::testing_ai_default::aspect_attacks::do_attack_analysis(), ai::stage_unit_formulas::do_play_stage(), ai::ai_default_recruitment_stage::do_play_stage(), do_replay_handle(), ai::testing_ai_default::testing_recruitment_phase::evaluate(), ai::testing_ai_default::passive_leader_shares_keep_phase::evaluate(), ai::testing_ai_default::simple_move_and_targeting_phase::evaluate(), ai::testing_ai_default::retreat_phase::evaluate(), ai::testing_ai_default::get_healing_phase::evaluate(), ai::testing_ai_default::get_villages_phase::evaluate(), ai::testing_ai_default::move_leader_to_keep_phase::evaluate(), ai::testing_ai_default::move_leader_to_goals_phase::evaluate(), ai::testing_ai_default::recruitment_phase::evaluate(), ai::testing_ai_default::aspect_recruitment_phase::evaluate(), ai::testing_ai_default::goto_phase::evaluate(), ai::lua_sticky_candidate_action_wrapper::evaluate(), ai::formula_ai::evaluate_candidate_action(), wb::validate_visitor::evaluate_move_validity(), wb::move::execute(), ai::testing_ai_default::testing_move_to_targets_phase::execute(), ai::testing_ai_default::global_fallback_phase::execute(), ai::testing_ai_default::passive_leader_shares_keep_phase::execute(), ai::testing_ai_default::get_villages_phase::execute(), ai::testing_ai_default::recruitment_phase::execute(), ai::readwrite_context_impl::execute_attack_action(), ai::formula_ai::execute_variant(), events::mouse_handler::fill_weapon_choices(), unit_creator::find_location(), find_recall_location(), find_recruit_location(), ai::default_ai_context_impl::find_targets(), events::mouse_handler::find_unit(), ai::testing_ai_default::get_villages_phase::find_villages(), find_visible_unit(), ai::testing_ai_default::testing_move_to_targets_phase::form_group(), test_utils::game_config_manager::game_config_manager(), help::generate_ability_topics(), help::generate_weapon_special_topics(), lua_unit::get(), unit::get_abilities(), unit::get_ability_bool(), ai::readonly_context_impl::get_avoid(), ai::ai_default_recruitment_stage::get_combat_score(), ai::testing_ai_default::fake_team::get_current_qty(), tod_manager::get_illuminated_time_of_day(), get_recalls_for_location(), ai::testing_ai_default::get_recruit_qualities(), get_recruits_for_location(), pathfind::teleport_group::get_teleport_pair(), wb::suppose_dead::get_unit(), wb::move::get_unit(), battle_prediction_pane::get_unit_strings(), game_logic::attack_map_callable::get_value(), ai::formula_ai::get_value(), get_village(), ai::testing_ai_default::get_villages_phase::get_villages(), get_visible_unit(), gui2::team_mode_controller::handle_stuff_list_selection(), gui2::unit_mode_controller::handle_stuff_list_selection(), game_events::internal_conditional_passed(), unit::internal_matches_filter(), intf_extract_unit(), intf_find_path(), intf_find_reach(), intf_find_vacant_tile(), intf_get_locations(), intf_get_unit(), intf_get_units(), intf_highlight_hex(), intf_match_location(), intf_put_recall_unit(), intf_put_unit(), intf_set_village_owner(), intf_simulate_combat(), unit::invisible(), ai::readonly_context_impl::leader_can_reach_keep(), pathfind::mark_route(), side_filter::match_internal(), unit::matches_filter(), wb::move::move(), ai::testing_ai_default::testing_move_to_targets_phase::move_group(), move_unit(), ai::protect_goal::on_create(), ai::target_location_goal::on_create(), place_recruit(), team_builder::place_units(), play_controller::play_controller(), playsingle_controller::play_turn(), ai::readonly_context_impl::power_projection(), wb::mapbuilder::pre_build(), process_event(), turn_info::process_network_data(), ai::testing_ai_default::testing_move_to_targets_phase::rate_group(), recalculate_fog(), ai::readonly_context_impl::recalculate_move_maps(), ai::ai_default_recruitment_stage::recruit_usage(), editor::map_context_refresher::refresh(), wb::suppose_dead::remove_temp_modifier(), wb::move::remove_temp_modifier(), unit_display::reset_helpers(), LuaKernel::run_filter(), wb::manager::send_network_data(), attack_type::set_specials_context(), game_controller::set_unit_data(), ai::formula_ai::shortest_path_calculator(), gui2::unit_mode_controller::show_stuff_list(), side_units(), side_units_cost(), side_upkeep(), ai::readonly_context_impl::suitable_keep(), wb::suppose_dead::suppose_dead(), ai::lua_object< T >::to_type(), toggle_fog(), toggle_shroud(), unit_can_move(), unit_weapons(), ai::variant_value_translator< terrain_filter >::variant_to_value(), wb::validate_visitor::visit(), unit_display::wml_animation_internal(), WML_HANDLER_FUNCTION(), and unit_movement_resetter::~unit_movement_resetter().
| wb::manager * resources::whiteboard = NULL |
Definition at line 31 of file resources.cpp.
Referenced by advance_unit(), playsingle_controller::can_execute_command(), clear_resources(), replay_network_sender::commit_and_sync(), wb::manager::current_side_has_actions(), events::mouse_handler::current_unit_attacks_from(), play_controller::do_init_side(), events::menu_handler::do_recruit(), events::console_handler::do_toggle_whiteboard(), events::console_handler::do_whiteboard_options(), game_display::draw_hex(), game_display::draw_movement_info(), events::menu_handler::end_turn(), play_controller::finish_side_turn(), playsingle_controller::get_action_state(), play_controller::init_managers(), events::mouse_handler::left_click(), events::mouse_handler::mouse_motion(), move_unit(), events::mouse_handler::move_unit_along_route(), place_recruit(), playmp_controller::play_human_turn(), playsingle_controller::play_turn(), game_display::post_draw(), game_display::pre_draw(), turn_info::process_network_data(), wb::side_actions::queue_action(), playsingle_controller::recall(), events::menu_handler::recall(), playsingle_controller::recruit(), events::menu_handler::recruit(), events::menu_handler::redo(), playsingle_controller::repeat_recruit(), REPORT_GENERATOR(), events::mouse_handler::save_whiteboard_attack(), events::mouse_handler::select_hex(), events::mouse_handler::set_current_paths(), game_display::set_team(), replay_network_sender::sync_non_undoable(), wb::side_actions::synced_enqueue(), events::menu_handler::undo(), wb::validate_visitor::validate_visitor(), and playsingle_controller::whiteboard_toggle().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:25:12 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |