The Battle for Wesnoth  1.15.1+dev
lua_map_location_ops.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2018 by Chris Beck <render787@gmail.com>
3  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #pragma once
16 
17 /**
18  * This namespace contains the implementations for wesnoth's
19  * lua bindings for the C++ map location operations.
20  */
21 
22 struct lua_State;
23 
24 namespace lua_map_location {
25 
36 
37 } // 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.