diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 16:26:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 16:26:35 +0300 |
commit | 599551a69be2872c3cf9916c7f9814af73b56203 (patch) | |
tree | 3b09933e04eb9ced5216c6f85d62bd8f092c2d4e /src/enums | |
parent | 51ecf500f30bb26ae1e08f3b4187386b6a9edf9b (diff) | |
download | plus-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/enums')
-rw-r--r-- | src/enums/equipslot.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/enums/equipslot.h b/src/enums/equipslot.h new file mode 100644 index 000000000..8c6c5abbb --- /dev/null +++ b/src/enums/equipslot.h @@ -0,0 +1,59 @@ +/* + * The ManaPlus Client + * Copyright (C) 2004-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * 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_EQUIPSLOT_H +#define ENUMS_EQUIPSLOT_H + +#include "localconsts.h" + +namespace EquipSlot +{ + enum Type + { + TORSO_SLOT = 0, + GLOVES_SLOT = 1, + HEAD_SLOT = 2, + LEGS_SLOT = 3, + FEET_SLOT = 4, + RING1_SLOT = 5, + RING2_SLOT = 6, + NECK_SLOT = 7, + FIGHT1_SLOT = 8, + FIGHT2_SLOT = 9, + PROJECTILE_SLOT = 10, + EVOL_RING1_SLOT = 11, + EVOL_RING2_SLOT = 12, + COSTUME_ROBE_SLOT = 13, + MISSING1_SLOT = 14, + MISSING2_SLOT = 15, + SHADOW_ARMOR_SLOT = 16, + SHADOW_WEAPON_SLOT = 17, + SHADOW_SHIELD_SLOT = 18, + SHADOW_SHOES_SLOT = 19, + SHADOW_ACCESSORY1_SLOT = 20, + SHADOW_ACCESSORY2_SLOT = 21, + VECTOREND + }; +} + + +#endif // ENUMS_EQUIPSLOT_H |