Functions | |
| DEFINE_WFL_FUNCTION (run_file, 1, 1) | |
| DEFINE_WFL_FUNCTION (debug_label, 2, 2) | |
| DEFINE_WFL_FUNCTION (adjacent_locs, 1, 1) | |
| DEFINE_WFL_FUNCTION (locations_in_radius, 2, 2) | |
| DEFINE_WFL_FUNCTION (get_unit_type, 1, 1) | |
| DEFINE_WFL_FUNCTION (unit_at, 1, 1) | |
| DEFINE_WFL_FUNCTION (defense_on, 2, 2) | |
| DEFINE_WFL_FUNCTION (chance_to_hit, 2, 2) | |
| DEFINE_WFL_FUNCTION (movement_cost, 2, 2) | |
| DEFINE_WFL_FUNCTION (vision_cost, 2, 2) | |
| DEFINE_WFL_FUNCTION (jamming_cost, 2, 2) | |
| DEFINE_WFL_FUNCTION (enemy_of, 2, 2) | |
| DEFINE_WFL_FUNCTION (resistance_on, 3, 4) | |
| DEFINE_WFL_FUNCTION (tod_bonus, 0, 2) | |
| DEFINE_WFL_FUNCTION (base_tod_bonus, 0, 2) | |
| DEFINE_WFL_FUNCTION (unit_tod_modifier, 1, 2) | |
| DEFINE_WFL_FUNCTION (is_shrouded, 2, 2) | |
| DEFINE_WFL_FUNCTION (is_fogged, 2, 2) | |
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | adjacent_locs | , |
| 1 | , | ||
| 1 | |||
| ) |
Definition at line 135 of file function_gamestate.cpp.
References wfl::add_debug_info(), resources::gameboard, get_adjacent_tiles(), and loc.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | base_tod_bonus | , |
| 0 | , | ||
| 2 | |||
| ) |
Definition at line 349 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_int(), resources::controller, tod_manager::get_time_of_day(), wfl::variant::is_int(), wfl::variant::is_null(), time_of_day::lawful_bonus, loc, p, utf8::size(), resources::tod_manager, wfl::variant::try_convert(), and play_controller::turn().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | chance_to_hit | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 221 of file function_gamestate.cpp.
References wfl::add_debug_info(), and wfl::variant::is_null().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | debug_label | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 118 of file function_gamestate.cpp.
References wfl::variant::as_string(), resources::controller, wfl::variant::convert_to(), play_controller::current_team(), game_config::debug, team::get_side_color(), display::get_singleton(), wfl::variant::is_string(), display::labels(), loc, map_labels::set_label(), team::side(), team::team_name(), and wfl::variant::to_debug_string().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | defense_on | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 207 of file function_gamestate.cpp.
References wfl::add_debug_info(), and wfl::variant::is_null().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | enemy_of | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 277 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_int(), resources::gameboard, game_board::teams(), and wfl::variant::try_convert().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | get_unit_type | , |
| 1 | , | ||
| 1 | |||
| ) |
Definition at line 180 of file function_gamestate.cpp.
References wfl::add_debug_info(), unit_type_data::find(), and unit_types.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | is_fogged | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 404 of file function_gamestate.cpp.
References wfl::variant::as_int(), wfl::variant::convert_to(), resources::gameboard, and loc.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | is_shrouded | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 390 of file function_gamestate.cpp.
References wfl::variant::as_int(), wfl::variant::convert_to(), resources::gameboard, and loc.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | jamming_cost | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 263 of file function_gamestate.cpp.
References wfl::add_debug_info(), and wfl::variant::is_null().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | locations_in_radius | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 149 of file function_gamestate.cpp.
References resources::gameboard, get_tiles_in_radius(), loc, and n.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | movement_cost | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 235 of file function_gamestate.cpp.
References wfl::add_debug_info(), and wfl::variant::is_null().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | resistance_on | , |
| 3 | , | ||
| 4 | |||
| ) |
Definition at line 306 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::convert_to(), wfl::variant::is_null(), loc, unit::resistance_against(), and wfl::variant::try_convert().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | run_file | , |
| 1 | , | ||
| 1 | |||
| ) |
Definition at line 101 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), wfl::formula::create_optional_formula(), wfl::formula::evaluate(), filesystem::get_wml_location(), game_config::path, and filesystem::read_file().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | tod_bonus | , |
| 0 | , | ||
| 2 | |||
| ) |
Definition at line 326 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_int(), resources::controller, resources::gameboard, tod_manager::get_illuminated_time_of_day(), wfl::variant::is_int(), wfl::variant::is_null(), time_of_day::lawful_bonus, loc, p, utf8::size(), resources::tod_manager, wfl::variant::try_convert(), and play_controller::turn().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | unit_at | , |
| 1 | , | ||
| 1 | |||
| ) |
Definition at line 192 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::convert_to(), unit_map::find(), resources::gameboard, i, wfl::variant::is_null(), loc, and game_board::units().
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | unit_tod_modifier | , |
| 1 | , | ||
| 2 | |||
| ) |
Definition at line 372 of file function_gamestate.cpp.
References wfl::add_debug_info(), unit::alignment(), combat_modifier(), resources::gameboard, unit::get_location(), unit::is_fearless(), and loc.
| wfl::gamestate::DEFINE_WFL_FUNCTION | ( | vision_cost | , |
| 2 | , | ||
| 2 | |||
| ) |
Definition at line 249 of file function_gamestate.cpp.
References wfl::add_debug_info(), and wfl::variant::is_null().