summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-06 20:34:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-06 20:34:38 +0300
commitff516ba3e0459cce11d6b43d4686a1c3c43a6605 (patch)
tree87f4d9808dcedc28075c463d153486c4b3e48bfd
parentd35d90b66e51679c6aabab6ef69217456d9c4f8b (diff)
downloadmanaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.gz
manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.bz2
manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.xz
manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.zip
Add guild position flags enum.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/guildpositionflags.h37
3 files changed, 39 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7383177f0..66d69a435 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -863,6 +863,7 @@ SET(SRCS
guild.h
guildmanager.cpp
guildmanager.h
+ guildpositionflags.h
particle/imageparticle.cpp
particle/imageparticle.h
imagesprite.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index aec94c27b..61a526001 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -986,6 +986,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
guild.h \
guildmanager.cpp \
guildmanager.h \
+ guildpositionflags.h \
particle/imageparticle.cpp \
particle/imageparticle.h \
imagesprite.cpp \
diff --git a/src/guildpositionflags.h b/src/guildpositionflags.h
new file mode 100644
index 000000000..b9964c5b3
--- /dev/null
+++ b/src/guildpositionflags.h
@@ -0,0 +1,37 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GUILDPOSITIONFLAGS_H
+#define GUILDPOSITIONFLAGS_H
+
+class Guild;
+
+namespace GuildPositionFlags
+{
+ enum Type
+ {
+ Invite = 0x01,
+ Expel = 0x10
+ };
+}
+
+#endif // GUILDPOSITIONFLAGS_H