summaryrefslogtreecommitdiff
path: root/src/map/path.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-26 21:59:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-26 22:28:22 -0700
commit2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch)
tree2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/map/path.cpp
parentf5fcb973cfad6221264a2a859f5236c3cef2c470 (diff)
downloadtmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip
Stick everything in a namespace
Diffstat (limited to 'src/map/path.cpp')
-rw-r--r--src/map/path.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/path.cpp b/src/map/path.cpp
index 432d9cf..6950797 100644
--- a/src/map/path.cpp
+++ b/src/map/path.cpp
@@ -36,6 +36,9 @@
#include "../poison.hpp"
+
+namespace tmwa
+{
constexpr int MAX_HEAP = 150;
struct tmp_path
{
@@ -358,3 +361,4 @@ int path_search(struct walkpath_data *wpd, map_local *m, int x0, int y0, int x1,
return -1;
}
}
+} // namespace tmwa