summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-22 13:05:51 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-22 13:05:51 +0000
commit354cb702a16a879a16d2db7c91fdeb32b14b5df8 (patch)
tree82779f7f0a3c1ac2e166d3947ac2e34ce91f667a
parentebf1cd085c9f4061318f99f9ab19b63148d19819 (diff)
downloadhercules-354cb702a16a879a16d2db7c91fdeb32b14b5df8.tar.gz
hercules-354cb702a16a879a16d2db7c91fdeb32b14b5df8.tar.bz2
hercules-354cb702a16a879a16d2db7c91fdeb32b14b5df8.tar.xz
hercules-354cb702a16a879a16d2db7c91fdeb32b14b5df8.zip
forgot path.h ._.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11959 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/path.h16
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_ */