| 1 | #pragma once |
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | #include <math/seadVector.h> |
| 5 | #include <time/seadDateTime.h> |
| 6 | |
| 7 | #include "System/GameDataHolderAccessor.h" |
| 8 | |
| 9 | namespace al { |
| 10 | class IUseMessageSystem; |
| 11 | class LayoutActor; |
| 12 | class LiveActor; |
| 13 | } // namespace al |
| 14 | |
| 15 | class AchievementHolder; |
| 16 | class AchievementNpc; |
| 17 | |
| 18 | namespace rs { |
| 19 | |
| 20 | const char16* getAchievementName(const al::IUseMessageSystem* user, const char* label); |
| 21 | const char16* getAchievementName(const al::LayoutActor* layout, s32 achievementIdx); |
| 22 | const char16* getAchievementHint(const al::IUseMessageSystem* user, const char* label); |
| 23 | const char16* getAchievementHint(const al::LayoutActor* layout, s32 achievementIdx); |
| 24 | AchievementHolder* getAchievementHolder(const al::LayoutActor* layout); |
| 25 | void unlockAchievementShineName(GameDataHolderAccessor accessor); |
| 26 | bool isUnlockAchievementShineName(GameDataHolderAccessor accessor); |
| 27 | bool checkGetAchievement(GameDataHolderAccessor accessor, const char* label); |
| 28 | bool checkGetAchievement(const al::LayoutActor* layout, s32 achievementIdx); |
| 29 | sead::DateTime findAchievementGetTime(const al::LayoutActor* layout, s32 achievementIdx); |
| 30 | sead::DateTime findAchievementGetTime(const al::LayoutActor* layout, const char* label); |
| 31 | sead::Vector3f* findAchievementTrans(const al::LayoutActor* layout, s32 achievementIdx); |
| 32 | s32 getAchievementNum(const al::LayoutActor* layout); |
| 33 | s32 calcReceivedAchievementNum(const GameDataHolder* holder); |
| 34 | s32 getTotalCoinNum(const GameDataHolder* holder); |
| 35 | s32 calcWorldWarpHoleThroughNum(const GameDataHolder* holder); |
| 36 | s32 getWorldWarpHoleThroughNumMax(const GameDataHolder* holder); |
| 37 | s32 calcGetCheckpointNum(const GameDataHolder* holder); |
| 38 | s32 calcBuyItemNumForCoinCollectByWorld(const GameDataHolder* holder); |
| 39 | s32 calcClearWorldNum(const GameDataHolder* holder); |
| 40 | void addPlayerJumpCount(const al::LiveActor* actor); |
| 41 | s32 getPlayerJumpCount(const GameDataHolder* holder); |
| 42 | void addPlayerThrowCapCount(const al::LiveActor* actor); |
| 43 | s32 getPlayerThrowCapCount(const GameDataHolder* holder); |
| 44 | bool checkGetCoinCollectAllInWorld(const al::LiveActor* actor, s32 worldId); |
| 45 | bool checkGetCoinCollectHalfInWorld(const AchievementNpc* achievementNpc, s32 worldId); |
| 46 | bool checkGetShineAllInWorld(const AchievementNpc* achievementNpc, s32 worldId); |
| 47 | bool checkGetClothAndCapNum(const AchievementNpc* achievementNpc, s32 num); |
| 48 | bool checkUnlockMoonRockAllWorld(GameDataHolderAccessor accessor); |
| 49 | s32 calcUnlockMoonRockNum(GameDataHolderAccessor accessor); |
| 50 | s32 calcHackObjNum(GameDataHolderAccessor accessor); |
| 51 | s32 calcSphinxQuizCompleteNum(GameDataHolderAccessor accessor); |
| 52 | s32 calcGetShineNumDot(const GameDataHolder* holder); |
| 53 | s32 calcGetShineNumTreasureBox(const GameDataHolder* holder); |
| 54 | s32 calcGetShineNumNoteObj(const GameDataHolder* holder); |
| 55 | s32 calcGetShineNumTimerAthletic(const GameDataHolder* holder); |
| 56 | s32 calcGetShineNumKinopioBrigade(const GameDataHolder* holder); |
| 57 | s32 calcGetShineNumWorldTravelingPeach(const GameDataHolder* holder); |
| 58 | s32 calcGetShineNumCollectAnimal(const GameDataHolder* holder); |
| 59 | s32 calcAllShineNumCollectAnimal(const GameDataHolder* holder); |
| 60 | s32 calcGetShineNumKuriboGirl(const GameDataHolder* holder); |
| 61 | s32 calcGetShineNumJugemFish(const GameDataHolder* holder); |
| 62 | s32 calcGetShineNumGrowPlant(const GameDataHolder* holder); |
| 63 | s32 calcGetShineNumRabbit(const GameDataHolder* holder); |
| 64 | s32 calcGetShineNumDigPoint(const GameDataHolder* holder); |
| 65 | s32 calcGetShineNumCapHanger(const GameDataHolder* holder); |
| 66 | s32 calcGetShineNumBird(const GameDataHolder* holder); |
| 67 | s32 calcGetShineNumCostumeRoom(const GameDataHolder* holder); |
| 68 | s32 calcGetShineNumSlot(const GameDataHolder* holder); |
| 69 | s32 calcGetShineNumRace(const GameDataHolder* holder); |
| 70 | s32 calcGetShineNumFigureWalking(const GameDataHolder* holder); |
| 71 | s32 calcGetShineNumHideAndSeekCapMan(const GameDataHolder* holder); |
| 72 | s32 calcAllShineNumHideAndSeekCapMan(const GameDataHolder* holder); |
| 73 | s32 calcGetShineNumCollectBgmNpc(const GameDataHolder* holder); |
| 74 | s32 calcAllShineNumCollectBgmNpc(const GameDataHolder* holder); |
| 75 | s32 calcGetShineNumHintPhoto(const GameDataHolder* holder); |
| 76 | |
| 77 | } // namespace rs |
| 78 | |