| 874 | } |
| 875 | |
| 876 | static int projPosAtStep(lua_State *L) |
| 877 | { |
| 878 | auto engine = find_engine(L, 1); |
| 879 | auto path = decode_path(L, 2, engine->center); |
| 880 | int step = luaL_checkint(L, 3); |
| 881 | Lua::Push(L, path[step]); |
| 882 | return 1; |
| 883 | } |
| 884 | |
| 885 | static bool isPassableTile(df::coord pos) |
| 886 | { |
nothing calls this directly
no test coverage detected