2022-04-10 00:17:06 +00:00
|
|
|
#ifndef _CPLAYERSTATE_HPP
|
|
|
|
#define _CPLAYERSTATE_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-08-16 02:14:28 +00:00
|
|
|
class CStateManager;
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
class CPlayerState {
|
|
|
|
public:
|
2022-08-16 02:14:28 +00:00
|
|
|
enum EPlayerVisor {
|
|
|
|
kPV_Combat,
|
|
|
|
kPV_XRay,
|
|
|
|
kPV_Scan,
|
|
|
|
kPV_Thermal,
|
|
|
|
};
|
2022-09-19 04:19:46 +00:00
|
|
|
enum EPlayerSuit {
|
|
|
|
kPS_Invalid = -1,
|
|
|
|
kPS_Power,
|
|
|
|
kPS_Gravity,
|
|
|
|
kPS_Varia,
|
|
|
|
kPS_Phazon,
|
|
|
|
kPS_FusionPower,
|
|
|
|
kPS_FusionGravity,
|
|
|
|
kPS_FusionVaria,
|
|
|
|
kPS_FusionPhazon,
|
|
|
|
};
|
|
|
|
enum EBeamId {
|
|
|
|
kBI_Invalid = -1,
|
|
|
|
kBI_Power,
|
|
|
|
kBI_Ice,
|
|
|
|
kBI_Wave,
|
|
|
|
kBI_Plasma,
|
|
|
|
kBI_Phazon,
|
|
|
|
kBI_Phazon2 = 27,
|
|
|
|
};
|
2022-08-16 02:14:28 +00:00
|
|
|
|
|
|
|
EPlayerVisor GetActiveVisor(const CStateManager& mgr) const;
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
void SetIsFusionEnabled(bool v);
|
|
|
|
|
|
|
|
private:
|
|
|
|
u8 pad[0x198];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|