Functions | |
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) | |
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | adjacent_locs | , |
1 | , | ||
1 | |||
) |
Definition at line 32 of file function_gamestate.cpp.
References wfl::add_debug_info(), resources::gameboard, and get_adjacent_tiles().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | base_tod_bonus | , |
0 | , | ||
2 | |||
) |
Definition at line 421 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, 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 153 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), movetype::defense_modifier(), unit::defense_modifier(), resources::gameboard, gamemap_base::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), game_board::map(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | defense_on | , |
2 | , | ||
2 | |||
) |
Definition at line 104 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), movetype::defense_modifier(), unit::defense_modifier(), resources::gameboard, gamemap_base::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), game_board::map(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | enemy_of | , |
2 | , | ||
2 | |||
) |
Definition at line 349 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 77 of file function_gamestate.cpp.
References wfl::add_debug_info(), unit_type_data::find(), and unit_types.
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | jamming_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 300 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap_base::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), unit::jamming_cost(), movetype::jamming_cost(), game_board::map(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | locations_in_radius | , |
2 | , | ||
2 | |||
) |
Definition at line 46 of file function_gamestate.cpp.
References resources::gameboard, get_tiles_in_radius(), and n.
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | movement_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 202 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap_base::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), game_board::map(), unit::movement_cost(), movetype::movement_cost(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | resistance_on | , |
3 | , | ||
4 | |||
) |
Definition at line 378 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::convert_to(), wfl::variant::is_null(), unit::resistance_against(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | tod_bonus | , |
0 | , | ||
2 | |||
) |
Definition at line 398 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, 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 89 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::convert_to(), unit_map::find(), resources::gameboard, i, wfl::variant::is_null(), and game_board::units().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | vision_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 251 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap_base::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), game_board::map(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), wfl::variant::try_convert(), unit::vision_cost(), and movetype::vision_cost().