Functions | |
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: (optional) number of steps. More... | |
int | intf_vector_sum (lua_State *L) |
Expose map_location::vector_sum to lua. More... | |
int | intf_vector_diff (lua_State *L) |
Expose map_location::vector_difference to lua. More... | |
int | intf_vector_negation (lua_State *L) |
Expose map_location::vector_negation to lua. More... | |
int | intf_rotate_right_around_center (lua_State *L) |
Expose map_location::rotate_right_around_center to lua. More... | |
int | intf_tiles_adjacent (lua_State *L) |
Expose map_location tiles_adjacent. More... | |
int | intf_get_adjacent_tiles (lua_State *L) |
Expose map_location get_adjacent_tiles. More... | |
int | intf_get_tile_ring (lua_State *L) |
Expose map_location get_tile_ring. More... | |
int | intf_get_tiles_in_radius (lua_State *L) |
Expose map_location get_tiles_in_radius. More... | |
int | intf_distance_between (lua_State *L) |
Expose map_location distance_between. More... | |
int | intf_get_in_cubic (lua_State *L) |
Expose map_location to_cubic. More... | |
int | intf_get_from_cubic (lua_State *L) |
Expose map_location from_cubic. More... | |
int | intf_get_relative_dir (lua_State *L) |
Expose map_location get_relative_dir. More... | |
int lua_map_location::intf_distance_between | ( | lua_State * | L | ) |
Expose map_location distance_between.
Definition at line 255 of file lua_map_location_ops.cpp.
References distance_between(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_adjacent_tiles | ( | lua_State * | L | ) |
Expose map_location get_adjacent_tiles.
Definition at line 194 of file lua_map_location_ops.cpp.
References get_adjacent_tiles(), luaW_pushlocation(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
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.
Definition at line 76 of file lua_map_location_ops.cpp.
References d, map_location::get_direction(), luaW_pushlocation(), luaW_tolocation(), wfl::msg(), n, and map_location::parse_direction().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_from_cubic | ( | lua_State * | L | ) |
Expose map_location from_cubic.
Definition at line 292 of file lua_map_location_ops.cpp.
References map_location::from_cubic(), h, luaW_checkcubeloc(), and luaW_pushlocation().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_in_cubic | ( | lua_State * | L | ) |
Expose map_location to_cubic.
Definition at line 272 of file lua_map_location_ops.cpp.
References h, luaW_pushcubeloc(), luaW_tolocation(), and map_location::to_cubic().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_relative_dir | ( | lua_State * | L | ) |
Expose map_location get_relative_dir.
Definition at line 308 of file lua_map_location_ops.cpp.
References map_location::get_relative_dir(), luaW_tolocation(), and map_location::write_direction().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_tile_ring | ( | lua_State * | L | ) |
Expose map_location get_tile_ring.
Definition at line 214 of file lua_map_location_ops.cpp.
References get_tile_ring(), lua_push(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_get_tiles_in_radius | ( | lua_State * | L | ) |
Expose map_location get_tiles_in_radius.
Definition at line 235 of file lua_map_location_ops.cpp.
References get_tiles_in_radius(), lua_push(), and luaW_tolocation().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_rotate_right_around_center | ( | lua_State * | L | ) |
Expose map_location::rotate_right_around_center to lua.
Definition at line 158 of file lua_map_location_ops.cpp.
References luaW_pushlocation(), luaW_tolocation(), and map_location::rotate_right_around_center().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_tiles_adjacent | ( | lua_State * | L | ) |
Expose map_location tiles_adjacent.
Definition at line 177 of file lua_map_location_ops.cpp.
References luaW_tolocation(), and tiles_adjacent().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_vector_diff | ( | lua_State * | L | ) |
Expose map_location::vector_difference to lua.
Definition at line 127 of file lua_map_location_ops.cpp.
References luaW_pushlocation(), luaW_tolocation(), and map_location::vector_difference_assign().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_vector_negation | ( | lua_State * | L | ) |
Expose map_location::vector_negation to lua.
Definition at line 144 of file lua_map_location_ops.cpp.
References luaW_pushlocation(), luaW_tolocation(), and map_location::vector_negation().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_map_location::intf_vector_sum | ( | lua_State * | L | ) |
Expose map_location::vector_sum to lua.
Definition at line 112 of file lua_map_location_ops.cpp.
References luaW_pushlocation(), luaW_tolocation(), and map_location::vector_sum_assign().
Referenced by lua_kernel_base::lua_kernel_base().