Explorar el Código

forgot path.h ._.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11959 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage hace 17 años
padre
commit
0d011cc9b2
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  1. 16 0
      src/map/path.h

+ 16 - 0
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_ */