diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-03 14:43:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-03 14:43:03 +0300 |
commit | 284acf8f76bd2201bd64b847a2564206f77a4278 (patch) | |
tree | d562014465ae69782a7a081689ee5917812a5e55 /src/resources/itemtypemap.h | |
parent | 5ccaffe607662610eb34d5a9043fb5fb7e068039 (diff) | |
download | plus-284acf8f76bd2201bd64b847a2564206f77a4278.tar.gz plus-284acf8f76bd2201bd64b847a2564206f77a4278.tar.bz2 plus-284acf8f76bd2201bd64b847a2564206f77a4278.tar.xz plus-284acf8f76bd2201bd64b847a2564206f77a4278.zip |
Move item type mapping into separate file.
Diffstat (limited to 'src/resources/itemtypemap.h')
-rw-r--r-- | src/resources/itemtypemap.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/resources/itemtypemap.h b/src/resources/itemtypemap.h new file mode 100644 index 000000000..c8dc48197 --- /dev/null +++ b/src/resources/itemtypemap.h @@ -0,0 +1,32 @@ +/* + * The ManaPlus Client + * Copyright (C) 2014 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 RESOURCES_ITEMTYPEMAP_H +#define RESOURCES_ITEMTYPEMAP_H + +#include "localconsts.h" + +struct ItemTypeMap final +{ + std::string name; + ItemType::Type type; +}; + +#endif // RESOURCES_ITEMTYPEMAP_H |