19 #include <QObject> |
19 #include <QObject> |
20 |
20 |
21 #include "achievements.h" |
21 #include "achievements.h" |
22 |
22 |
23 // TODO: use some structs instead? |
23 // TODO: use some structs instead? |
24 const char achievements[][6][256] = { |
24 const char achievements[][6][256] = |
|
25 { |
25 // 6 array members each: id, caption, description, image, required number, attributes |
26 // 6 array members each: id, caption, description, image, required number, attributes |
26 /* |
27 /* |
27 {"rounds1", QT_TRANSLATE_NOOP("achievements", "No complete Newbie!"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "nonewb", "1", ""}, |
28 {"rounds1", QT_TRANSLATE_NOOP("achievements", "No complete Newbie!"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "nonewb", "1", ""}, |
28 {"rounds2", QT_TRANSLATE_NOOP("achievements", "Getting used to it!"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "getused", "25", ""}, |
29 {"rounds2", QT_TRANSLATE_NOOP("achievements", "Getting used to it!"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "getused", "25", ""}, |
29 {"rounds3", QT_TRANSLATE_NOOP("achievements", "Backyard Veteran"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "veteran", "100", ""}, |
30 {"rounds3", QT_TRANSLATE_NOOP("achievements", "Backyard Veteran"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "veteran", "100", ""}, |