wfl::builtins::DEFINE_WFL_FUNCTION | ( | abs | , |
1 | , | ||
1 | |||
) |
Definition at line 166 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 565 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | adjacent_locs | , |
1 | , | ||
1 | |||
) |
Definition at line 1318 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 1362 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 1279 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | asin | , |
1 | , | ||
1 | |||
) |
Definition at line 554 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | atan | , |
1 | , | ||
2 | |||
) |
Definition at line 576 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | cbrt | , |
1 | , | ||
1 | |||
) |
Definition at line 601 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | ceil | , |
1 | , | ||
1 | |||
) |
Definition at line 1204 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | choose | , |
2 | , | ||
3 | |||
) |
Definition at line 680 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 768 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 505 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | contains_string | , |
2 | , | ||
2 | |||
) |
Definition at line 861 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | cos | , |
1 | , | ||
1 | |||
) |
Definition at line 536 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug | , |
0 | , | ||
1 | |||
) |
Definition at line 94 of file function.cpp.
References wfl::formula_expression::evaluate(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug_float | , |
2 | , | ||
3 | |||
) |
Definition at line 246 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 267 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(), wfl::variant::string_cast(), and wfl::variant::to_debug_string().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | debug_profile | , |
1 | , | ||
2 | |||
) |
Definition at line 301 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 116 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 1392 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 1303 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 474 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | exp | , |
1 | , | ||
1 | |||
) |
Definition at line 641 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | filter | , |
2 | , | ||
3 | |||
) |
Definition at line 878 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 924 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 869 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | floor | , |
1 | , | ||
1 | |||
) |
Definition at line 1236 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | frac | , |
1 | , | ||
1 | |||
) |
Definition at line 1258 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | get_palette | , |
1 | , | ||
1 | |||
) |
Definition at line 745 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 1142 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 659 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | if | , |
2 | , | ||
- | 1 | ||
) |
Definition at line 132 of file function.cpp.
References n, and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | index_of | , |
2 | , | ||
2 | |||
) |
Definition at line 666 of file function.cpp.
References i, and wfl::variant::num_elements().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | insert | , |
3 | , | ||
3 | |||
) |
Definition at line 481 of file function.cpp.
References utf8::insert().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | keys | , |
1 | , | ||
1 | |||
) |
Definition at line 337 of file function.cpp.
References wfl::variant::get_keys().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | length | , |
1 | , | ||
1 | |||
) |
Definition at line 500 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | lerp | , |
3 | , | ||
3 | |||
) |
Definition at line 726 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | lerp_index | , |
2 | , | ||
2 | |||
) |
Definition at line 734 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | loc | , |
2 | , | ||
2 | |||
) |
Definition at line 1287 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | locations_in_radius | , |
2 | , | ||
2 | |||
) |
Definition at line 1333 of file function.cpp.
References get_tiles_in_radius(), loc, and n.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | log | , |
1 | , | ||
2 | |||
) |
Definition at line 620 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | map | , |
2 | , | ||
3 | |||
) |
Definition at line 954 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 208 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 178 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 1193 of file function.cpp.
References i.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | pair | , |
2 | , | ||
2 | |||
) |
Definition at line 1295 of file function.cpp.
References wfl::add_debug_info().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | pi | , |
0 | , | ||
0 | |||
) |
Definition at line 654 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | reduce | , |
2 | , | ||
3 | |||
) |
Definition at line 1081 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 1377 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 426 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | replace_all | , |
3 | , | ||
3 | |||
) |
Definition at line 458 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | reverse | , |
1 | , | ||
1 | |||
) |
Definition at line 842 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 608 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | rotate_loc_around | , |
2 | , | ||
3 | |||
) |
Definition at line 1409 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 1218 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sgn | , |
1 | , | ||
1 | |||
) |
Definition at line 1267 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sin | , |
1 | , | ||
1 | |||
) |
Definition at line 529 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | size | , |
1 | , | ||
1 | |||
) |
Definition at line 1187 of file function.cpp.
References wfl::variant::num_elements().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sort | , |
1 | , | ||
2 | |||
) |
Definition at line 822 of file function.cpp.
References n, wfl::variant::num_elements(), and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sqrt | , |
1 | , | ||
1 | |||
) |
Definition at line 590 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | starts_with | , |
2 | , | ||
2 | |||
) |
Definition at line 467 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | str_lower | , |
1 | , | ||
1 | |||
) |
Definition at line 522 of file function.cpp.
References utils::views::transform.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | str_upper | , |
1 | , | ||
1 | |||
) |
Definition at line 515 of file function.cpp.
References utils::views::transform.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | substring | , |
2 | , | ||
3 | |||
) |
Definition at line 395 of file function.cpp.
References utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | sum | , |
1 | , | ||
2 | |||
) |
Definition at line 1107 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 147 of file function.cpp.
References n, and utf8::size().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tail | , |
1 | , | ||
2 | |||
) |
Definition at line 1165 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 994 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 543 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tolist | , |
1 | , | ||
1 | |||
) |
Definition at line 349 of file function.cpp.
References wfl::variant::begin(), and wfl::variant::end().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | tomap | , |
1 | , | ||
2 | |||
) |
Definition at line 361 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 1250 of file function.cpp.
References d.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | type | , |
1 | , | ||
1 | |||
) |
Definition at line 1428 of file function.cpp.
References wfl::variant::type_string().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | values | , |
1 | , | ||
1 | |||
) |
Definition at line 343 of file function.cpp.
References wfl::variant::get_values().
wfl::builtins::DEFINE_WFL_FUNCTION | ( | wave | , |
1 | , | ||
1 | |||
) |
Definition at line 719 of file function.cpp.
wfl::builtins::DEFINE_WFL_FUNCTION | ( | zip | , |
1 | , | ||
- | 1 | ||
) |
Definition at line 1062 of file function.cpp.
References i, output(), and utils::views::transform.