diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-12 13:32:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-17 14:53:41 +0300 |
commit | 8571843f1405e676142e7bb289f9879d10a888ed (patch) | |
tree | e414c90b31979372220fa5c78f9ebb6cc05cd024 /src/localplayer.h | |
parent | 3d8682618f0b46a334f9db5dd0c780f671e7f072 (diff) | |
download | manaverse-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.h | 6 |
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(); |