From 1abda37d9a6173f67ee12600ca8948cd205ebad1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Jul 2015 14:57:03 +0300 Subject: Move mapitemtype into enums directory. --- src/enums/resources/map/mapitemtype.h | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/enums/resources/map/mapitemtype.h (limited to 'src/enums/resources/map') diff --git a/src/enums/resources/map/mapitemtype.h b/src/enums/resources/map/mapitemtype.h new file mode 100644 index 000000000..38677f479 --- /dev/null +++ b/src/enums/resources/map/mapitemtype.h @@ -0,0 +1,47 @@ +/* + * The ManaPlus Client + * 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_RESOURCES_MAPITEMTYPE_H +#define ENUMS_RESOURCES_MAPITEMTYPE_H + +namespace MapItemType +{ + enum Type + { + EMPTY = 0, + HOME = 1, + ROAD = 2, + CROSS = 3, + ARROW_UP = 4, + ARROW_DOWN = 5, + ARROW_LEFT = 6, + ARROW_RIGHT = 7, + PORTAL = 8, + MUSIC = 9, + ATTACK = 10, + PRIORITY = 11, + IGNORE_ = 12, + PICKUP = 13, + NOPICKUP = 14, + SEPARATOR = 15 + }; +} // namespace MapItemType + +#endif // ENUMS_RESOURCES_MAPITEMTYPE_H -- cgit v1.2.3-70-g09d2