The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
function.cpp File Reference
#include "formula/function.hpp"
#include "color.hpp"
#include "formula/callable_objects.hpp"
#include "formula/debugger.hpp"
#include "game_config.hpp"
#include "game_display.hpp"
#include "log.hpp"
#include <boost/math/constants/constants.hpp>
#include <cctype>
#include <deque>
Include dependency graph for function.cpp:

Go to the source code of this file.

Namespaces

 wfl
 
 wfl::builtins
 
 wfl::actions
 

Macros

#define DBG_NG   LOG_STREAM(debug, log_engine)
 
#define LOG_SF   LOG_STREAM(info, log_scripting_formula)
 
#define WRN_SF   LOG_STREAM(warn, log_scripting_formula)
 
#define ERR_SF   LOG_STREAM(err, log_scripting_formula)
 

Functions

 wfl::builtins::DEFINE_WFL_FUNCTION (debug, 0, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (dir, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (if, 2,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (switch, 3,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (abs, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (min, 1,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (max, 1,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (debug_float, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (debug_print, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (debug_profile, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (keys, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (values, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (tolist, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (tomap, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (substring, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (replace, 3, 4)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (insert, 3, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (length, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (concatenate, 1,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (str_upper, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (str_lower, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (sin, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (cos, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (tan, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (asin, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (acos, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (atan, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (sqrt, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (cbrt, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (root, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (log, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (exp, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (pi, 0, 0)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (hypot, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (index_of, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (choose, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (wave, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (sort, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (reverse, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (contains_string, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (find_string, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (filter, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (find, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (map, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (take_while, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (zip, 1,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (reduce, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (sum, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (head, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (tail, 1, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (size, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (null, 0,-1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (ceil, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (round, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (floor, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (trunc, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (frac, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (sgn, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (as_decimal, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (loc, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (pair, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (distance_between, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (adjacent_locs, 1, 1)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (are_adjacent, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (relative_dir, 2, 2)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (direction_from, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (rotate_loc_around, 2, 3)
 
 wfl::builtins::DEFINE_WFL_FUNCTION (type, 1, 1)
 
 wfl::actions::DEFINE_WFL_FUNCTION (safe_call, 2, 2)
 
 wfl::actions::DEFINE_WFL_FUNCTION (set_var, 2, 2)
 

Variables

static lg::log_domain log_engine ("engine")
 
static lg::log_domain log_scripting_formula ("scripting/formula")
 
static std::deque< std::string > wfl::call_stack
 

Macro Definition Documentation

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 31 of file function.cpp.

Referenced by wfl::formula_function_expression::execute().

#define ERR_SF   LOG_STREAM(err, log_scripting_formula)

Definition at line 35 of file function.cpp.

#define LOG_SF   LOG_STREAM(info, log_scripting_formula)

Definition at line 33 of file function.cpp.

Referenced by wfl::builtins::DEFINE_WFL_FUNCTION().

#define WRN_SF   LOG_STREAM(warn, log_scripting_formula)

Definition at line 34 of file function.cpp.

Variable Documentation

variant a_
mutable
variant b_
mutable
expression_ptr expr_

Definition at line 720 of file function.cpp.

Referenced by BOOST_FUSION_ADAPT_STRUCT().

const formula_callable* fallback_
size_t i

Definition at line 933 of file function.cpp.

Referenced by unit::ability_active(), unit::ability_affects_adjacent(), ai::ai_default_rca::move_to_targets_phase::access_points(), display::action_pressed(), editor::editor_palette< Item >::active_group_index(), actions::actor_sighted(), ai::readonly_context_impl::add_aspects(), replay::add_chat_log_entry(), ai::component::add_child(), ai::readonly_context_impl::add_facet(), gui2::dialogs::preferences_dialog::add_friend_list_entry(), gui2::dialogs::preferences_dialog::add_hotkey_callback(), theme::add_object(), add_prefixes(), add_s(), gui2::dialogs::mp_staging::add_side_node(), adjust_varargs(), map_labels::all_categories(), team::ally_fog(), team::ally_shroud(), ai::attack_analysis::analyze(), ai::ai_default_rca::aspect_attacks_base::analyze_targets(), gui2::listbox::any_rows_shown(), plugins_manager::any_running(), schema_validation::class_tag::append_super(), unit::apply_builtin_effect(), simple_wml::node::apply_diff(), config::apply_diff(), ng::create_engine::type_list::apply_filter(), mp::lobby_info::apply_game_filter(), image::apply_light(), actions::undo_list::apply_shroud_changes(), archive_dir(), ai::attack_analysis::attack_close(), attack_info(), available_addons(), combatant::average_hp(), backstab_check(), unit_map::begin_core(), ai::readonly_context_impl::best_defensive_position(), gui::widget::bg_cancel(), gui::widget::bg_restore(), gui::widget::bg_update(), blend_image(), BOOST_AUTO_TEST_CASE(), gui2::builder_grid::build(), unit_type::build_created(), unit_type::build_full(), unit_type::build_help_index(), build_key(), wfl::variant_int::build_range_variant(), gui2::implementation::builder_multi_page::builder_multi_page(), utils::bullet_list(), movetype::terrain_info::data::calc_value(), gui2::policy::placement::horizontal_list::calculate_best_size(), gui2::policy::placement::vertical_list::calculate_best_size(), gui2::policy::placement::table::calculate_best_size(), gui2::policy::placement::independent::calculate_best_size(), unit_drawer::calculate_energy_bar(), gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order(), gui::button::calculate_size(), statistics::calculate_stats(), playsingle_controller::hotkey_handler::can_execute_command(), editor::editor_controller::can_execute_command(), play_controller::hotkey_handler::can_execute_command(), ai::formula_ai::can_reach_unit(), ai::cfun_ai_get_attacks(), ai::cfun_ai_get_recruitment_pattern(), ai::cfun_ai_get_targets(), ai::component::change_child(), events::menu_handler::change_side(), ai::readonly_context_impl::check_attack_action(), editor::context_manager::check_open_map(), simple_wml::node::check_ordered_children(), editor::context_manager::check_switch_open_map(), game_board::check_victory(), checkrepeated(), simple_wml::node::child(), config::child(), config::child_count(), config::child_or_add(), config::child_or_empty(), config::child_range(), simple_wml::node::children(), unit_animation_component::choose_animation(), battle_context::choose_attacker_weapon(), battle_context::choose_defender_weapon(), ai::ai_default_rca::move_to_targets_phase::choose_move(), savegame::clean_saves(), filesystem::binary_paths_manager::cleanup(), map_labels::clear(), simple_wml::document::clear(), unit_map::clear(), config::clear_children_impl(), actions::shroud_clearer::clear_dest(), config::clear_diff_track(), font::clear_fonts(), actions::shroud_clearer::clear_loc(), map_labels::clear_map(), tooltips::clear_tooltips(), clearvalues(), tooltips::click(), joystick_manager::close(), closegoto(), collectvalidlines(), game_config::color_info(), font::char_block_map::compress(), simple_wml::document::compress(), computesizes(), wfl::variant::concatenate(), ng::contains_ignore_case(), events::menu_handler::continue_move(), simple_wml::node::copy_into(), wfl::function_symbol_table::create_function(), gui::menu::create_help_strings(), user_handler::create_salt(), default_map_generator::create_scenario(), createsearcherstable(), hotkey::deactivate_all_scopes(), default_map_generator_job::default_generate_map(), wfl::gamestate::DEFINE_WFL_FUNCTION(), wfl::builtins::DEFINE_WFL_FUNCTION(), ai::component::delete_child(), filesystem::delete_directory(), gui2::tree_view_node::describe_path(), wesnothd::game::describe_slots(), filesystem::dir_size(), events::map_command_handler< chat_command_handler >::dispatch(), ai::ai_default_rca::get_villages_phase::dispatch_complex(), gui2::dialogs::mp_options_helper::display_custom_options(), ai::ai_default_rca::aspect_attacks_base::do_attack_analysis(), events::console_handler::do_discover(), do_gameloop(), lg::scope_logger::do_indent(), ai::stage_unit_formulas::do_play_stage(), events::chat_command_handler::do_remove(), events::console_handler::do_unit(), gui2::rectangle_shape::draw(), gui2::round_rectangle_shape::draw(), gui2::circle_shape::draw(), gui::menu::draw(), gui::dialog_frame::draw_background(), editor::location_palette::draw_contents(), editor::editor_palette< Item >::draw_contents(), help::help_text_area::draw_contents(), gui::menu::draw_contents(), font::draw_floating_labels(), gui2::dialogs::attack_predictions::draw_hp_graph(), wb::draw_numbers(), gui::menu::draw_row(), DumpConstants(), DumpDebug(), DumpProtos(), DumpUpvalues(), game_board::end_turn(), wesnothd::game::end_turn(), ai::ai_default_rca::move_to_targets_phase::enemies_along_path(), pathfind::enemy_zoc(), gui::menu::erase_item(), ai::ai_default_rca::goto_phase::evaluate(), wfl::move_candidate_action::evaluate(), wfl::attack_candidate_action::evaluate(), ai::ai_default_rca::retreat_phase::evaluate(), ai::ai_default_rca::get_villages_phase::execute(), ai::ai_default_rca::leader_shares_keep_phase::execute(), wfl::list_expression::execute(), wfl::map_expression::execute(), wfl::string_expression::execute(), hotkey::command_executor::execute_action(), ai::readwrite_context_impl::execute_attack_action(), editor::editor_controller::execute_command(), play_controller::hotkey_handler::execute_command(), schema_validation::class_tag::expand_all(), editor::context_manager::expand_areas_menu(), play_controller::hotkey_handler::expand_autosaves(), editor::context_manager::expand_load_mru_menu(), editor::context_manager::expand_local_time_menu(), editor::context_manager::expand_open_maps_menu(), editor::location_palette::expand_palette_groups_menu(), editor::editor_palette< Item >::expand_palette_groups_menu(), editor::empty_palette::expand_palette_groups_menu(), editor::context_manager::expand_sides_menu(), editor::context_manager::expand_time_menu(), play_controller::hotkey_handler::expand_wml_commands(), editor::editor_controller::export_selection_coords(), unit_map::extract(), combatant::fight(), display::fill_images_list(), events::mouse_handler::fill_weapon_choices(), gui2::dialogs::game_load::filter_text_changed(), gui2::dialogs::unit_recall::filter_text_changed(), gui2::dialogs::unit_create::filter_text_changed(), gui2::listbox::finalize(), gui2::addon_list::finalize_setup(), gui2::stacked_widget_implementation::find(), pathfind::paths::dest_vect::find(), unit_map::find(), gui2::policy::placement::independent::find(), display::find_action_button(), gui2::policy::placement::horizontal_list::find_at(), gui2::policy::placement::vertical_list::find_at(), gui2::policy::placement::table::find_at(), find_attack(), config::find_child(), ai::find_component(), ng::create_engine::find_extra_by_id(), unit_map::find_first_leader(), simple_wml::node::find_in_map(), play_controller::find_last_visible_team(), unit_map::find_leader(), unit_map::find_leaders(), ng::create_engine::find_level_by_id(), display::find_menu_button(), unit_type_data::find_race(), find_ref(), pathfind::find_routes(), ai::default_ai_context_impl::find_targets(), ng::connect_engine::find_user_side_index_by_id(), find_widget(), findgotos(), findindex(), findlabel(), findloader(), findsetreg(), terrain_builder::flush_local_rules(), footsteps_images(), ai::ai_default_rca::move_to_targets_phase::form_group(), utils::format_conjunct_list(), utils::format_disjunct_list(), freeLclosure(), ai::ai_default_rca::get_villages_phase::full_dispatch(), funcnamefromcode(), mp::game_info::game_info(), metrics::games(), help::generate_ability_topics(), gui2::dialogs::generate_difficulty_config(), default_map_generator_job::generate_height_map(), help::generate_races_sections(), reports::generate_report(), default_map_generator_job::generate_river_internal(), help::generate_table(), help::generate_trait_topics(), help::generate_unit_sections(), help::generate_unit_topics(), help::generate_weapon_special_topics(), config::get(), unit::get_abilities(), unit::get_ability_bool(), preferences::get_acquaintances_nice(), gui2::dialogs::mp_create_game::get_active_mods(), events::map_command_handler< chat_command_handler >::get_actual_cmd(), events::mouse_handler::get_adj_enemies(), events::map_command_handler< chat_command_handler >::get_aliases(), CVideo::get_available_resolutions(), ai::default_recruitment::recruitment::get_best_recruit_from_scores(), get_checksum(), ai::component::get_child(), ai::component::get_children(), simple_wml::node::get_children(), preprocessor_data::get_chunk(), font::pango_text::get_column_line(), events::map_command_handler< chat_command_handler >::get_command(), events::map_command_handler< chat_command_handler >::get_commands_list(), persist_manager::get_context(), editor::editor_map::get_contiguous_terrain_tiles(), progressive_pair< int >::get_current_element(), progressive_single< image::locator >::get_current_element(), tod_manager::get_current_time(), font::pango_text::get_cursor_position(), ai::actions::get_error_name(), ai::default_recruitment::recruitment::get_estimated_income(), filesystem::get_files_in_dir(), font::get_floating_label_rect(), display::get_fog_shroud_images(), mp::lobby_info::get_game_by_id(), unit_type::get_gender_unit_type(), get_global_variable(), gui2::dialogs::attack_predictions::get_hitpoint_probabilities(), font::char_block_map::get_id(), tod_manager::get_illuminated_time_of_day(), wfl::map_formula_callable::get_inputs(), wfl::where_variables::get_inputs(), gui::menu::get_item_height_internal(), gui::menu::get_item_rect_internal(), gui2::generator_base::get_items_shown(), wfl::variant::get_keys(), unit::get_known_boolean_state_id(), theme::get_known_themes(), get_locale(), get_location(), terrain_filter::get_locs_impl(), hotkey::command_executor::get_menu_images(), gui2::tree_view_node::get_node_above(), gui2::tree_view_node::get_node_below(), editor::map_fragment::get_offset_area(), config::get_old_attribute(), vconfig::get_parsed_config(), pathfind::paths::dest_vect::get_path(), gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::get_selected_item(), actions::get_sides_not_seeing(), attack_type::get_special_bool(), attack_type::get_specials(), theme::get_status_item(), pathfind::get_teleport_locations(), terrain_type_data::get_terrain_info(), get_tile_ring(), get_tiles_radius(), tod_manager::get_time_of_day(), gui2::dialogs::drop_down_menu::get_toggle_states(), sound::get_track(), terrain_type_data::get_underlying_terrain_string(), get_unit_type(), wfl::attack_map_callable::get_value(), lua_callable::get_value(), wfl::gamemap_callable::get_value(), ai::formula_ai::get_value(), wfl::move_map_callable::get_value(), wfl::where_variables::get_value(), wfl::variant::get_values(), persist_file_context::get_var(), unit_type::get_variation(), actions::get_village(), getcached(), getlocvar(), image::getMinimap(), getobjname(), getupvalname(), events::menu_handler::goto_leader(), ai::vector_property_handler< T >::handle_add(), ai::vector_property_handler< T >::handle_delete(), gui::textbox::handle_event(), ai::vector_property_handler< T >::handle_get(), gui2::policy::placement::vertical_list::handle_key_down_arrow(), gui2::policy::placement::table::handle_key_down_arrow(), gui2::policy::placement::horizontal_list::handle_key_left_arrow(), gui2::policy::placement::table::handle_key_left_arrow(), gui2::policy::placement::horizontal_list::handle_key_right_arrow(), gui2::policy::placement::table::handle_key_right_arrow(), gui2::policy::placement::vertical_list::handle_key_up_arrow(), gui2::policy::placement::table::handle_key_up_arrow(), wesnothd::server::handle_login(), campaignd::server::handle_request(), campaignd::server::handle_request_campaign_list(), events::has_focus(), wesnothd::game::has_same_ip(), config::hash(), game_events::builtin_conditions::have_unit(), events::map_command_handler< chat_command_handler >::help(), ai::helper_check_village(), gui2::dialogs::mp_change_control::highlight_side_nick(), gui::menu::hit(), editor::editor_toolkit::hotkey_set_mouse_action(), gui2::dialogs::preferences_dialog::hotkey_type_filter_callback(), ai::impl_ai_aspect_get(), gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::impl_create_items(), impl_music_set(), impl_side_get(), impl_side_set(), lua_common::impl_vconfig_get(), lua_common::impl_vconfig_ipairs_iter(), help::help_menu::indent_list(), utf8::index(), joystick_manager::init(), game_state::init(), ng::create_engine::init_all_levels(), editor::editor_toolkit::init_brushes(), init_exp(), hotkey::init_hotkey_commands(), image::locator::init_index(), game_launcher::init_joystick(), game_launcher::init_lua_script(), editor::context_manager::init_map_generators(), editor::editor_toolkit::init_mouse_actions(), context_free_grammar_generator::init_seed(), mp::initial_level_config(), font::char_block_map::insert(), pathfind::paths::dest_vect::insert(), gui2::password_box::insert_char(), simple_wml::node::insert_ordered_child(), simple_wml::node::insert_ordered_child_list(), installed_addons(), intf_debug_ai(), intf_describe_plugins(), game_lua_kernel::intf_find_cost_map(), intf_find_path(), game_lua_kernel::intf_find_path(), game_lua_kernel::intf_find_reach(), lua_map_location::intf_get_adjacent_tiles(), lua_gui2::intf_get_dialog_value(), game_lua_kernel::intf_get_locations(), game_lua_kernel::intf_get_recall_units(), game_lua_kernel::intf_get_units(), game_lua_kernel::intf_get_villages(), intf_music_add(), intf_music_remove(), lua_kernel_base::intf_print(), lua_gui2::intf_set_dialog_callback(), lua_gui2::intf_set_dialog_canvas(), lua_gui2::intf_set_dialog_value(), display::invalidate_animations(), game_display::invalidate_route(), font::inverse_table::inverse_table(), io_readline(), ipairsaux(), editor::editor_toolkit::is_mouse_action_set(), isinstack(), utils::join(), utils::join_map(), wesnothd::server::kick_handler(), l_hashfloat(), l_randomizePivot(), gui2::dialogs::label_settings::label_settings(), gui2::stacked_widget::layout_children(), gui2::legacy_menu_item::legacy_menu_item(), font::line_size(), lineno_string(), wesnothd::ban_manager::list_bans(), wesnothd::ban_manager::list_deleted_bans(), gui2::dialogs::lua_interpreter::input_model::list_history(), gui2::listbox::list_item_clicked(), wfl::variant_list::list_op(), game_config::load_config(), load_fake_units(), editor::map_context::load_scenario(), LoadConstants(), LoadDebug(), gui2::dialogs::loading_screen::loading_screen(), LoadProtos(), LoadUpvalues(), editor::location_palette::location_palette(), lua_check_impl::lua_check(), lua_compare(), lua_newstate(), lua_check_impl::lua_push(), lua_xmove(), luaB_print(), luaB_select(), luaF_getlocalname(), luaF_initupvals(), luaH_getn(), luaH_next(), luaH_resize(), luaK_code(), luaL_checkoption(), luaL_setfuncs(), luaO_str2num(), luaS_clearcache(), luaS_init(), luaS_new(), luaS_resize(), luaT_init(), luaV_execute(), luaW_pushsimdata(), luaW_toconfig(), luaX_init(), main(), make_bind(), pathfind::manager::manager(), utils::map_split(), pathfind::mark_route(), markmt(), markov_generate_name(), markov_prefixes(), terrain_filter::match_impl(), terrain_filter::match_internal(), config::matches(), map_location::matches_range(), math_max(), math_min(), max_expand(), display::menu_pressed(), animation_branch::merge(), team::shroud_map::merge(), merge_alias_lists(), merge_battle_result_maps(), config::merge_children_by_attribute(), merge_str_int_map(), config::merge_with(), gui2::dialogs::campaign_selection::mod_toggled(), editor::mouse_action_item::move(), editor::mouse_action_unit::move(), unit_map::move(), font::move_floating_label(), ai::ai_default_rca::move_to_targets_phase::move_group(), movegotosout(), moveresults(), simple_wml::node::nattributes_recursive(), simple_wml::node::nchildren(), ai::readonly_context_impl::nearest_keep(), need_value(), game_display::new_turn(), game_board::new_turn(), t_translation::number_to_string_(), numusearray(), numusehash(), wb::manager::on_change_controller(), ai::formula_ai::on_create(), gui2::dialogs::mp_create_game::on_filter_change(), gui2::dialogs::statistics_dialog::on_primary_list_select(), gui2::dialogs::game_stats::on_tab_select(), gui2::dialogs::mp_create_game::on_tab_select(), help::unit_topic_generator::operator()(), lg::logger::operator()(), image::adjust_alpha_modification::operator()(), config_attribute_value::string_visitor::operator()(), image::adjust_channels_modification::operator()(), vconfig::all_children_iterator::operator++(), vconfig::all_children_iterator::operator--(), operator<<(), config_attribute_value::operator=(), wfl::variant::operator[](), symbol_table::operator[](), config::operator[](), font::inverse_table::operator[](), simple_wml::node::output(), simple_wml::document::output(), simple_wml::node::output_size(), gamemap::overlay(), pack(), packint(), palette(), utils::parenthetical_split(), map_location::parse_directions(), wfl::parse_expression(), gui2::implementation::parse_list_data(), gamemap::parse_location_range(), utils::parse_ranges(), display::parse_team_overlays(), wesnothd::ban_manager::parse_time(), partition(), editor::map_fragment::paste_into(), patchtestreg(), events::peek_for_resize(), gui2::policy::placement::horizontal_list::place(), gui2::grid::place(), gui2::policy::placement::vertical_list::place(), gui2::policy::placement::table::place(), gui2::policy::placement::independent::place(), cave_map_generator::cave_map_generator_job::place_chamber(), cave_map_generator::cave_map_generator_job::place_passage(), game_state::place_sides_in_preferred_locations(), place_village(), placing_score(), playsingle_controller::play_scenario_main_loop(), sound::play_track(), plugins_context::plugins_context(), gui2::dialogs::preferences_dialog::post_build(), gui2::dialogs::advanced_graphics_options::post_show(), ai::readonly_context_impl::power_projection(), gui2::dialogs::formula_debugger::pre_show(), gui2::dialogs::unit_advance::pre_show(), gui2::dialogs::mp_alerts_options::pre_show(), gui2::dialogs::advanced_graphics_options::pre_show(), gui2::dialogs::log_settings::pre_show(), gui2::dialogs::editor_set_starting_position::pre_show(), gui2::dialogs::game_load::pre_show(), gui2::dialogs::mp_create_game::pre_show(), gui2::dialogs::unit_list::pre_show(), gui2::dialogs::game_stats::pre_show(), gui2::dialogs::unit_recall::pre_show(), gui2::dialogs::unit_create::pre_show(), gui2::dialogs::preferences_dialog::pre_show(), gui2::dialogs::editor_resize_map::pre_show(), help::print_behavior_description(), ai::print_component(), context_free_grammar_generator::print_nonterminal(), help::print_trait_list(), schema_validation::class_tag::printl(), tooltips::process(), wesnothd::server::process_command(), playmp_controller::process_oos(), display::propagate_invalidation(), events::pump(), push_captures(), push_component(), ai::push_movements(), push_onecapture(), pushclosure(), rank_castle_location(), ai::ai_default_rca::move_to_targets_phase::rate_group(), rc4_crypt(), unit_formula_manager::read(), map_labels::read(), ucs4_convert_impl::utf8_impl::read(), gui2::builder_window::read(), read_battle_result_map(), read_line(), read_str_int_map(), readdecesc(), readutf8esc(), terrain_builder::tile::rebuild_cache(), ai::readonly_context_impl::recalculate_move_maps(), gui::menu::recalculate_pos(), recolor_image(), refresh_addon_version_info_cache(), rehash(), unit::remove_ability_by_id(), preferences::remove_acquaintance(), config::remove_child(), ai::ai_default_rca::candidate_action_evaluation_loop::remove_completed_cas(), font::remove_floating_label(), events::context::remove_handler(), schema_validation::class_tag::remove_keys_by_type(), gui2::dialogs::mp_options_helper::remove_nodes_for_type(), savegame::remove_old_auto_saves(), simple_wml::node::remove_ordered_child(), simple_wml::node::remove_ordered_child_list(), wesnothd::server::remove_player(), tod_manager::remove_time_area(), sound::remove_track(), halo::halo_impl::effect::render(), font::render_text(), terrain_builder::replace_rotate_tokens(), REPORT_GENERATOR(), gui2::policy::placement::independent::request_reduce_height(), gui2::policy::placement::independent::request_reduce_width(), team::shroud_map::reset(), unit::resistance_against(), sound::music_track::resolve(), ng::flg_manager::resolve_random(), storyscreen::story_parser::resolve_wml(), gui2::dialogs::revert_to_default_pref_values(), application_lua_kernel::thread::run_script(), runafewfinalizers(), preferences::save_acquaintances(), editor::context_manager::save_all_maps(), game_lua_kernel::save_game(), wesnothd::game::save_replay(), wb::manager::save_temp_move(), font::scroll_floating_labels(), SDL_SavePNG_RW(), wesnothd::server::searchlog_handler(), searchupvalue(), searchvar(), gui2::addon_list::select_addon(), gui2::stacked_widget::select_layer(), gui2::stacked_widget::select_layer_impl(), gui2::stacked_widget::select_layers(), wesnothd::game::send_history(), dbus::send_notification(), gui2::dialogs::mp_create_game::set_active_mods(), game_board::set_all_units_user_end_turn(), editor::editor_toolkit::set_brush(), hotkey::command_executor_default::set_button_state(), gui2::unit_preview_pane::set_displayed_unit(), simple_wml::node::set_doc(), events::context::set_focus(), font::sdl_ttf::set_font_list(), lua_cpp::set_functions(), set_global_variable(), gui2::policy::minimum_selection::one_item::set_item_shown(), gui::button::set_label(), gui2::chatbox::set_lobby_info(), schema_validation::class_tag::set_max(), schema_validation::class_tag::set_min(), gui2::policy::placement::horizontal_list::set_origin(), gui2::policy::placement::vertical_list::set_origin(), gui2::policy::placement::table::set_origin(), gui2::policy::placement::independent::set_origin(), theme::set_resolution(), gui2::listbox::set_row_shown(), sound::set_sound_volume(), sound::set_track(), sound::set_UI_volume(), gui2::password_box::set_value(), gui2::policy::placement::horizontal_list::set_visible_rectangle(), gui2::policy::placement::vertical_list::set_visible_rectangle(), gui2::policy::placement::table::set_visible_rectangle(), gui2::policy::placement::independent::set_visible_rectangle(), setarrayvector(), setnodevector(), editor::unit_palette::setup(), editor::terrain_palette::setup(), simple_wml::node::shift_buffers(), events::mouse_handler::show_attack_options(), font::show_floating_label(), gui2::dialogs::unit_mode_controller::show_list(), play_controller::hotkey_handler::show_menu(), lua_gui2::show_message_dialog(), gui2::dialogs::team_mode_controller::show_recall_unit(), gui2::dialogs::unit_mode_controller::show_unit(), gui2::dialogs::show_unit_list(), gui2::dialogs::team_mode_controller::show_units(), utf8::size(), attack_type::special_active(), utils::square_parenthetical_split(), stack_init(), ng::connect_engine::start_game(), mp::start_local_game_commandline(), scoped_wml_variable::store(), wfl::map_expression::str(), str_byte(), str_char(), str_lower(), str_reverse(), str_upper(), wfl::string_expression::string_expression(), t_translation::string_to_layer_(), gui2::styled_widget::styled_widget(), font::subset_descriptor::subset_descriptor(), statistics::sum_cost_str_int_map(), statistics::sum_str_int_map(), mp::lobby_info::sync_games_display_status(), SYNCED_COMMAND_HANDLER_FUNCTION(), game_config::tc_info(), tconcat(), t_translation::ter_match::ter_match(), t_translation::terrain_matches(), tile_surface(), tod_manager::times(), tinsert(), tmove(), tod_manager::to_config(), ai::formula_ai::to_config(), editor::map_context::to_config(), ai::lua_object< T >::to_type(), track_ok(), traverseCclosure(), traverseephemeron(), traverseLclosure(), traverseproto(), traversestrongtable(), unbound_search(), terrain_type_data::underlying_def_terrain(), terrain_type_data::underlying_mvt_terrain(), terrain_type_data::underlying_union_terrain(), replay::undo_cut(), font::undraw_floating_labels(), unit_abilities(), display_context::unit_can_move(), unit_map::unit_map(), unit_race::unit_race(), unit_traits(), unit_weapons(), unmakemask(), unpack(), unpackint(), soundsource::positional_source::update(), gui2::multimenu_button::update_config_from_toggle_states(), ng::side_engine::update_current_controller_index(), gui2::dialogs::editor_resize_map::update_expand_direction(), gui2::dialogs::mp_lobby::update_gamelist(), gui2::dialogs::mp_lobby::update_gamelist_diff(), gui2::multimenu_button::update_label(), soundsource::positional_source::update_positions(), gui2::stacked_widget::update_selected_layer_index(), gui::menu::update_size(), utfchar(), schema_validation::schema_validator::validate(), validop(), ai::variant_value_translator< attacks_vector >::value_to_variant(), version_info::version_info(), utils::vertical_split(), display_context::village_owner(), unit_display::unit_mover::wait_for_anims(), wesnoth_setlocale(), utils::wildcard_string_match(), game_events::WML_HANDLER_FUNCTION(), unit_formula_manager::write(), replay_recorder_base::write(), team::shroud_map::write(), unit::write(), write_battle_result_map(), game_board::write_config(), filesystem::write_file(), write_internal(), write_location_range(), write_locations(), soundsource::manager::write_sourcespecs(), statistics::write_stats(), write_str_int_map(), simple_wml::document::~document(), simple_wml::node::~node(), persist_manager::~persist_manager(), and scoped_wml_variable::~scoped_wml_variable().

lg::log_domain log_engine("engine")
static
lg::log_domain log_scripting_formula("scripting/formula")
static