From 9d7fd8b37f97265f37cc12026e535e953942a1ab Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 23 Jul 2014 18:37:53 -0700 Subject: Move magic to its own namespace --- src/map/magic-interpreter-base.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/magic-interpreter-base.hpp') 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 spell_clone_effect(dumb_ptr source); dumb_ptr magic_find_spell(XString invocation); void spell_update_location(dumb_ptr invocation); +} // namespace magic } // namespace tmwa -- cgit v1.2.3-70-g09d2