mirror of https://github.com/PrimeDecomp/prime.git
31 lines
936 B
C++
31 lines
936 B
C++
#ifndef _CSCRIPTSPAWNPOINT
|
|
#define _CSCRIPTSPAWNPOINT
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
#include "MetroidPrime/Player/CPlayerState.hpp"
|
|
|
|
#include "Kyoto/Math/CTransform4f.hpp"
|
|
|
|
class CScriptSpawnPoint : public CEntity {
|
|
CTransform4f x34_xf;
|
|
rstl::reserved_vector< int, int(CPlayerState::kIT_Max) > x64_itemCounts;
|
|
bool x10c_24_firstSpawn : 1;
|
|
bool x10c_25_morphed : 1;
|
|
|
|
public:
|
|
CScriptSpawnPoint(TUniqueId, const rstl::string& name, const CEntityInfo& info,
|
|
const CTransform4f& xf,
|
|
const rstl::reserved_vector< int, int(CPlayerState::kIT_Max) >& itemCounts,
|
|
bool, bool, bool);
|
|
|
|
~CScriptSpawnPoint() override;
|
|
void Accept(IVisitor&) override;
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
|
|
|
const CTransform4f& GetTransform() const;
|
|
int GetPowerup(const CPlayerState::EItemType&) const;
|
|
};
|
|
|
|
#endif // _CSCRIPTSPAWNPOINT
|