2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CSYSTEMOPTIONS
|
|
|
|
#define _CSYSTEMOPTIONS
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#include "MetroidPrime/TGameTypes.hpp"
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
#include "rstl/pair.hpp"
|
|
|
|
#include "rstl/reserved_vector.hpp"
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
|
|
|
|
class CSystemOptions {
|
|
|
|
public:
|
|
|
|
CSystemOptions();
|
|
|
|
|
|
|
|
void SetHasFusion(bool v);
|
2022-10-01 06:19:09 +00:00
|
|
|
bool GetHasFusion() const { return xd0_28_fusionSuitActive; }
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-10-02 22:27:13 +00:00
|
|
|
bool GetCinematicState(rstl::pair< CAssetId, TEditorId > cineId) const;
|
|
|
|
void SetCinematicState(rstl::pair< CAssetId, TEditorId > cineId, bool state);
|
2022-10-02 10:13:35 +00:00
|
|
|
|
2022-10-05 18:05:56 +00:00
|
|
|
bool GetShowPowerBombAmmoMessage() const;
|
|
|
|
void IncrementPowerBombAmmoCount();
|
|
|
|
|
|
|
|
bool GetAllItemsCollected() const { return xd0_29_allItemsCollected; }
|
|
|
|
void SetAllItemsCollected(bool);
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
private:
|
|
|
|
rstl::reserved_vector< u8, 98 > x0_nesState;
|
|
|
|
rstl::reserved_vector< bool, 64 > x68_;
|
|
|
|
rstl::vector< rstl::pair< CAssetId, TEditorId > > xac_cinematicStates;
|
|
|
|
int xbc_autoMapperKeyState;
|
|
|
|
int xc0_frozenFpsCount;
|
|
|
|
int xc4_frozenBallCount;
|
|
|
|
int xc8_powerBombAmmoCount;
|
|
|
|
int xcc_logScanPercent;
|
|
|
|
bool xd0_24_fusionLinked : 1;
|
|
|
|
bool xd0_25_normalModeBeat : 1;
|
|
|
|
bool xd0_26_hardModeBeat : 1;
|
|
|
|
bool xd0_27_fusionBeat : 1;
|
|
|
|
bool xd0_28_fusionSuitActive : 1;
|
|
|
|
bool xd0_29_allItemsCollected : 1;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CSYSTEMOPTIONS
|