The Battle for Wesnoth  1.15.2+dev
Namespaces | Functions
lua_map_location_ops.cpp File Reference
#include "scripting/lua_map_location_ops.hpp"
#include "scripting/lua_common.hpp"
#include "map/location.hpp"
#include <string>
#include <utility>
#include <ciso646>
#include "lua/lua.h"
#include "lua/lauxlib.h"
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_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...