summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/dragdropsource.h39
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