the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4
5class Achievement;
6
7class Achievements
8{
9 friend class Achievement;
10
11protected:
12 static const int ACHIEVEMENT_OFFSET;
13
14 // maximum position of achievements (min and max)
15public:
16 static const int ACHIEVEMENT_WIDTH_POSITION = 12;
17 static const int ACHIEVEMENT_HEIGHT_POSITION = 12;
18
19 static int xMin, yMin, xMax, yMax;
20
21 static vector<Achievement *> *achievements;
22
23 static Achievement *openInventory;
24 static Achievement *mineWood;
25 static Achievement *buildWorkbench;
26 static Achievement *buildPickaxe;
27 static Achievement *buildFurnace;
28 static Achievement *acquireIron;
29 static Achievement *buildHoe;
30 static Achievement *makeBread;
31 static Achievement *bakeCake;
32 static Achievement *buildBetterPickaxe;
33 static Achievement *cookFish;
34 static Achievement *onARail;
35 static Achievement *buildSword;
36 static Achievement *killEnemy;
37 static Achievement *killCow;
38 static Achievement *flyPig;
39
40 // 4J-JEV: Present on the PS3.
41 static Achievement *snipeSkeleton;
42 static Achievement *diamonds;
43 //static Achievement *portal; //4J-JEV: Whats this?
44 static Achievement *ghast;
45 static Achievement *blazeRod;
46 static Achievement *potion;
47 static Achievement *theEnd;
48 static Achievement *winGame;
49 static Achievement *enchantments;
50
51 // 4J : WESTY : Added new acheivements.
52 static Achievement *leaderOfThePack;
53 static Achievement *MOARTools;
54 static Achievement *dispenseWithThis;
55 static Achievement *InToTheNether;
56
57 // 4J : WESTY : Added other awards.
58 static Achievement *socialPost;
59 static Achievement *eatPorkChop;
60 static Achievement *play100Days;
61 static Achievement *arrowKillCreeper;
62 static Achievement *mine100Blocks;
63 static Achievement *kill10Creepers;
64
65#ifdef _EXTENDED_ACHIEVEMENTS
66 static Achievement *overkill; // Old achievements;
67 static Achievement *bookcase; // Old achievements;
68 static Achievement *adventuringTime;
69 static Achievement *repopulation;
70 static Achievement *diamondsToYou;
71 static Achievement *passingTheTime;
72 static Achievement *archer;
73 static Achievement *theHaggler;
74 static Achievement *potPlanter;
75 static Achievement *itsASign;
76 static Achievement *ironBelly;
77 static Achievement *haveAShearfulDay;
78 static Achievement *rainbowCollection;
79 static Achievement *stayinFrosty;
80 static Achievement *chestfulOfCobblestone;
81 static Achievement *renewableEnergy;
82 static Achievement *musicToMyEars;
83 static Achievement *bodyGuard;
84 static Achievement *ironMan;
85 static Achievement *zombieDoctor;
86 static Achievement *lionTamer;
87#endif
88
89 static void staticCtor();
90
91 static void init();
92};