mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-06-02 04:01:22 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
33 lines
749 B
C++
33 lines
749 B
C++
#ifndef _CMEMORYCARD
|
|
#define _CMEMORYCARD
|
|
|
|
#include "types.h"
|
|
|
|
#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(int saveId) const;
|
|
|
|
typedef rstl::pair< CAssetId, CWorldSaveGameInfo::EScanCategory > ScanState;
|
|
const rstl::vector< ScanState >& GetScanStates() const { return x20_scanStates; }
|
|
|
|
private:
|
|
uchar x0_pad[0x20];
|
|
rstl::vector< ScanState > x20_scanStates;
|
|
};
|
|
|
|
extern CMemoryCard* gpMemoryCard;
|
|
|
|
#endif // _CMEMORYCARD
|