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) | |
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | adjacent_locs | , |
1 | , | ||
1 | |||
) |
Definition at line 29 of file function_gamestate.cpp.
References wfl::add_debug_info(), resources::gameboard, and get_adjacent_tiles().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | locations_in_radius | , |
2 | , | ||
2 | |||
) |
Definition at line 43 of file function_gamestate.cpp.
References resources::gameboard, get_tiles_in_radius(), and n.
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | get_unit_type | , |
1 | , | ||
1 | |||
) |
Definition at line 74 of file function_gamestate.cpp.
References wfl::add_debug_info(), unit_type_data::find(), and unit_types.
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | unit_at | , |
1 | , | ||
1 | |||
) |
Definition at line 86 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 | ( | defense_on | , |
2 | , | ||
2 | |||
) |
Definition at line 101 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), movetype::defense_modifier(), unit::defense_modifier(), resources::gameboard, gamemap::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 | ( | chance_to_hit | , |
2 | , | ||
2 | |||
) |
Definition at line 150 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), movetype::defense_modifier(), unit::defense_modifier(), resources::gameboard, gamemap::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 | ( | movement_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 199 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), game_board::map(), movetype::movement_cost(), unit::movement_cost(), unit_type::movement_type(), p, t_translation::read_terrain_code(), gamemap::tdata(), and wfl::variant::try_convert().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | vision_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 248 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap::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(), movetype::vision_cost(), and unit::vision_cost().
wfl::gamestate::DEFINE_WFL_FUNCTION | ( | jamming_cost | , |
2 | , | ||
2 | |||
) |
Definition at line 297 of file function_gamestate.cpp.
References wfl::add_debug_info(), wfl::variant::as_string(), resources::gameboard, gamemap::get_terrain(), wfl::variant::is_null(), wfl::variant::is_string(), movetype::jamming_cost(), unit::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 | ( | enemy_of | , |
2 | , | ||
2 | |||
) |
Definition at line 346 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 | ( | resistance_on | , |
3 | , | ||
4 | |||
) |
Definition at line 377 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().