ManaPlus
src
input
pages
craft.cpp
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2011-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
#include "
gui/setupactiondata.h
"
23
24
#include "
utils/gettext.h
"
25
#include "
utils/stringutils.h
"
26
27
#include "
debug.h
"
28
29
SetupActionData
setupActionDataCraft
[] =
30
{
31
{
32
// TRANSLATORS: input action name
33
strprintf
(
N_
(
"Craft shortcut %d"
), 1),
34
InputAction::CRAFT_1
,
35
""
,
36
},
37
{
38
// TRANSLATORS: input action name
39
strprintf
(
N_
(
"Craft shortcut %d"
), 2),
40
InputAction::CRAFT_2
,
41
""
,
42
},
43
{
44
// TRANSLATORS: input action name
45
strprintf
(
N_
(
"Craft shortcut %d"
), 3),
46
InputAction::CRAFT_3
,
47
""
,
48
},
49
{
50
// TRANSLATORS: input action name
51
strprintf
(
N_
(
"Craft shortcut %d"
), 4),
52
InputAction::CRAFT_4
,
53
""
,
54
},
55
{
56
// TRANSLATORS: input action name
57
strprintf
(
N_
(
"Craft shortcut %d"
), 5),
58
InputAction::CRAFT_5
,
59
""
,
60
},
61
{
62
// TRANSLATORS: input action name
63
strprintf
(
N_
(
"Craft shortcut %d"
), 6),
64
InputAction::CRAFT_6
,
65
""
,
66
},
67
{
68
// TRANSLATORS: input action name
69
strprintf
(
N_
(
"Craft shortcut %d"
), 7),
70
InputAction::CRAFT_7
,
71
""
,
72
},
73
{
74
// TRANSLATORS: input action name
75
strprintf
(
N_
(
"Craft shortcut %d"
), 8),
76
InputAction::CRAFT_8
,
77
""
,
78
},
79
{
80
// TRANSLATORS: input action name
81
strprintf
(
N_
(
"Craft shortcut %d"
), 9),
82
InputAction::CRAFT_9
,
83
""
,
84
},
85
{
86
""
,
87
InputAction::NO_VALUE
,
88
""
89
},
90
};
setupActionDataCraft
SetupActionData setupActionDataCraft[]
Definition:
craft.cpp:29
debug.h
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
InputAction::CRAFT_9
@ CRAFT_9
Definition:
inputaction.h:619
InputAction::CRAFT_4
@ CRAFT_4
Definition:
inputaction.h:614
InputAction::CRAFT_6
@ CRAFT_6
Definition:
inputaction.h:616
InputAction::CRAFT_2
@ CRAFT_2
Definition:
inputaction.h:612
InputAction::CRAFT_7
@ CRAFT_7
Definition:
inputaction.h:617
InputAction::CRAFT_1
@ CRAFT_1
Definition:
inputaction.h:611
InputAction::CRAFT_5
@ CRAFT_5
Definition:
inputaction.h:615
InputAction::CRAFT_3
@ CRAFT_3
Definition:
inputaction.h:613
InputAction::NO_VALUE
@ NO_VALUE
Definition:
inputaction.h:44
InputAction::CRAFT_8
@ CRAFT_8
Definition:
inputaction.h:618
setupactiondata.h
strprintf
std::string strprintf(const char *const format,...)
Definition:
stringutils.cpp:100
stringutils.h
SetupActionData
Definition:
setupactiondata.h:35
Generated on Wed Mar 17 2021 19:19:08 for ManaPlus by
1.9.1