wfl::builtins::DEFINE_WFL_FUNCTION | ( | abs | , |
1 | , | ||
1 | |||
) |
Definition at line 167 of file function.cpp.
References wfl::variant::as_decimal(), wfl::variant::as_int(), wfl::variant::is_decimal(), and n.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | acos | , |
1 | , | ||
1 | |||
) |
Definition at line 566 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | adjacent_locs | , |
1 | , | ||
1 | |||
) |
Definition at line 1319 of file function.cpp.
References wfl::add_debug_info(), get_adjacent_tiles(), and loc.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | are_adjacent | , |
2 | , | ||
2 | |||
) |
Definition at line 1363 of file function.cpp.
References wfl::add_debug_info(), loc, and tiles_adjacent().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | as_decimal | , |
1 | , | ||
1 | |||
) |
Definition at line 1280 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | asin | , |
1 | , | ||
1 | |||
) |
Definition at line 555 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | atan | , |
1 | , | ||
2 | |||
) |
Definition at line 577 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | byte_index | , |
2 | , | ||
2 | |||
) |
Definition at line 499 of file function.cpp.
References utf8::index().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | cbrt | , |
1 | , | ||
1 | |||
) |
Definition at line 602 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | ceil | , |
1 | , | ||
1 | |||
) |
Definition at line 1205 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | choose | , |
2 | , | ||
3 | |||
) |
Definition at line 681 of file function.cpp.
References wfl::map_formula_callable::add(), wfl::variant::begin(), wfl::variant::end(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | clamp | , |
3 | , | ||
3 | |||
) |
Definition at line 769 of file function.cpp.
References wfl::add_debug_info(), wfl::variant::as_decimal(), wfl::variant::as_int(), and wfl::variant::is_int().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | concatenate | , |
1 | , | ||
- | 1 | ||
) |
Definition at line 506 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | contains_string | , |
2 | , | ||
2 | |||
) |
Definition at line 862 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | cos | , |
1 | , | ||
1 | |||
) |
Definition at line 537 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug | , |
0 | , | ||
1 | |||
) |
Definition at line 95 of file function.cpp.
References wfl::formula_expression::evaluate(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug_float | , |
2 | , | ||
3 | |||
) |
Definition at line 247 of file function.cpp.
References wfl::variant::convert_to(), loc, wfl::variant::string_cast(), and wfl::variant::to_debug_string().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug_print | , |
1 | , | ||
2 | |||
) |
Definition at line 268 of file function.cpp.
References display_chat_manager::add_chat_message(), game_config::debug, game_display::get_chat_manager(), game_display::get_singleton(), LOG_SF, events::chat_handler::MESSAGE_PUBLIC, utf8::size(), and wfl::variant::to_debug_string().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug_profile | , |
1 | , | ||
2 | |||
) |
Definition at line 291 of file function.cpp.
References display_chat_manager::add_chat_message(), game_config::debug, game_display::get_chat_manager(), game_display::get_singleton(), i, LOG_SF, events::chat_handler::MESSAGE_PUBLIC, utf8::size(), and editor::start().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | dir | , |
1 | , | ||
1 | |||
) |
Definition at line 117 of file function.cpp.
References wfl::variant::as_callable(), i, and wfl::formula_input::name.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | direction_from | , |
2 | , | ||
3 | |||
) |
Definition at line 1393 of file function.cpp.
References wfl::add_debug_info(), map_location::get_direction(), loc, n, and map_location::parse_direction().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | distance_between | , |
2 | , | ||
2 | |||
) |
Definition at line 1304 of file function.cpp.
References wfl::add_debug_info(), distance_between(), and loc.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | ends_with | , |
2 | , | ||
2 | |||
) |
Definition at line 468 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | exp | , |
1 | , | ||
1 | |||
) |
Definition at line 642 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | filter | , |
2 | , | ||
3 | |||
) |
Definition at line 879 of file function.cpp.
References wfl::map_formula_callable::add(), wfl::variant::as_bool(), wfl::variant::begin(), wfl::variant::end(), wfl::variant::get_member(), wfl::variant::is_map(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | find | , |
2 | , | ||
3 | |||
) |
Definition at line 925 of file function.cpp.
References wfl::map_formula_callable::add(), wfl::variant::as_bool(), wfl::variant::begin(), wfl::variant::end(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | find_string | , |
2 | , | ||
2 | |||
) |
Definition at line 870 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | floor | , |
1 | , | ||
1 | |||
) |
Definition at line 1237 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | frac | , |
1 | , | ||
1 | |||
) |
Definition at line 1259 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | get_palette | , |
1 | , | ||
1 | |||
) |
Definition at line 746 of file function.cpp.
References game_config::blue_white_scale, game_config::blue_white_scale_text, game_config::red_green_scale, game_config::red_green_scale_text, and game_config::tc_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | head | , |
1 | , | ||
2 | |||
) |
Definition at line 1143 of file function.cpp.
References wfl::variant::begin(), wfl::variant::end(), n, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | hypot | , |
2 | , | ||
2 | |||
) |
Definition at line 660 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | if | , |
2 | , | ||
- | 1 | ||
) |
Definition at line 133 of file function.cpp.
References n, and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | index_of | , |
2 | , | ||
2 | |||
) |
Definition at line 667 of file function.cpp.
References i, and wfl::variant::num_elements().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | insert | , |
3 | , | ||
3 | |||
) |
Definition at line 475 of file function.cpp.
References utf8::insert().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | keys | , |
1 | , | ||
1 | |||
) |
Definition at line 331 of file function.cpp.
References wfl::variant::get_keys().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | length | , |
1 | , | ||
1 | |||
) |
Definition at line 494 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | lerp | , |
3 | , | ||
3 | |||
) |
Definition at line 727 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | lerp_index | , |
2 | , | ||
2 | |||
) |
Definition at line 735 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | loc | , |
2 | , | ||
2 | |||
) |
Definition at line 1288 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | locations_in_radius | , |
2 | , | ||
2 | |||
) |
Definition at line 1334 of file function.cpp.
References get_tiles_in_radius(), loc, and n.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | log | , |
1 | , | ||
2 | |||
) |
Definition at line 621 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | map | , |
2 | , | ||
3 | |||
) |
Definition at line 955 of file function.cpp.
References wfl::map_formula_callable::add(), wfl::variant::begin(), wfl::variant::end(), wfl::variant::is_map(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | max | , |
1 | , | ||
- | 1 | ||
) |
Definition at line 209 of file function.cpp.
References wfl::variant::begin(), wfl::variant::end(), wfl::variant::is_empty(), wfl::variant::is_list(), wfl::variant::is_null(), and n.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | min | , |
1 | , | ||
- | 1 | ||
) |
Definition at line 179 of file function.cpp.
References wfl::variant::begin(), wfl::variant::end(), wfl::variant::is_empty(), wfl::variant::is_list(), wfl::variant::is_null(), and n.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | null | , |
0 | , | ||
- | 1 | ||
) |
Definition at line 1194 of file function.cpp.
References i.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | pair | , |
2 | , | ||
2 | |||
) |
Definition at line 1296 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | pi | , |
0 | , | ||
0 | |||
) |
Definition at line 655 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | reduce | , |
2 | , | ||
3 | |||
) |
Definition at line 1082 of file function.cpp.
References wfl::map_formula_callable::add(), wfl::variant::begin(), wfl::variant::end(), wfl::variant::is_null(), and wfl::variant::num_elements().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | relative_dir | , |
2 | , | ||
2 | |||
) |
Definition at line 1378 of file function.cpp.
References wfl::add_debug_info(), map_location::get_relative_dir(), loc, and map_location::write_direction().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | replace | , |
3 | , | ||
4 | |||
) |
Definition at line 420 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | replace_all | , |
3 | , | ||
3 | |||
) |
Definition at line 452 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | reverse | , |
1 | , | ||
1 | |||
) |
Definition at line 843 of file function.cpp.
References wfl::variant::as_string(), wfl::variant::is_list(), wfl::variant::is_string(), and utils::views::reverse.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | root | , |
2 | , | ||
2 | |||
) |
Definition at line 609 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | rotate_loc_around | , |
2 | , | ||
3 | |||
) |
Definition at line 1410 of file function.cpp.
References wfl::add_debug_info(), loc, n, and map_location::rotate_right_around_center().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | round | , |
1 | , | ||
1 | |||
) |
Definition at line 1219 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sgn | , |
1 | , | ||
1 | |||
) |
Definition at line 1268 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sin | , |
1 | , | ||
1 | |||
) |
Definition at line 530 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | size | , |
1 | , | ||
1 | |||
) |
Definition at line 1188 of file function.cpp.
References wfl::variant::num_elements().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sort | , |
1 | , | ||
2 | |||
) |
Definition at line 823 of file function.cpp.
References n, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sqrt | , |
1 | , | ||
1 | |||
) |
Definition at line 591 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | starts_with | , |
2 | , | ||
2 | |||
) |
Definition at line 461 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | str_lower | , |
1 | , | ||
1 | |||
) |
Definition at line 523 of file function.cpp.
References utils::views::transform.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | str_upper | , |
1 | , | ||
1 | |||
) |
Definition at line 516 of file function.cpp.
References utils::views::transform.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | substring | , |
2 | , | ||
3 | |||
) |
Definition at line 389 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sum | , |
1 | , | ||
2 | |||
) |
Definition at line 1108 of file function.cpp.
References wfl::variant::is_list(), wfl::variant::is_map(), filesystem::is_map(), n, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | switch | , |
3 | , | ||
- | 1 | ||
) |
Definition at line 148 of file function.cpp.
References n, and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tail | , |
1 | , | ||
2 | |||
) |
Definition at line 1166 of file function.cpp.
References wfl::variant::begin(), wfl::variant::end(), n, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | take_while | , |
2 | , | ||
2 | |||
) |
Definition at line 995 of file function.cpp.
References wfl::variant::as_bool(), wfl::variant::begin(), and wfl::variant::end().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tan | , |
1 | , | ||
1 | |||
) |
Definition at line 544 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tolist | , |
1 | , | ||
1 | |||
) |
Definition at line 343 of file function.cpp.
References wfl::variant::begin(), and wfl::variant::end().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tomap | , |
1 | , | ||
2 | |||
) |
Definition at line 355 of file function.cpp.
References wfl::variant::begin(), wfl::variant::end(), i, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | trunc | , |
1 | , | ||
1 | |||
) |
Definition at line 1251 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | type | , |
1 | , | ||
1 | |||
) |
Definition at line 1429 of file function.cpp.
References wfl::variant::type_string().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | values | , |
1 | , | ||
1 | |||
) |
Definition at line 337 of file function.cpp.
References wfl::variant::get_values().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | wave | , |
1 | , | ||
1 | |||
) |
Definition at line 720 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | zip | , |
1 | , | ||
- | 1 | ||
) |
Definition at line 1063 of file function.cpp.
References i, output(), and utils::views::transform.