#include "global.hpp"
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <set>
#include <sstream>
#include "formula/callable.hpp"
#include "formula/function.hpp"
#include "random_new.hpp"
#include "serialization/string_utils.hpp"
Go to the source code of this file.
Namespaces | |
game_logic | |
const formula_callable& base_ |
Definition at line 568 of file formula.cpp.
Referenced by terrain_builder::add_images_from_config().
expression_ptr body_ |
Definition at line 614 of file formula.cpp.
const_formula_ptr calculation |
Definition at line 801 of file formula.cpp.
expr_table_ptr clauses_ |
Definition at line 615 of file formula.cpp.
formula_debugger* debugger_ |
Definition at line 571 of file formula.cpp.
|
mutable |
Definition at line 570 of file formula.cpp.
int f_ |
Definition at line 689 of file formula.cpp.
const formula_callable& global_ |
Definition at line 355 of file formula.cpp.
int i_ |
Definition at line 667 of file formula.cpp.
Referenced by vconfig::all_children_iterator::get_child(), vconfig::all_children_iterator::get_key(), mock_party::get_value(), vconfig::all_children_iterator::operator++(), and vconfig::all_children_iterator::operator==().
std::string id_ |
Definition at line 636 of file formula.cpp.
Referenced by dummy_action::print().
std::vector<expression_ptr> items_ |
Definition at line 119 of file formula.cpp.
Referenced by gui::list_slider< T >::item_selected(), gui::list_slider< T >::select_item(), gui::list_slider< T >::set_items(), and theme::action::tooltip().
expression_ptr key_ |
Definition at line 435 of file formula.cpp.
Referenced by game_logic::key_value_pair::get_value(), and game_logic::key_value_pair::serialize_to_string().
expression_ptr left_ |
Definition at line 409 of file formula.cpp.
variant list_ |
Definition at line 269 of file formula.cpp.
const formula_callable & local_ |
Definition at line 355 of file formula.cpp.
variant map_ |
Definition at line 306 of file formula.cpp.
Referenced by ai::ai_default_rca::move_to_targets_phase::access_points(), ai::ai_default_rca::move_to_targets_phase::choose_move(), passage_path_calculator::cost(), ai::ai_default_rca::aspect_attacks_base::do_attack_analysis(), ai::ai_default_rca::goto_phase::evaluate(), ai::default_ai_context_impl::find_targets(), ai::ai_default_rca::get_villages_phase::find_villages(), ai::ai_default_rca::move_to_targets_phase::move_group(), cave_map_generator::cave_map_generator_job::place_passage(), ai::readonly_context_impl::power_projection(), ai::ai_default_rca::move_to_targets_phase::rate_group(), ai::ai_default_rca::aspect_attacks_base::rate_terrain(), ai::default_ai_context_impl::rate_terrain(), and cave_map_generator::cave_map_generator_job::set_terrain().
OP op_ |
Definition at line 213 of file formula.cpp.
std::string op_str_ |
Definition at line 214 of file formula.cpp.
expression_ptr operand_ |
Definition at line 215 of file formula.cpp.
int pos |
Definition at line 800 of file formula.cpp.
Referenced by unit_animation::add_anims(), display_chat_manager::add_chat_message(), replay::add_chat_message_location(), gui2::tpreferences::add_friend_list_entry(), editor::location_palette::add_item(), cutter::add_sub_image(), schema_validation::class_tag::add_tag(), mp::connect::side::add_widgets_to_scrollpane(), editor::location_palette::adjust_size(), ai::readonly_context_impl::best_defensive_position(), utils::smart_list< Data >::check_erase(), unit_type::check_id(), unit::clone(), help::convert_to_wml(), gui::menu::draw(), gui::menu::draw_row(), utf8::erase(), gui::menu::erase_item(), preprocessor_streambuf::error(), utils::escape(), wb::side_actions::execute_net_cmd(), schema_validation::class_tag::find_tag(), dialogs::file_dialog::format_dirname(), filesystem::get_binary_file_location(), preprocessor_data::get_chunk(), font::ttext::get_column_line(), replay_recorder_base::get_command_at(), preprocessor_streambuf::get_current_file(), get_location(), get_variations(), glewIsSupported(), gui::textbox::handle_event(), filesystem::ifs_seek(), lua_common::impl_vconfig_get(), game_lua_kernel::intf_fire_event(), lua_gui2::intf_remove_dialog_item(), gui::menu::item_ends_with_image(), editor::mouse_action::key_event(), gui::menu::basic_sorter::less(), lineno_string(), utils::smart_list< Data >::link(), pathfind::lower_bound(), lua_getlocal(), lua_setlocal(), wb::side_actions::make_net_cmd_insert(), utils::map_split(), config::merge_with(), gui::scrollbar::move_position(), open_connection(), help::unit_topic_generator::operator()(), operator<<(), output_map(), terrain_builder::parse_config(), preferences::parse_should_show_lobby_join(), help::parse_text(), game_state::place_sides_in_preferred_locations(), placing_score(), posrelat(), ai::readonly_context_impl::power_projection(), preferences::remove_acquaintance(), utils::replace(), terrain_builder::replace_rotate_tokens(), lua_fileops::resolve_filename(), save_image(), gui::textbox::scroll(), gui::scrollpane::scroll(), mp::gamebrowser::scroll(), translation::set_language(), replay_recorder_base::set_pos(), gui::scrollbar::set_position(), gui::menu::basic_sorter::set_position_sort(), ng::scenario::set_sides(), tinsert(), gui2::tlegacy_menu_item::tlegacy_menu_item(), tremove(), utils::unescape(), preprocessor_streambuf::warning(), and wesnoth_setlocale().
expression_ptr right_ |
Definition at line 409 of file formula.cpp.
variant str_ |
Definition at line 804 of file formula.cpp.
variant string_ |
Definition at line 219 of file formula.cpp.
Referenced by t_string_base::walker::update().
std::vector<substitution> subs_ |
Definition at line 805 of file formula.cpp.
function_symbol_table* symbols_ |
Definition at line 99 of file formula.cpp.
expr_table_ptr table_ |
Definition at line 569 of file formula.cpp.