summaryrefslogtreecommitdiff
path: root/src/equipment.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 16:26:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 16:26:35 +0300
commit599551a69be2872c3cf9916c7f9814af73b56203 (patch)
tree3b09933e04eb9ced5216c6f85d62bd8f092c2d4e /src/equipment.h
parent51ecf500f30bb26ae1e08f3b4187386b6a9edf9b (diff)
downloadplus-599551a69be2872c3cf9916c7f9814af73b56203.tar.gz
plus-599551a69be2872c3cf9916c7f9814af73b56203.tar.bz2
plus-599551a69be2872c3cf9916c7f9814af73b56203.tar.xz
plus-599551a69be2872c3cf9916c7f9814af73b56203.zip
Move equip slots enum into separate file.
Diffstat (limited to 'src/equipment.h')
-rw-r--r--src/equipment.h30
1 files changed, 2 insertions, 28 deletions
diff --git a/src/equipment.h b/src/equipment.h
index 12ade8c66..2de7ba33a 100644
--- a/src/equipment.h
+++ b/src/equipment.h
@@ -35,7 +35,8 @@ class Equipment final
/**
* Constructor.
*/
- Equipment(): mBackend(nullptr)
+ Equipment() :
+ mBackend(nullptr)
{ }
A_DELETE_COPY(Equipment)
@@ -46,33 +47,6 @@ class Equipment final
~Equipment()
{ mBackend = nullptr; }
- enum Slot
- {
- EQUIP_TORSO_SLOT = 0,
- EQUIP_GLOVES_SLOT = 1,
- EQUIP_HEAD_SLOT = 2,
- EQUIP_LEGS_SLOT = 3,
- EQUIP_FEET_SLOT = 4,
- EQUIP_RING1_SLOT = 5,
- EQUIP_RING2_SLOT = 6,
- EQUIP_NECK_SLOT = 7,
- EQUIP_FIGHT1_SLOT = 8,
- EQUIP_FIGHT2_SLOT = 9,
- EQUIP_PROJECTILE_SLOT = 10,
- EQUIP_EVOL_RING1_SLOT = 11,
- EQUIP_EVOL_RING2_SLOT = 12,
- EQUIP_COSTUME_ROBE_SLOT = 13,
- EQUIP_MISSING1_SLOT = 14,
- EQUIP_MISSING2_SLOT = 15,
- EQUIP_SHADOW_ARMOR_SLOT = 16,
- EQUIP_SHADOW_WEAPON_SLOT = 17,
- EQUIP_SHADOW_SHIELD_SLOT = 18,
- EQUIP_SHADOW_SHOES_SLOT = 19,
- EQUIP_SHADOW_ACCESSORY1_SLOT = 20,
- EQUIP_SHADOW_ACCESSORY2_SLOT = 21,
- EQUIP_VECTOREND
- };
-
class Backend notfinal
{
public: