From 599551a69be2872c3cf9916c7f9814af73b56203 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 16:26:35 +0300 Subject: Move equip slots enum into separate file. --- src/enums/equipslot.h | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/enums/equipslot.h (limited to 'src/enums/equipslot.h') 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 . + */ + +#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 -- cgit v1.2.3-70-g09d2