diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-09 21:10:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-09 21:10:01 +0300 |
commit | b4121ca0c5b2a74e02cce69c32316287ffc63034 (patch) | |
tree | 38837017fd2cef634a5c4b16778239d1f9345407 /src/map.h | |
parent | d528e72adef79304c0b3cc55af838070a0af8ee1 (diff) | |
download | manaplus-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.gz manaplus-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.bz2 manaplus-b4121ca0c5b2a74e02cce69c32316287ffc63034.tar.xz manaplus-b4121ca0c5b2a74e02cce69c32316287ffc63034.zip |
Improve map class.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -63,7 +63,7 @@ struct MetaTile final * Constructor. */ MetaTile() : Fcost(0), Gcost(0), Hcost(0), whichList(0), - parentX(0), parentY(0), blockmask(0) + parentX(0), parentY(0), blockmask(0) {} A_DELETE_COPY(MetaTile) @@ -263,6 +263,7 @@ class Map final : public Properties, public ConfigListener */ const std::string getFilename() const A_WARN_UNUSED; +#ifdef MANASERV_SUPPORT /** * Check the current position against surrounding blocking tiles, and * correct the position offset within tile when needed. @@ -283,6 +284,7 @@ class Map final : public Properties, public ConfigListener const int destPixelX, const int destPixelY, const int radius, const unsigned char walkmask, const int maxCost = 20) A_WARN_UNUSED; +#endif /** * Find a path from one location to the next. |