diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-16 21:16:07 +0300 |
commit | 0c063cf5b45a843485fe3343e5fb79a40141f88c (patch) | |
tree | e2419701a312e0ba97404049cd5b82b7420c3fce /src/enums | |
parent | db82bf99bbd6d246f3e8da19fe88705f7015f144 (diff) | |
download | manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.gz manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.bz2 manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.tar.xz manaverse-0c063cf5b45a843485fe3343e5fb79a40141f88c.zip |
Convert DragDropSource enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/dragdropsource.h | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/src/enums/dragdropsource.h b/src/enums/dragdropsource.h index 37ec91d79..f98084a11 100644 --- a/src/enums/dragdropsource.h +++ b/src/enums/dragdropsource.h @@ -21,25 +21,30 @@ #ifndef ENUMS_DRAGDROPSOURCE_H #define ENUMS_DRAGDROPSOURCE_H -enum DragDropSource +#include "enums/simpletypes/enumdefines.h" + +enumStart(DragDropSource) { - DRAGDROP_SOURCE_EMPTY = 0, - DRAGDROP_SOURCE_INVENTORY, - DRAGDROP_SOURCE_STORAGE, - DRAGDROP_SOURCE_TRADE, - DRAGDROP_SOURCE_OUTFIT, - DRAGDROP_SOURCE_SPELLS, - DRAGDROP_SOURCE_SKILLS, - DRAGDROP_SOURCE_GROUND, - DRAGDROP_SOURCE_DROP, - DRAGDROP_SOURCE_SHORTCUTS, - DRAGDROP_SOURCE_CRAFT, - DRAGDROP_SOURCE_NPC, - DRAGDROP_SOURCE_EQUIPMENT, + Empty = 0, + Inventory, + Storage, + Trade, + Outfit, + Spells, + Skills, + Ground, + Drop, + Shortcuts, + Craft, + Npc, #ifdef EATHENA_SUPPORT - DRAGDROP_SOURCE_CART, - DRAGDROP_SOURCE_MAIL + Equipment, + Cart, + Mail +#else + Equipment #endif -}; +} +enumEnd(DragDropSource); #endif // ENUMS_DRAGDROPSOURCE_H |