mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-12 10:18:16 +00:00
66 lines
1.7 KiB
C++
66 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include <math/seadVector.h>
|
|
#include <prim/seadBitFlag.h>
|
|
#include <prim/seadSafeString.h>
|
|
|
|
class GameProgressData;
|
|
|
|
class GameDataFile {
|
|
public:
|
|
class HintInfo {
|
|
public:
|
|
enum class HintStatus { NONE, NPC, AMIIBO };
|
|
|
|
void clear();
|
|
|
|
bool isDisableByWorldWarpHole(bool) const;
|
|
bool isEnableUnlock(s32, bool, s32, bool) const;
|
|
bool isHintStatusUnlock(s32, s32, bool) const;
|
|
bool isHintStatusUnlockByNpc() const;
|
|
bool isHintStatusUnlockByAmiibo() const;
|
|
bool isEnableNameUnlockByScenario(s32, s32, bool) const;
|
|
|
|
bool testFunc(s32, bool, s32, bool) const;
|
|
|
|
private:
|
|
sead::FixedSafeString<0x80> mStageName;
|
|
sead::FixedSafeString<0x80> mObjId;
|
|
sead::FixedSafeString<0x40> mScenarioName;
|
|
const char* mObjectName;
|
|
sead::Vector3f mTrans;
|
|
sead::Vector3f mTransAgain;
|
|
void* unkPtr1;
|
|
void* unkPtr2;
|
|
void* unkPtr3;
|
|
void* unkPtr4;
|
|
s32 mMainScenarioNo;
|
|
s32 mWorldIndex;
|
|
bool mIsMoonRock;
|
|
bool unkBool1;
|
|
bool mIsAchievement;
|
|
bool mIsGrand;
|
|
bool mIsShopMoon;
|
|
s32 unkInt;
|
|
HintStatus mHintStatus;
|
|
s32 unkInt3;
|
|
s32 unkInt4;
|
|
void* unkPtr6;
|
|
s32 mUniqueID;
|
|
s32 mHintIdx;
|
|
sead::FixedSafeString<0x20> mOptionalID;
|
|
sead::BitFlag32 mProgressBitflag;
|
|
bool unkBool2;
|
|
bool unkBool3;
|
|
};
|
|
|
|
void wearCostume(const char*);
|
|
void wearCap(const char*);
|
|
|
|
private:
|
|
unsigned char padding_6A8[0x6A8];
|
|
GameProgressData* mGameProgressData;
|
|
char padding_9F0[0x340];
|
|
s32 mCurWorldId;
|
|
};
|