summaryrefslogtreecommitdiff
path: root/src/enums/magicschool.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 20:23:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 20:23:30 +0300
commit11000f010f19a2de85ba26660b451c7c41ab3a97 (patch)
tree65eee18b5fcb17f35cb90fcc930242e02b0a79f1 /src/enums/magicschool.h
parent18bd0722a9cebc3ba80bfb74a5b5ba0dd9e53c75 (diff)
downloadmanaverse-11000f010f19a2de85ba26660b451c7c41ab3a97.tar.gz
manaverse-11000f010f19a2de85ba26660b451c7c41ab3a97.tar.bz2
manaverse-11000f010f19a2de85ba26660b451c7c41ab3a97.tar.xz
manaverse-11000f010f19a2de85ba26660b451c7c41ab3a97.zip
Move MagicSchool enum into separate file and convert to strong typed.
Diffstat (limited to 'src/enums/magicschool.h')
-rw-r--r--src/enums/magicschool.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/enums/magicschool.h b/src/enums/magicschool.h
new file mode 100644
index 000000000..1a12b9539
--- /dev/null
+++ b/src/enums/magicschool.h
@@ -0,0 +1,37 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-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_MAGICSCHOOL_H
+#define ENUMS_MAGICSCHOOL_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(MagicSchool)
+{
+ SkillMagic = 340,
+ SkillMagicLife = 341,
+ SkillMagicWar = 342,
+ SkillMagicTransmute = 343,
+ SkillMagicNature = 344,
+ SkillMagicAstral = 345
+}
+enumEnd(MagicSchool);
+
+#endif // ENUMS_MAGICSCHOOL_H