summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 17:47:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 17:47:47 +0300
commite04f5805bdc7af8c297fd5b458836c63314341e1 (patch)
tree71d7b36198178e162895b343b7dba2d1da7e0a51 /src
parent2444c4f0d666ceb4ca6512edcc1b2e340a146bd7 (diff)
downloadplus-e04f5805bdc7af8c297fd5b458836c63314341e1.tar.gz
plus-e04f5805bdc7af8c297fd5b458836c63314341e1.tar.bz2
plus-e04f5805bdc7af8c297fd5b458836c63314341e1.tar.xz
plus-e04f5805bdc7af8c297fd5b458836c63314341e1.zip
Move type Sfx into separate file.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/being/playerinfo.h1
-rw-r--r--src/enums/simpletypes/sfx.h28
-rw-r--r--src/enums/simpletypes/simpletypes.h1
5 files changed, 31 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index edead124a..0c3fe5056 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1062,6 +1062,7 @@ SET(SRCS
enums/simpletypes/identified.h
enums/simpletypes/modal.h
enums/simpletypes/notify.h
+ enums/simpletypes/sfx.h
enums/simpletypes/showcenter.h
enums/simpletypes/simpledefines.h
enums/simpletypes/simpletypes.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 5974a48b5..d4111f957 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1190,6 +1190,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
enums/simpletypes/identified.h \
enums/simpletypes/modal.h \
enums/simpletypes/notify.h \
+ enums/simpletypes/sfx.h \
enums/simpletypes/showcenter.h \
enums/simpletypes/simpledefines.h \
enums/simpletypes/simpletypes.h \
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index b7b760afd..b60757931 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -28,6 +28,7 @@
#include "enums/state.h"
#include "enums/simpletypes/notify.h"
+#include "enums/simpletypes/sfx.h"
#include "enums/simpletypes/simpletypes.h"
#include "enums/simpletypes/trading.h"
diff --git a/src/enums/simpletypes/sfx.h b/src/enums/simpletypes/sfx.h
new file mode 100644
index 000000000..e837d0a9e
--- /dev/null
+++ b/src/enums/simpletypes/sfx.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_SFX_H
+#define ENUMS_SIMPLETYPES_SFX_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+defBoolEnum(Sfx);
+
+#endif // ENUMS_SIMPLETYPES_SFX_H
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index 57bb6c76d..9ad328fd4 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,7 +25,6 @@
#include "localconsts.h"
-defBoolEnum(Sfx);
defBoolEnum(Keep);
defBoolEnum(Modifiable);
defBoolEnum(AllPlayers);