The Battle for Wesnoth  1.19.7+dev
Namespaces | Functions
function_gamestate.cpp File Reference
#include "formula/function_gamestate.hpp"
#include "formula/callable_objects.hpp"
#include <utility>
#include "resources.hpp"
#include "game_board.hpp"
#include "map/map.hpp"
#include "pathutils.hpp"
#include "units/types.hpp"
#include "units/unit.hpp"
#include "play_controller.hpp"
#include "tod_manager.hpp"
Include dependency graph for function_gamestate.cpp:

Go to the source code of this file.

Namespaces

 wfl
 
 wfl::gamestate
 

Functions

 wfl::gamestate::DEFINE_WFL_FUNCTION (adjacent_locs, 1, 1)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (locations_in_radius, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (get_unit_type, 1, 1)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (unit_at, 1, 1)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (defense_on, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (chance_to_hit, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (movement_cost, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (vision_cost, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (jamming_cost, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (enemy_of, 2, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (resistance_on, 3, 4)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (tod_bonus, 0, 2)
 
 wfl::gamestate::DEFINE_WFL_FUNCTION (base_tod_bonus, 0, 2)