Add CPlayerState::CPlayerState(CInputStream& stream)

Former-commit-id: 65e7aeddab
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-04 16:29:05 +03:00
parent bc202ba493
commit 3a953cf075
5 changed files with 66 additions and 13 deletions

View File

@@ -3,15 +3,28 @@
#include "types.h"
#include "MetroidPrime/TGameTypes.hpp"
#include "Kyoto/CObjectReference.hpp"
#include "MetroidPrime/TGameTypes.hpp"
class CWorldSaveGameInfo {
// TODO: move to it's own file
public:
enum EScanCategory { kSC_None, kSC_Data, kSC_Lore, kSC_Creature, kSC_Research, kSC_Artifact };
};
class CMemoryCard {
public:
~CMemoryCard();
// TODO
rstl::pair<CAssetId, TAreaId> GetAreaAndWorldIdForSaveId(s32 saveId) const;
rstl::pair< CAssetId, TAreaId > GetAreaAndWorldIdForSaveId(s32 saveId) const;
typedef rstl::pair< CAssetId, CWorldSaveGameInfo::EScanCategory > ScanState;
const rstl::vector< ScanState >& GetScanStates() const { return x20_scanStates; }
private:
u8 x0_pad[0x20];
rstl::vector< ScanState > x20_scanStates;
};
extern CMemoryCard* gpMemoryCard;