summaryrefslogtreecommitdiff
path: root/src/map/atcommand.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.hpp')
-rw-r--r--src/map/atcommand.hpp21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/map/atcommand.hpp b/src/map/atcommand.hpp
index 95e3814..4bf5277 100644
--- a/src/map/atcommand.hpp
+++ b/src/map/atcommand.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_ATCOMMAND_HPP
-#define TMWA_MAP_ATCOMMAND_HPP
+#pragma once
// atcommand.hpp - GM commands.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,14 +20,21 @@
// 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/fwd.hpp"
+#include "../strings/fwd.hpp"
-# include "map.hpp"
+#include "../generic/fwd.hpp"
+#include "../net/fwd.hpp"
+
+#include "../mmo/fwd.hpp"
+
+
+namespace tmwa
+{
bool is_atcommand(Session *s, dumb_ptr<map_session_data> sd,
- ZString message, int gmlvl);
+ ZString message, GmLevel gmlvl);
bool atcommand_config_read(ZString cfgName);
@@ -38,5 +44,4 @@ void log_atcommand(dumb_ptr<map_session_data> sd, ZString cmd);
extern AString gm_log;
void atcommand_config_write(ZString cfgName);
-
-#endif // TMWA_MAP_ATCOMMAND_HPP
+} // namespace tmwa