summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 20:27:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 20:27:42 +0300
commit0d182030b8872fa22baffe3a5a97b6fa5f9d28c6 (patch)
treed14ba362b4b3a72d42aaf1d0647391cdd5cecd8d
parentd9d350d07b781fd6a529636555228a3788d8b55f (diff)
downloadplus-0d182030b8872fa22baffe3a5a97b6fa5f9d28c6.tar.gz
plus-0d182030b8872fa22baffe3a5a97b6fa5f9d28c6.tar.bz2
plus-0d182030b8872fa22baffe3a5a97b6fa5f9d28c6.tar.xz
plus-0d182030b8872fa22baffe3a5a97b6fa5f9d28c6.zip
Move type UseResman into separate file.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/enums/simpletypes/simpletypes.h1
-rw-r--r--src/enums/simpletypes/useresman.h28
-rw-r--r--src/utils/xml.h1
5 files changed, 31 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b05892224..8bf4150cf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1074,6 +1074,7 @@ SET(SRCS
enums/simpletypes/simpledefines.h
enums/simpletypes/simpletypes.h
enums/simpletypes/trading.h
+ enums/simpletypes/useresman.h
statuseffect.cpp
statuseffect.h
render/surfacegraphics.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 262d68891..1f567329d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1202,6 +1202,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
enums/simpletypes/simpledefines.h \
enums/simpletypes/simpletypes.h \
enums/simpletypes/trading.h \
+ enums/simpletypes/useresman.h \
statuseffect.cpp \
statuseffect.h \
render/surfacegraphics.cpp \
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index 7073b247d..93a3a4690 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,7 +25,6 @@
#include "localconsts.h"
-defBoolEnum(UseResman);
defBoolEnum(SkipError);
defBoolEnum(UseArgs);
diff --git a/src/enums/simpletypes/useresman.h b/src/enums/simpletypes/useresman.h
new file mode 100644
index 000000000..275a0ac0a
--- /dev/null
+++ b/src/enums/simpletypes/useresman.h
@@ -0,0 +1,28 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015 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 ENUMS_SIMPLETYPES_USERESMAN_H
+#define ENUMS_SIMPLETYPES_USERESMAN_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+defBoolEnum(UseResman);
+
+#endif // ENUMS_SIMPLETYPES_USERESMAN_H
diff --git a/src/utils/xml.h b/src/utils/xml.h
index 105ff19e1..260f7d715 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -24,6 +24,7 @@
#define UTILS_XML_H
#include "enums/simpletypes/simpletypes.h"
+#include "enums/simpletypes/useresman.h"
#include <libxml/tree.h>
#include <libxml/xmlwriter.h>