The Battle for Wesnoth  1.17.0-dev
lua_map_location_ops.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2021
3  by Chris Beck <render787@gmail.com>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #pragma once
17 
18 /**
19  * This namespace contains the implementations for wesnoth's
20  * lua bindings for the C++ map location operations.
21  */
22 
23 struct lua_State;
24 
25 namespace lua_map_location {
26 
38 
39 } // end namespace lua_map_location
int intf_get_direction(lua_State *L)
Expose map_location::get_direction function to lua Arg 1: a location Arg 2: a direction Arg 3: (optio...
int intf_vector_diff(lua_State *L)
Expose map_location::vector_difference to lua.
int intf_distance_between(lua_State *L)
Expose map_location distance_between.
int intf_rotate_right_around_center(lua_State *L)
Expose map_location::rotate_right_around_center to lua.
int intf_get_relative_dir(lua_State *L)
Expose map_location get_relative_dir.
int intf_tiles_adjacent(lua_State *L)
Expose map_location tiles_adjacent.
int intf_vector_negation(lua_State *L)
Expose map_location::vector_negation to lua.
int intf_get_in_basis_N_NE(lua_State *L)
Expose map_location get_in_basis_N_NE.
int intf_get_adjacent_tiles(lua_State *L)
Expose map_location get_adjacent_tiles.
int intf_vector_sum(lua_State *L)
Expose map_location::vector_sum to lua.
int intf_get_tiles_in_radius(lua_State *L)
Expose map_location get_tiles_in_radius.