summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 00:40:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 00:41:49 +0300
commit09970dfce38b0e8910b84743d62c7f66f59e2e1b (patch)
tree4955ba789b6e3f40e5e3133aabe18133a6f03bb6 /src/enums
parentb9df78a88b4294cdaabd665dd4d88425aaaec3e9 (diff)
downloadplus-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.gz
plus-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.bz2
plus-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.xz
plus-09970dfce38b0e8910b84743d62c7f66f59e2e1b.zip
Convert questtype enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/resources/questtype.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/enums/resources/questtype.h b/src/enums/resources/questtype.h
index 62f4271c7..4e83d0f14 100644
--- a/src/enums/resources/questtype.h
+++ b/src/enums/resources/questtype.h
@@ -21,14 +21,14 @@
#ifndef RESOURCES_QUESTTYPE_H
#define RESOURCES_QUESTTYPE_H
-namespace QuestType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(QuestType)
{
- enum Type
- {
- TEXT = 0,
- NAME = 1,
- REWARD = 2
- };
+ TEXT = 0,
+ NAME = 1,
+ REWARD = 2
}
+enumEnd(QuestType);
#endif // RESOURCES_QUESTTYPE_H