summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 21:49:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 21:49:16 +0300
commit5b4e74ab44a2ae4eab9db71c860885802e2ba28d (patch)
tree065e1c4a5c5639b77789e7cf51ca25efeeb7e86a /src/enums
parentac12efd17d9f719b083d8af1eb5a06853835e8d6 (diff)
downloadmanaplus-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.gz
manaplus-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.bz2
manaplus-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.xz
manaplus-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.zip
Fix code style.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/attacktype.h3
-rw-r--r--src/enums/equipslot.h3
-rw-r--r--src/enums/gui/chatmsgtype.h6
-rw-r--r--src/enums/net/auctionsearchtype.h2
-rw-r--r--src/enums/net/packettypes.h6
5 files changed, 10 insertions, 10 deletions
diff --git a/src/enums/being/attacktype.h b/src/enums/being/attacktype.h
index c040d66f9..02379e60a 100644
--- a/src/enums/being/attacktype.h
+++ b/src/enums/being/attacktype.h
@@ -42,5 +42,6 @@ namespace AttackType
TOUCH_SKILL = 12,
MISS = 0xffff // pseudo value for miss attacks
};
-}
+} // namespace AttackType
+
#endif // ENUMS_BEING_ATTACKTYPE_H
diff --git a/src/enums/equipslot.h b/src/enums/equipslot.h
index 8c6c5abbb..bd6423dee 100644
--- a/src/enums/equipslot.h
+++ b/src/enums/equipslot.h
@@ -53,7 +53,6 @@ namespace EquipSlot
SHADOW_ACCESSORY2_SLOT = 21,
VECTOREND
};
-}
-
+} // namespace EquipSlot
#endif // ENUMS_EQUIPSLOT_H
diff --git a/src/enums/gui/chatmsgtype.h b/src/enums/gui/chatmsgtype.h
index 94b9e62b3..baacb57fd 100644
--- a/src/enums/gui/chatmsgtype.h
+++ b/src/enums/gui/chatmsgtype.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_CHATMSGTYPE_H
-#define GUI_CHATMSGTYPE_H
+#ifndef ENUMS_GUI_CHATMSGTYPE_H
+#define ENUMS_GUI_CHATMSGTYPE_H
namespace ChatMsgType
{
@@ -39,4 +39,4 @@ namespace ChatMsgType
};
} // namespace ChatMsgType
-#endif // GUI_CHATMSGTYPE_H
+#endif // ENUMS_GUI_CHATMSGTYPE_H
diff --git a/src/enums/net/auctionsearchtype.h b/src/enums/net/auctionsearchtype.h
index e908e2d42..281db6875 100644
--- a/src/enums/net/auctionsearchtype.h
+++ b/src/enums/net/auctionsearchtype.h
@@ -31,7 +31,7 @@ namespace AuctionSearchType
Card = 2,
Misc = 3,
Name = 4,
- AuctionId = 5,
+ AuctionId = 5
};
} // namespace AuctionSearchType
diff --git a/src/enums/net/packettypes.h b/src/enums/net/packettypes.h
index b1349b216..4da22895a 100644
--- a/src/enums/net/packettypes.h
+++ b/src/enums/net/packettypes.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ENUMS_NET_PACKETLIMITER_H
-#define ENUMS_NET_PACKETLIMITER_H
+#ifndef ENUMS_NET_PACKETTYPES_H
+#define ENUMS_NET_PACKETTYPES_H
enum PacketTypes
{
@@ -39,4 +39,4 @@ enum PacketTypes
PACKET_SIZE
};
-#endif // ENUMS_NET_PACKETLIMITER_H
+#endif // ENUMS_NET_PACKETTYPES_H