diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-06 20:34:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-06 20:34:38 +0300 |
commit | ff516ba3e0459cce11d6b43d4686a1c3c43a6605 (patch) | |
tree | 87f4d9808dcedc28075c463d153486c4b3e48bfd /src | |
parent | d35d90b66e51679c6aabab6ef69217456d9c4f8b (diff) | |
download | manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.gz manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.bz2 manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.tar.xz manaverse-ff516ba3e0459cce11d6b43d4686a1c3c43a6605.zip |
Add guild position flags enum.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/guildpositionflags.h | 37 |
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 |