ManaPlus
src
input
pages
outfits.cpp
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2007 Joshua Langley <
[email protected]
>
4
* Copyright (C) 2009 The Mana World Development Team
5
* Copyright (C) 2009-2010 The Mana Developers
6
* Copyright (C) 2011-2019 The ManaPlus Developers
7
* Copyright (C) 2019-2021 Andrei Karas
8
*
9
* This file is part of The ManaPlus Client.
10
*
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program. If not, see <http://www.gnu.org/licenses/>.
23
*/
24
25
#include "
gui/setupactiondata.h
"
26
27
#include "
utils/gettext.h
"
28
#include "
utils/stringutils.h
"
29
30
#include "
debug.h
"
31
32
SetupActionData
setupActionDataOutfits
[] =
33
{
34
{
35
// TRANSLATORS: input action name
36
N_
(
"Outfits keys"
),
37
InputAction::NO_VALUE
,
38
""
39
},
40
{
41
// TRANSLATORS: input action name
42
N_
(
"Wear outfit"
),
43
InputAction::WEAR_OUTFIT
,
44
""
,
45
},
46
{
47
// TRANSLATORS: input action name
48
N_
(
"Clear outfit"
),
49
InputAction::CLEAR_OUTFIT
,
50
""
,
51
},
52
{
53
// TRANSLATORS: input action name
54
N_
(
"Copy Outfit to other outfit"
),
55
InputAction::COPY_OUTFIT
,
56
""
,
57
},
58
{
59
// TRANSLATORS: input action name
60
N_
(
"Copy outfit to chat"
),
61
InputAction::COPY_OUTFIT_TO_CHAT
,
62
""
,
63
},
64
{
65
// TRANSLATORS: input action name
66
N_
(
"Copy equipped to outfit"
),
67
InputAction::COPY_EQUIPED_OUTFIT
,
68
""
,
69
},
70
{
71
// TRANSLATORS: input action name
72
N_
(
"Show hat in chat"
),
73
InputAction::HAT
,
74
""
,
75
},
76
{
77
// TRANSLATORS: input action name
78
N_
(
"Outfits shortcuts"
),
79
InputAction::NO_VALUE
,
80
""
81
},
82
{
83
// TRANSLATORS: input action name
84
strprintf
(
N_
(
"Outfit Shortcut %d"
), 1),
85
InputAction::OUTFIT_1
,
86
""
,
87
},
88
{
89
// TRANSLATORS: input action name
90
strprintf
(
N_
(
"Outfit Shortcut %d"
), 2),
91
InputAction::OUTFIT_2
,
92
""
,
93
},
94
{
95
// TRANSLATORS: input action name
96
strprintf
(
N_
(
"Outfit Shortcut %d"
), 3),
97
InputAction::OUTFIT_3
,
98
""
,
99
},
100
{
101
// TRANSLATORS: input action name
102
strprintf
(
N_
(
"Outfit Shortcut %d"
), 4),
103
InputAction::OUTFIT_4
,
104
""
,
105
},
106
{
107
// TRANSLATORS: input action name
108
strprintf
(
N_
(
"Outfit Shortcut %d"
), 5),
109
InputAction::OUTFIT_5
,
110
""
,
111
},
112
{
113
// TRANSLATORS: input action name
114
strprintf
(
N_
(
"Outfit Shortcut %d"
), 6),
115
InputAction::OUTFIT_6
,
116
""
,
117
},
118
{
119
// TRANSLATORS: input action name
120
strprintf
(
N_
(
"Outfit Shortcut %d"
), 7),
121
InputAction::OUTFIT_7
,
122
""
,
123
},
124
{
125
// TRANSLATORS: input action name
126
strprintf
(
N_
(
"Outfit Shortcut %d"
), 8),
127
InputAction::OUTFIT_8
,
128
""
,
129
},
130
{
131
// TRANSLATORS: input action name
132
strprintf
(
N_
(
"Outfit Shortcut %d"
), 9),
133
InputAction::OUTFIT_9
,
134
""
,
135
},
136
{
137
// TRANSLATORS: input action name
138
strprintf
(
N_
(
"Outfit Shortcut %d"
), 10),
139
InputAction::OUTFIT_10
,
140
""
,
141
},
142
{
143
// TRANSLATORS: input action name
144
strprintf
(
N_
(
"Outfit Shortcut %d"
), 11),
145
InputAction::OUTFIT_11
,
146
""
,
147
},
148
{
149
// TRANSLATORS: input action name
150
strprintf
(
N_
(
"Outfit Shortcut %d"
), 12),
151
InputAction::OUTFIT_12
,
152
""
,
153
},
154
{
155
// TRANSLATORS: input action name
156
strprintf
(
N_
(
"Outfit Shortcut %d"
), 13),
157
InputAction::OUTFIT_13
,
158
""
,
159
},
160
{
161
// TRANSLATORS: input action name
162
strprintf
(
N_
(
"Outfit Shortcut %d"
), 14),
163
InputAction::OUTFIT_14
,
164
""
,
165
},
166
{
167
// TRANSLATORS: input action name
168
strprintf
(
N_
(
"Outfit Shortcut %d"
), 15),
169
InputAction::OUTFIT_15
,
170
""
,
171
},
172
{
173
// TRANSLATORS: input action name
174
strprintf
(
N_
(
"Outfit Shortcut %d"
), 16),
175
InputAction::OUTFIT_16
,
176
""
,
177
},
178
{
179
// TRANSLATORS: input action name
180
strprintf
(
N_
(
"Outfit Shortcut %d"
), 17),
181
InputAction::OUTFIT_17
,
182
""
,
183
},
184
{
185
// TRANSLATORS: input action name
186
strprintf
(
N_
(
"Outfit Shortcut %d"
), 18),
187
InputAction::OUTFIT_18
,
188
""
,
189
},
190
{
191
// TRANSLATORS: input action name
192
strprintf
(
N_
(
"Outfit Shortcut %d"
), 19),
193
InputAction::OUTFIT_19
,
194
""
,
195
},
196
{
197
// TRANSLATORS: input action name
198
strprintf
(
N_
(
"Outfit Shortcut %d"
), 20),
199
InputAction::OUTFIT_20
,
200
""
,
201
},
202
{
203
// TRANSLATORS: input action name
204
strprintf
(
N_
(
"Outfit Shortcut %d"
), 21),
205
InputAction::OUTFIT_21
,
206
""
,
207
},
208
{
209
// TRANSLATORS: input action name
210
strprintf
(
N_
(
"Outfit Shortcut %d"
), 22),
211
InputAction::OUTFIT_22
,
212
""
,
213
},
214
{
215
// TRANSLATORS: input action name
216
strprintf
(
N_
(
"Outfit Shortcut %d"
), 23),
217
InputAction::OUTFIT_23
,
218
""
,
219
},
220
{
221
// TRANSLATORS: input action name
222
strprintf
(
N_
(
"Outfit Shortcut %d"
), 24),
223
InputAction::OUTFIT_24
,
224
""
,
225
},
226
{
227
// TRANSLATORS: input action name
228
strprintf
(
N_
(
"Outfit Shortcut %d"
), 25),
229
InputAction::OUTFIT_25
,
230
""
,
231
},
232
{
233
// TRANSLATORS: input action name
234
strprintf
(
N_
(
"Outfit Shortcut %d"
), 26),
235
InputAction::OUTFIT_26
,
236
""
,
237
},
238
{
239
// TRANSLATORS: input action name
240
strprintf
(
N_
(
"Outfit Shortcut %d"
), 27),
241
InputAction::OUTFIT_27
,
242
""
,
243
},
244
{
245
// TRANSLATORS: input action name
246
strprintf
(
N_
(
"Outfit Shortcut %d"
), 28),
247
InputAction::OUTFIT_28
,
248
""
,
249
},
250
{
251
// TRANSLATORS: input action name
252
strprintf
(
N_
(
"Outfit Shortcut %d"
), 29),
253
InputAction::OUTFIT_29
,
254
""
,
255
},
256
{
257
// TRANSLATORS: input action name
258
strprintf
(
N_
(
"Outfit Shortcut %d"
), 30),
259
InputAction::OUTFIT_30
,
260
""
,
261
},
262
{
263
// TRANSLATORS: input action name
264
strprintf
(
N_
(
"Outfit Shortcut %d"
), 31),
265
InputAction::OUTFIT_31
,
266
""
,
267
},
268
{
269
// TRANSLATORS: input action name
270
strprintf
(
N_
(
"Outfit Shortcut %d"
), 32),
271
InputAction::OUTFIT_32
,
272
""
,
273
},
274
{
275
// TRANSLATORS: input action name
276
strprintf
(
N_
(
"Outfit Shortcut %d"
), 33),
277
InputAction::OUTFIT_33
,
278
""
,
279
},
280
{
281
// TRANSLATORS: input action name
282
strprintf
(
N_
(
"Outfit Shortcut %d"
), 34),
283
InputAction::OUTFIT_34
,
284
""
,
285
},
286
{
287
// TRANSLATORS: input action name
288
strprintf
(
N_
(
"Outfit Shortcut %d"
), 35),
289
InputAction::OUTFIT_35
,
290
""
,
291
},
292
{
293
// TRANSLATORS: input action name
294
strprintf
(
N_
(
"Outfit Shortcut %d"
), 36),
295
InputAction::OUTFIT_36
,
296
""
,
297
},
298
{
299
// TRANSLATORS: input action name
300
strprintf
(
N_
(
"Outfit Shortcut %d"
), 37),
301
InputAction::OUTFIT_37
,
302
""
,
303
},
304
{
305
// TRANSLATORS: input action name
306
strprintf
(
N_
(
"Outfit Shortcut %d"
), 38),
307
InputAction::OUTFIT_38
,
308
""
,
309
},
310
{
311
// TRANSLATORS: input action name
312
strprintf
(
N_
(
"Outfit Shortcut %d"
), 39),
313
InputAction::OUTFIT_39
,
314
""
,
315
},
316
{
317
// TRANSLATORS: input action name
318
strprintf
(
N_
(
"Outfit Shortcut %d"
), 40),
319
InputAction::OUTFIT_40
,
320
""
,
321
},
322
{
323
// TRANSLATORS: input action name
324
strprintf
(
N_
(
"Outfit Shortcut %d"
), 41),
325
InputAction::OUTFIT_41
,
326
""
,
327
},
328
{
329
// TRANSLATORS: input action name
330
strprintf
(
N_
(
"Outfit Shortcut %d"
), 42),
331
InputAction::OUTFIT_42
,
332
""
,
333
},
334
{
335
// TRANSLATORS: input action name
336
strprintf
(
N_
(
"Outfit Shortcut %d"
), 43),
337
InputAction::OUTFIT_43
,
338
""
,
339
},
340
{
341
// TRANSLATORS: input action name
342
strprintf
(
N_
(
"Outfit Shortcut %d"
), 44),
343
InputAction::OUTFIT_44
,
344
""
,
345
},
346
{
347
// TRANSLATORS: input action name
348
strprintf
(
N_
(
"Outfit Shortcut %d"
), 45),
349
InputAction::OUTFIT_45
,
350
""
,
351
},
352
{
353
// TRANSLATORS: input action name
354
strprintf
(
N_
(
"Outfit Shortcut %d"
), 46),
355
InputAction::OUTFIT_46
,
356
""
,
357
},
358
{
359
// TRANSLATORS: input action name
360
strprintf
(
N_
(
"Outfit Shortcut %d"
), 47),
361
InputAction::OUTFIT_47
,
362
""
,
363
},
364
{
365
// TRANSLATORS: input action name
366
strprintf
(
N_
(
"Outfit Shortcut %d"
), 48),
367
InputAction::OUTFIT_48
,
368
""
,
369
},
370
{
371
""
,
372
InputAction::NO_VALUE
,
373
""
374
}
375
};
debug.h
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
InputAction::OUTFIT_10
@ OUTFIT_10
Definition:
inputaction.h:176
InputAction::OUTFIT_29
@ OUTFIT_29
Definition:
inputaction.h:195
InputAction::OUTFIT_28
@ OUTFIT_28
Definition:
inputaction.h:194
InputAction::OUTFIT_32
@ OUTFIT_32
Definition:
inputaction.h:198
InputAction::OUTFIT_47
@ OUTFIT_47
Definition:
inputaction.h:213
InputAction::OUTFIT_42
@ OUTFIT_42
Definition:
inputaction.h:208
InputAction::OUTFIT_24
@ OUTFIT_24
Definition:
inputaction.h:190
InputAction::OUTFIT_7
@ OUTFIT_7
Definition:
inputaction.h:173
InputAction::OUTFIT_35
@ OUTFIT_35
Definition:
inputaction.h:201
InputAction::OUTFIT_8
@ OUTFIT_8
Definition:
inputaction.h:174
InputAction::COPY_OUTFIT
@ COPY_OUTFIT
Definition:
inputaction.h:165
InputAction::OUTFIT_9
@ OUTFIT_9
Definition:
inputaction.h:175
InputAction::WEAR_OUTFIT
@ WEAR_OUTFIT
Definition:
inputaction.h:164
InputAction::OUTFIT_11
@ OUTFIT_11
Definition:
inputaction.h:177
InputAction::OUTFIT_18
@ OUTFIT_18
Definition:
inputaction.h:184
InputAction::OUTFIT_40
@ OUTFIT_40
Definition:
inputaction.h:206
InputAction::OUTFIT_2
@ OUTFIT_2
Definition:
inputaction.h:168
InputAction::OUTFIT_26
@ OUTFIT_26
Definition:
inputaction.h:192
InputAction::OUTFIT_3
@ OUTFIT_3
Definition:
inputaction.h:169
InputAction::OUTFIT_15
@ OUTFIT_15
Definition:
inputaction.h:181
InputAction::CLEAR_OUTFIT
@ CLEAR_OUTFIT
Definition:
inputaction.h:699
InputAction::OUTFIT_13
@ OUTFIT_13
Definition:
inputaction.h:179
InputAction::OUTFIT_41
@ OUTFIT_41
Definition:
inputaction.h:207
InputAction::OUTFIT_17
@ OUTFIT_17
Definition:
inputaction.h:183
InputAction::OUTFIT_5
@ OUTFIT_5
Definition:
inputaction.h:171
InputAction::COPY_OUTFIT_TO_CHAT
@ COPY_OUTFIT_TO_CHAT
Definition:
inputaction.h:689
InputAction::HAT
@ HAT
Definition:
inputaction.h:596
InputAction::OUTFIT_45
@ OUTFIT_45
Definition:
inputaction.h:211
InputAction::OUTFIT_16
@ OUTFIT_16
Definition:
inputaction.h:182
InputAction::OUTFIT_27
@ OUTFIT_27
Definition:
inputaction.h:193
InputAction::OUTFIT_21
@ OUTFIT_21
Definition:
inputaction.h:187
InputAction::OUTFIT_25
@ OUTFIT_25
Definition:
inputaction.h:191
InputAction::OUTFIT_33
@ OUTFIT_33
Definition:
inputaction.h:199
InputAction::OUTFIT_46
@ OUTFIT_46
Definition:
inputaction.h:212
InputAction::OUTFIT_48
@ OUTFIT_48
Definition:
inputaction.h:214
InputAction::OUTFIT_43
@ OUTFIT_43
Definition:
inputaction.h:209
InputAction::OUTFIT_4
@ OUTFIT_4
Definition:
inputaction.h:170
InputAction::OUTFIT_34
@ OUTFIT_34
Definition:
inputaction.h:200
InputAction::OUTFIT_30
@ OUTFIT_30
Definition:
inputaction.h:196
InputAction::OUTFIT_39
@ OUTFIT_39
Definition:
inputaction.h:205
InputAction::OUTFIT_22
@ OUTFIT_22
Definition:
inputaction.h:188
InputAction::OUTFIT_31
@ OUTFIT_31
Definition:
inputaction.h:197
InputAction::OUTFIT_19
@ OUTFIT_19
Definition:
inputaction.h:185
InputAction::OUTFIT_1
@ OUTFIT_1
Definition:
inputaction.h:167
InputAction::NO_VALUE
@ NO_VALUE
Definition:
inputaction.h:44
InputAction::OUTFIT_38
@ OUTFIT_38
Definition:
inputaction.h:204
InputAction::OUTFIT_44
@ OUTFIT_44
Definition:
inputaction.h:210
InputAction::OUTFIT_36
@ OUTFIT_36
Definition:
inputaction.h:202
InputAction::OUTFIT_23
@ OUTFIT_23
Definition:
inputaction.h:189
InputAction::COPY_EQUIPED_OUTFIT
@ COPY_EQUIPED_OUTFIT
Definition:
inputaction.h:166
InputAction::OUTFIT_12
@ OUTFIT_12
Definition:
inputaction.h:178
InputAction::OUTFIT_20
@ OUTFIT_20
Definition:
inputaction.h:186
InputAction::OUTFIT_14
@ OUTFIT_14
Definition:
inputaction.h:180
InputAction::OUTFIT_37
@ OUTFIT_37
Definition:
inputaction.h:203
InputAction::OUTFIT_6
@ OUTFIT_6
Definition:
inputaction.h:172
setupActionDataOutfits
SetupActionData setupActionDataOutfits[]
Definition:
outfits.cpp:32
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