Expose map_location distance_between.
Definition at line 167 of file lua_map_location_ops.cpp.
References distance_between(), lua_error(), lua_pushinteger(), lua_pushstring(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location get_adjacent_tiles.
Definition at line 147 of file lua_map_location_ops.cpp.
References get_adjacent_tiles(), i, luaL_argerror(), luaW_pushlocation(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location::get_direction function to lua Arg 1: a location Arg 2: a direction Arg 3: number of steps.
Definition at line 36 of file lua_map_location_ops.cpp.
References d, map_location::get_direction(), lua_gettop(), lua_isnumber(), lua_isstring(), lua_pop, lua_type(), lua_typename(), luaL_argerror(), luaL_checkint, luaL_checkstring, luaL_error(), luaW_pushlocation(), luaW_tolocation(), game_logic::msg(), map_location::NORTH, map_location::parse_direction(), and map_location::rotate_right().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location get_in_basis_N_NE.
Definition at line 182 of file lua_map_location_ops.cpp.
References map_location::get_in_basis_N_NE(), lua_pushinteger(), luaL_argerror(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location get_relative_dir.
Definition at line 198 of file lua_map_location_ops.cpp.
References map_location::get_relative_dir(), lua_error(), lua_pushinteger(), lua_pushstring(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location parse_direction.
Definition at line 213 of file lua_map_location_ops.cpp.
References d, lua_pushinteger(), luaL_argerror(), luaL_checkstring, map_location::NDIRECTIONS, and map_location::parse_direction().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location::rotate_right_around_center to lua.
Definition at line 115 of file lua_map_location_ops.cpp.
References lua_error(), lua_pop, lua_pushstring(), luaL_checkint, luaW_pushlocation(), luaW_tolocation(), and map_location::rotate_right_around_center().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location tiles_adjacent.
Definition at line 132 of file lua_map_location_ops.cpp.
References lua_error(), lua_pushboolean(), lua_pushstring(), luaW_tolocation(), and tiles_adjacent().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location::vector_negation to lua.
Definition at line 92 of file lua_map_location_ops.cpp.
References luaL_argerror(), luaW_pushlocation(), luaW_tolocation(), and map_location::vector_negation().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location::vector_sum to lua.
Definition at line 77 of file lua_map_location_ops.cpp.
References lua_error(), lua_pushstring(), luaW_pushlocation(), luaW_tolocation(), and map_location::vector_sum_assign().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location::ZERO to lua.
Definition at line 106 of file lua_map_location_ops.cpp.
References luaW_pushlocation(), and map_location::ZERO().
Referenced by lua_kernel_base::lua_kernel_base().
Expose map_location write_direction.
Definition at line 229 of file lua_map_location_ops.cpp.
References d, lua_pushstring(), luaL_argerror(), luaL_checkint, map_location::NDIRECTIONS, and map_location::write_direction().
Referenced by lua_kernel_base::lua_kernel_base().