summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-base.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-23 18:37:53 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-05 15:59:36 -0700
commit9d7fd8b37f97265f37cc12026e535e953942a1ab (patch)
tree709218889e6977f9aeb1b47e9ce42d0e48b88007 /src/map/magic-interpreter-base.hpp
parent44ba9a9eebec2ffe202fc5594f76864a56f3730a (diff)
downloadtmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.gz
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.bz2
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.xz
tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.zip
Move magic to its own namespace
Diffstat (limited to 'src/map/magic-interpreter-base.hpp')
-rw-r--r--src/map/magic-interpreter-base.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic-interpreter-base.hpp b/src/map/magic-interpreter-base.hpp
index 57dde85..8c05df0 100644
--- a/src/map/magic-interpreter-base.hpp
+++ b/src/map/magic-interpreter-base.hpp
@@ -30,6 +30,8 @@
namespace tmwa
{
+namespace magic
+{
extern magic_conf_t magic_conf; /* Global magic conf */
extern env_t magic_default_env; /* Fake default environment */
@@ -84,4 +86,5 @@ dumb_ptr<invocation> spell_clone_effect(dumb_ptr<invocation> source);
dumb_ptr<spell_t> magic_find_spell(XString invocation);
void spell_update_location(dumb_ptr<invocation> invocation);
+} // namespace magic
} // namespace tmwa