From 354cb702a16a879a16d2db7c91fdeb32b14b5df8 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 22 Dec 2007 13:05:51 +0000 Subject: forgot path.h ._. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11959 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/path.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/map/path.h (limited to 'src/map/path.h') 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_ */ -- cgit v1.2.3-60-g2f50