summaryrefslogtreecommitdiff
path: root/src/proto2/types.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-27 19:16:45 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-27 19:33:42 -0700
commit7af4c5b5c561362cb1135ab504095ae667a9270a (patch)
tree49ffd3008d7634ba36f3951493a68e928407ce89 /src/proto2/types.hpp
parent8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6 (diff)
downloadtmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.gz
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.bz2
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.xz
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.zip
This is more reliable
Diffstat (limited to 'src/proto2/types.hpp')
-rw-r--r--src/proto2/types.hpp41
1 files changed, 19 insertions, 22 deletions
diff --git a/src/proto2/types.hpp b/src/proto2/types.hpp
index bd13114..c6581d8 100644
--- a/src/proto2/types.hpp
+++ b/src/proto2/types.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_PROTO2_TYPES_HPP
-#define TMWA_PROTO2_TYPES_HPP
+#pragma once
// proto2/types.hpp - Forward declarations of packet component types
//
// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,27 +18,27 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "fwd.hpp"
+#include "fwd.hpp"
-# include "../generic/array.hpp"
-# include "../mmo/consts.hpp"
+#include "../generic/array.hpp"
+#include "../mmo/consts.hpp"
//TODO split the includes
-# include <cstdint>
-# include "../ints/little.hpp"
-# include "../strings/vstring.hpp"
-# include "../net/ip.hpp"
-# include "../net/timer.t.hpp"
-# include "../mmo/consts.hpp"
-# include "../mmo/enums.hpp"
-# include "../mmo/human_time_diff.hpp"
-# include "../mmo/ids.hpp"
-# include "../mmo/strs.hpp"
-# include "../mmo/utils.hpp"
-# include "../mmo/version.hpp"
-# include "../login/login.t.hpp"
-# include "../map/clif.t.hpp"
-# include "../map/skill.t.hpp"
+#include <cstdint>
+#include "../ints/little.hpp"
+#include "../strings/vstring.hpp"
+#include "../net/ip.hpp"
+#include "../net/timer.t.hpp"
+#include "../mmo/consts.hpp"
+#include "../mmo/enums.hpp"
+#include "../mmo/human_time_diff.hpp"
+#include "../mmo/ids.hpp"
+#include "../mmo/strs.hpp"
+#include "../mmo/utils.hpp"
+#include "../mmo/version.hpp"
+#include "../login/login.t.hpp"
+#include "../map/clif.t.hpp"
+#include "../map/skill.t.hpp"
namespace tmwa
{
@@ -1420,5 +1419,3 @@ bool network_to_native(Storage *native, NetStorage network)
}
} // namespace tmwa
-
-#endif // TMWA_PROTO2_TYPES_HPP