summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 13:25:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 13:25:41 +0300
commitc61f1b6abe8e68995f00ae3a939afe5049e5cdb3 (patch)
treec50613a2c7722fba4aba9d5a67949b118a279b33 /src/map.h
parentb481cd74dfd1629ca7b045cde57562e752c49638 (diff)
downloadmv-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.gz
mv-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.bz2
mv-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.tar.xz
mv-c61f1b6abe8e68995f00ae3a939afe5049e5cdb3.zip
Remove manaserv ifdefs code.
ManaServ was already depricated long ago.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/map.h b/src/map.h
index d33857415..0ad048e7e 100644
--- a/src/map.h
+++ b/src/map.h
@@ -278,29 +278,6 @@ 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.
- */
- Position checkNodeOffsets(int radius, const unsigned char walkMask,
- const Position &position)
- const A_WARN_UNUSED;
-
- Position checkNodeOffsets(const int radius,
- const unsigned char walkMask,
- const int x, const int y) const A_WARN_UNUSED
- { return checkNodeOffsets(radius, walkMask, Position(x, y)); }
-
- /**
- * Find a pixel path from one location to the next.
- */
- Path findPixelPath(const int startPixelX, const int startPixelY,
- 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.
*/