Skip to content

Commit

Permalink
So IntelliSense didn't stop me...
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Giganticus committed Dec 10, 2024
1 parent 8399bfb commit 9740d03
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions PTD/Achievements/include/Achievement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,24 @@ class Achievement {
s32 mRequiredNum;
s32 mSceneNum;
const char* mStageName;
bool mAcquired = false;
bool mAcquired;
Achievement() {
mName = 0,
mType = (AchievementType)-1,
mRequiredNum = -1,
mSceneNum = -1,
mStageName = 0,
mAcquired = false;
}
};

class Achievements {
int mLength = 0;
Achievement** mAchievements = 0;
int mLength;
Achievement** mAchievements;
Achievements() {
mLength = 0;
mAchievements = 0;
}
~Achievements() {
for (int i = 0; i < mLength; i++)
delete mAchievements[i];
Expand Down

0 comments on commit 9740d03

Please sign in to comment.