#pragma once #include #include "Runtime/CPlayerState.hpp" #include "Runtime/GCNTypes.hpp" #include "Runtime/rstl.hpp" #include "Runtime/World/CEntity.hpp" #include namespace metaforce { class CScriptSpawnPoint : public CEntity { zeus::CTransform x34_xf; rstl::reserved_vector x64_itemCounts; bool x10c_24_firstSpawn : 1; bool x10c_25_morphed : 1; public: DEFINE_ENTITY CScriptSpawnPoint(TUniqueId, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf, const rstl::reserved_vector& itemCounts, bool, bool, bool); void Accept(IVisitor& visitor) override; void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override; bool FirstSpawn() const { return x10c_24_firstSpawn; } const zeus::CTransform& GetTransform() const { return x34_xf; } u32 GetPowerup(CPlayerState::EItemType item) const; }; } // namespace metaforce