summaryrefslogtreecommitdiff
path: root/src/map/magic-v2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-v2.hpp')
-rw-r--r--src/map/magic-v2.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/map/magic-v2.hpp b/src/map/magic-v2.hpp
index 888e183..07d467e 100644
--- a/src/map/magic-v2.hpp
+++ b/src/map/magic-v2.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_MAGIC_V2_HPP
-#define TMWA_MAP_MAGIC_V2_HPP
+#pragma once
// magic-v2.hpp - second generation magic parser
//
// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,12 +18,14 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include "../strings/zstring.hpp"
+#include "../strings/zstring.hpp"
+
+namespace tmwa
+{
bool magic_init0();
// must be called after itemdb initialization
bool load_magic_file_v2(ZString filename);
-
-#endif // TMWA_MAP_MAGIC_V2_HPP
+} // namespace tmwa