diff options
Diffstat (limited to 'map.c')
| -rw-r--r-- | map.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ Map empty_map(size_t width, size_t height) { /* Honestly, what a shitty fucking way to implement this */ /* When we allow maps to have costs, these two neighbours functions will have to use the instead of COST_* defines */ +/* TODO: maybe merge them, add `dirs` parameter, like we do in path.c? */ unsigned int neighbours_4dir(Position neighbour_array[4], size_t cost_array[4], Position pos, size_t width, size_t height, \ char visited[height][width]) { size_t cur = 0; |
