summaryrefslogtreecommitdiff
path: root/src/char/int_guild.h
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
commit8538670a61c726fbd52087fe392f0a3d961db630 (patch)
tree4d37f0ac7e29780e7794dd6aba1856a80dbae4b4 /src/char/int_guild.h
parent2b6c40327a3e05a18bbfabd319a0735d75fbb8e9 (diff)
downloadhercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.gz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.bz2
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.xz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.zip
Changed some defines into an enumerator.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15829 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/int_guild.h')
-rw-r--r--src/char/int_guild.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/char/int_guild.h b/src/char/int_guild.h
index be1d16ab6..202b9b512 100644
--- a/src/char/int_guild.h
+++ b/src/char/int_guild.h
@@ -4,19 +4,21 @@
#ifndef _INT_GUILD_SQL_H_
#define _INT_GUILD_SQL_H_
-#define GS_BASIC 0x0001
-#define GS_MEMBER 0x0002
-#define GS_POSITION 0x0004
-#define GS_ALLIANCE 0x0008
-#define GS_EXPULSION 0x0010
-#define GS_SKILL 0x0020
-#define GS_EMBLEM 0x0040
-#define GS_CONNECT 0x0080
-#define GS_LEVEL 0x0100
-#define GS_MES 0x0200
-#define GS_MASK 0x03FF
-#define GS_BASIC_MASK (GS_BASIC | GS_EMBLEM | GS_CONNECT | GS_LEVEL | GS_MES)
-#define GS_REMOVE 0x8000
+enum {
+ GS_BASIC = 0x0001,
+ GS_MEMBER = 0x0002,
+ GS_POSITION = 0x0004,
+ GS_ALLIANCE = 0x0008,
+ GS_EXPULSION = 0x0010,
+ GS_SKILL = 0x0020,
+ GS_EMBLEM = 0x0040,
+ GS_CONNECT = 0x0080,
+ GS_LEVEL = 0x0100,
+ GS_MES = 0x0200,
+ GS_MASK = 0x03FF,
+ GS_BASIC_MASK = (GS_BASIC | GS_EMBLEM | GS_CONNECT | GS_LEVEL | GS_MES),
+ GS_REMOVE = 0x8000,
+};
struct guild;
struct guild_castle;