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 07:21:28 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
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
|