summaryrefslogtreecommitdiff
path: root/src/map/mapflag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mapflag.hpp')
-rw-r--r--src/map/mapflag.hpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/map/mapflag.hpp b/src/map/mapflag.hpp
index e3a55f5..197d250 100644
--- a/src/map/mapflag.hpp
+++ b/src/map/mapflag.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_MAPFLAG_HPP
-#define TMWA_MAP_MAPFLAG_HPP
+#pragma once
// mapflag.hpp - booleans that apply to an entire map
//
// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,12 +18,15 @@
// 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 "../mmo/extract.hpp" // TODO remove this (requires specializing the *other* half)
+#include <cstdint>
-# include "../strings/xstring.hpp"
+#include "../mmo/extract.hpp" // TODO remove this (requires specializing the *other* half)
+
+namespace tmwa
+{
// originally from script.cpp
// These are part of the script API, so they can't change ever,
// even though they are silly.
@@ -79,5 +81,4 @@ template<>
bool extract<MapFlag, void, void>(XString str, MapFlag *mf);
MapFlag map_flag_from_int(int shift);
-
-#endif // TMWA_MAP_MAPFLAG_HPP
+} // namespace tmwa