The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lua_map_location_ops.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2016 by Chris Beck <[email protected]>
3  Part of the Battle for Wesnoth Project http://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 #ifndef LUA_MAP_LOCATION_OPS_HPP_INCLUDED
16 #define LUA_MAP_LOCATION_OPS_HPP_INCLUDED
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 
39 
40 } // end namespace lua_map_location
41 
42 #endif
int intf_vector_zero(lua_State *L)
Expose map_location::ZERO to lua.
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: number...
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_parse_direction(lua_State *L)
Expose map_location parse_direction.
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_write_direction(lua_State *L)
Expose map_location write_direction.
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.