The Battle for Wesnoth  1.19.0-dev
Namespaces | Functions
lua_map_location_ops.cpp File Reference
#include "scripting/lua_map_location_ops.hpp"
#include "scripting/lua_common.hpp"
#include "scripting/push_check.hpp"
#include "map/location.hpp"
#include "pathutils.hpp"
#include <string>
#include <utility>
Include dependency graph for lua_map_location_ops.cpp:

Go to the source code of this file.

Namespaces

 lua_map_location
 

Functions

int lua_map_location::intf_get_direction (lua_State *L)
 Expose map_location::get_direction function to lua Arg 1: a location Arg 2: a direction Arg 3: (optional) number of steps. More...
 
int lua_map_location::intf_vector_sum (lua_State *L)
 Expose map_location::vector_sum to lua. More...
 
int lua_map_location::intf_vector_diff (lua_State *L)
 Expose map_location::vector_difference to lua. More...
 
int lua_map_location::intf_vector_negation (lua_State *L)
 Expose map_location::vector_negation to lua. More...
 
int lua_map_location::intf_rotate_right_around_center (lua_State *L)
 Expose map_location::rotate_right_around_center to lua. More...
 
int lua_map_location::intf_tiles_adjacent (lua_State *L)
 Expose map_location tiles_adjacent. More...
 
int lua_map_location::intf_get_adjacent_tiles (lua_State *L)
 Expose map_location get_adjacent_tiles. More...
 
int lua_map_location::intf_get_tiles_in_radius (lua_State *L)
 Expose map_location get_tiles_in_radius. More...
 
int lua_map_location::intf_distance_between (lua_State *L)
 Expose map_location distance_between. More...
 
int lua_map_location::intf_get_in_basis_N_NE (lua_State *L)
 Expose map_location get_in_basis_N_NE. More...
 
int lua_map_location::intf_get_relative_dir (lua_State *L)
 Expose map_location get_relative_dir. More...