summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 22ca68c4..fae8af50 100644
--- a/src/map.h
+++ b/src/map.h
@@ -287,6 +287,14 @@ class Map : public Properties
/**
* Find a pixel path from one location to the next.
+ * Path node are centered on their corresponding tiles in that case.
+ */
+ Path findTilePath(int startPixelX, int startPixelY, int endPixelX,
+ int endPixelY, unsigned char walkMask,
+ int maxCost = 20);
+
+ /**
+ * Find a pixel path from one location to the next.
*/
Path findPixelPath(int startPixelX, int startPixelY,
int destPixelX, int destPixelY,