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 34 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 423 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 155 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(), loc, 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 106 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(), loc, 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 351 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 79 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 302 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(), loc, 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 48 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 204 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(), loc, 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 380 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 | ( | tod_bonus | , |
0 | , | ||
2 | |||
) |
Definition at line 400 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 91 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 | ( | vision_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 253 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(), loc, 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().