ManaPlus
itemtypemapdata.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2014-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef RESOURCES_ITEMTYPEMAPDATA_H
23 #define RESOURCES_ITEMTYPEMAPDATA_H
24 
25 #include "utils/gettext.h"
26 
27 #include "resources/itemtypemap.h"
28 
29 #include "localconsts.h"
30 
32 {
33  {"generic", ItemDbType::UNUSABLE,
34  std::string(), std::string()
35  },
36  {"other", ItemDbType::UNUSABLE,
37  // TRANSLATORS: inventory button
38  N_("Use"), N_("Use")
39  },
40  {"usable", ItemDbType::USABLE,
41  // TRANSLATORS: inventory button
42  N_("Use"), N_("Use")
43  },
45  // TRANSLATORS: inventory button
46  N_("Equip"), N_("Unequip")
47  },
49  // TRANSLATORS: inventory button
50  N_("Equip"), N_("Unequip")
51  },
52  {"equip-torso", ItemDbType::EQUIPMENT_TORSO,
53  // TRANSLATORS: inventory button
54  N_("Equip"), N_("Unequip")
55  },
56  {"equip-arms", ItemDbType::EQUIPMENT_ARMS,
57  // TRANSLATORS: inventory button
58  N_("Equip"), N_("Unequip")
59  },
60  {"equip-head", ItemDbType::EQUIPMENT_HEAD,
61  // TRANSLATORS: inventory button
62  N_("Equip"), N_("Unequip")
63  },
64  {"equip-legs", ItemDbType::EQUIPMENT_LEGS,
65  // TRANSLATORS: inventory button
66  N_("Equip"), N_("Unequip")
67  },
68  {"equip-shield", ItemDbType::EQUIPMENT_SHIELD,
69  // TRANSLATORS: inventory button
70  N_("Equip"), N_("Unequip")
71  },
72  {"equip-ring", ItemDbType::EQUIPMENT_RING,
73  // TRANSLATORS: inventory button
74  N_("Equip"), N_("Unequip")
75  },
76  {"equip-charm", ItemDbType::EQUIPMENT_CHARM,
77  // TRANSLATORS: inventory button
78  N_("Equip"), N_("Unequip")
79  },
80  {"equip-necklace", ItemDbType::EQUIPMENT_NECKLACE,
81  // TRANSLATORS: inventory button
82  N_("Equip"), N_("Unequip")
83  },
84  {"equip-neck", ItemDbType::EQUIPMENT_NECKLACE,
85  // TRANSLATORS: inventory button
86  N_("Equip"), N_("Unequip")
87  },
88  {"equip-feet", ItemDbType::EQUIPMENT_FEET,
89  // TRANSLATORS: inventory button
90  N_("Equip"), N_("Unequip")
91  },
92  {"equip-ammo", ItemDbType::EQUIPMENT_AMMO,
93  // TRANSLATORS: inventory button
94  N_("Equip"), N_("Unequip")
95  },
96  {"card", ItemDbType::CARD,
97  // TRANSLATORS: inventory button
98  N_("Insert"), std::string()
99  },
100  {"racesprite", ItemDbType::SPRITE_RACE,
101  std::string(), std::string()
102  },
103  {"hairsprite", ItemDbType::SPRITE_HAIR,
104  std::string(), std::string()
105  }
106 };
107 
108 #endif // RESOURCES_ITEMTYPEMAPDATA_H
#define N_(s)
Definition: gettext.h:36
ItemTypeMap itemTypeMap[]
@ EQUIPMENT_HEAD
Definition: itemdbtype.h:38
@ EQUIPMENT_RING
Definition: itemdbtype.h:41
@ EQUIPMENT_LEGS
Definition: itemdbtype.h:39
@ EQUIPMENT_TWO_HANDS_WEAPON
Definition: itemdbtype.h:34
@ EQUIPMENT_FEET
Definition: itemdbtype.h:43
@ EQUIPMENT_AMMO
Definition: itemdbtype.h:44
@ EQUIPMENT_SHIELD
Definition: itemdbtype.h:40
@ EQUIPMENT_ONE_HAND_WEAPON
Definition: itemdbtype.h:33
@ EQUIPMENT_CHARM
Definition: itemdbtype.h:45
@ EQUIPMENT_TORSO
Definition: itemdbtype.h:35
@ EQUIPMENT_ARMS
Definition: itemdbtype.h:36
@ EQUIPMENT_NECKLACE
Definition: itemdbtype.h:42