summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-12 13:32:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-17 14:53:41 +0300
commit8571843f1405e676142e7bb289f9879d10a888ed (patch)
treee414c90b31979372220fa5c78f9ebb6cc05cd024 /src/localplayer.h
parent3d8682618f0b46a334f9db5dd0c780f671e7f072 (diff)
downloadmanaverse-8571843f1405e676142e7bb289f9879d10a888ed.tar.gz
manaverse-8571843f1405e676142e7bb289f9879d10a888ed.tar.bz2
manaverse-8571843f1405e676142e7bb289f9879d10a888ed.tar.xz
manaverse-8571843f1405e676142e7bb289f9879d10a888ed.zip
add walkmaps support.
Fast detecting between two targets is they in same walkable area.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index dcb95a119..7dfa6025f 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -300,12 +300,12 @@ class LocalPlayer final : public Being,
void debugMsg(const std::string &str) const;
- bool isReachable(const int x, const int y,
- const int maxCost = 0) const A_WARN_UNUSED;
-
bool isReachable(Being *const being,
const int maxCost = 0) A_WARN_UNUSED;
+ bool isReachable(const int x, const int y,
+ const int allowCollision) const A_WARN_UNUSED;
+
void setHome();
void pingRequest();