diff options
Diffstat (limited to 'src/map/path.h')
-rw-r--r-- | src/map/path.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/path.h b/src/map/path.h new file mode 100644 index 000000000..138845dc4 --- /dev/null +++ b/src/map/path.h @@ -0,0 +1,16 @@ +// Copyright (c) Athena Dev Teams - Licensed under GNU GPL +// For more information, see LICENCE in the main folder + +#ifndef _PATH_H_ +#define _PATH_H_ + +// calculates destination cell for knockback +int path_blownpos(int m,int x0,int y0,int dx,int dy,int count); + +// tries to find a walkable path +bool path_search(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1,int flag,cell_t cell); + +// tries to find a shootable path +bool path_search_long(struct shootpath_data *spd,int m,int x0,int y0,int x1,int y1,cell_t cell); + +#endif /* _PATH_H_ */ |