The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
function_gamestate.cpp File Reference
#include "formula/function_gamestate.hpp"
#include "formula/callable_objects.hpp"
#include "resources.hpp"
#include "game_board.hpp"
#include "map/map.hpp"
#include "pathutils.hpp"
#include "units/types.hpp"
#include "units/unit.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 (enemy_of, 2, 2)