2022-11-30 21:26:00 +00:00
|
|
|
#ifndef _CSCRIPTGENERATOR
|
|
|
|
#define _CSCRIPTGENERATOR
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptGenerator : public CEntity {
|
|
|
|
public:
|
|
|
|
CScriptGenerator(TUniqueId uid, const rstl::string& name, const CEntityInfo& info,
|
|
|
|
int spawnCount, bool noReuseFollowers, const CVector3f& vec1, bool noInheritXf,
|
|
|
|
bool active, float minScale, float maxScale);
|
|
|
|
~CScriptGenerator();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
2022-11-30 21:26:00 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
int x34_spawnCount;
|
|
|
|
bool x38_24_noReuseFollowers : 1;
|
|
|
|
bool x38_25_noInheritTransform : 1;
|
|
|
|
CVector3f x3c_offset;
|
|
|
|
float x48_minScale;
|
|
|
|
float x4c_maxScale;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTGENERATOR
|