18 |
18 |
19 #include <QObject> |
19 #include <QObject> |
20 |
20 |
21 #include "achievements.h" |
21 #include "achievements.h" |
22 |
22 |
23 const char achievements[][5][256] = { |
23 // TODO: use some structs instead? |
24 // 5 array members each: id, caption, description, image, required number |
24 const char achievements[][6][256] = { |
25 //{"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}, |
25 // 6 array members each: id, caption, description, image, required number, attributes |
26 //{"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}, |
26 /* |
27 //{"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}, |
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 //{"rounds4", QT_TRANSLATE_NOOP("achievements", "1001 Stories to tell"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "stories", 1001}, |
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 {0, 0, 0, 0, 0} // "terminator" line |
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 {"rounds4", QT_TRANSLATE_NOOP("achievements", "1001 Stories to tell"), QT_TRANSLATE_NOOP("achievements", "Manage to survive %1 games playing on the official server, no matter if it's a draw or win."), "stories", "1001", ""}, |
|
31 {"rope1", QT_TRANSLATE_NOOP("achievements", "Big Swing"), QT_TRANSLATE_NOOP("achievements", "Bridge 1000 pixels while using one rope."), "bgswing", "1", ""}, |
|
32 {"rope2", QT_TRANSLATE_NOOP("achievements", "Spider Hog"), QT_TRANSLATE_NOOP("achievements", "Bridge 3000 pixels while using one rope."), "spider", "1", "hidden"}, |
|
33 {"skipping", QT_TRANSLATE_NOOP("achievements", "Skipped"), QT_TRANSLATE_NOOP("achievements", "Let a single hog skip over the surface of the water for at least 5 times."), "skipped", "1", "hidden"}, |
|
34 {"cgunman", QT_TRANSLATE_NOOP("achievements", "Crazy Gunman"), QT_TRANSLATE_NOOP("achievements", "Eliminate 3 hogs with a single shot of the sniper rifle."), "cgunman", "1", ""}, |
|
35 */ |
|
36 {0, 0, 0, 0, 0, 0} // "terminator" line |
30 }; |
37 }; |