ManaPlus
src
resources
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
31
ItemTypeMap
itemTypeMap
[] =
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
},
44
{
"equip-1hand"
,
ItemDbType::EQUIPMENT_ONE_HAND_WEAPON
,
45
// TRANSLATORS: inventory button
46
N_
(
"Equip"
),
N_
(
"Unequip"
)
47
},
48
{
"equip-2hand"
,
ItemDbType::EQUIPMENT_TWO_HANDS_WEAPON
,
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
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
itemtypemap.h
itemTypeMap
ItemTypeMap itemTypeMap[]
Definition:
itemtypemapdata.h:31
localconsts.h
ItemDbType::EQUIPMENT_HEAD
@ EQUIPMENT_HEAD
Definition:
itemdbtype.h:38
ItemDbType::USABLE
@ USABLE
Definition:
itemdbtype.h:32
ItemDbType::EQUIPMENT_RING
@ EQUIPMENT_RING
Definition:
itemdbtype.h:41
ItemDbType::EQUIPMENT_LEGS
@ EQUIPMENT_LEGS
Definition:
itemdbtype.h:39
ItemDbType::EQUIPMENT_TWO_HANDS_WEAPON
@ EQUIPMENT_TWO_HANDS_WEAPON
Definition:
itemdbtype.h:34
ItemDbType::EQUIPMENT_FEET
@ EQUIPMENT_FEET
Definition:
itemdbtype.h:43
ItemDbType::UNUSABLE
@ UNUSABLE
Definition:
itemdbtype.h:31
ItemDbType::EQUIPMENT_AMMO
@ EQUIPMENT_AMMO
Definition:
itemdbtype.h:44
ItemDbType::EQUIPMENT_SHIELD
@ EQUIPMENT_SHIELD
Definition:
itemdbtype.h:40
ItemDbType::SPRITE_RACE
@ SPRITE_RACE
Definition:
itemdbtype.h:46
ItemDbType::SPRITE_HAIR
@ SPRITE_HAIR
Definition:
itemdbtype.h:47
ItemDbType::CARD
@ CARD
Definition:
itemdbtype.h:37
ItemDbType::EQUIPMENT_ONE_HAND_WEAPON
@ EQUIPMENT_ONE_HAND_WEAPON
Definition:
itemdbtype.h:33
ItemDbType::EQUIPMENT_CHARM
@ EQUIPMENT_CHARM
Definition:
itemdbtype.h:45
ItemDbType::EQUIPMENT_TORSO
@ EQUIPMENT_TORSO
Definition:
itemdbtype.h:35
ItemDbType::EQUIPMENT_ARMS
@ EQUIPMENT_ARMS
Definition:
itemdbtype.h:36
ItemDbType::EQUIPMENT_NECKLACE
@ EQUIPMENT_NECKLACE
Definition:
itemdbtype.h:42
ItemTypeMap
Definition:
itemtypemap.h:32
Generated on Wed Mar 17 2021 19:19:09 for ManaPlus by
1.9.1