mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 17:47:41 +00:00
Add CScriptGenerator
What is even that AcceptScriptMsg
Former-commit-id: 9fcf74b45b
This commit is contained in:
25
include/MetroidPrime/ScriptObjects/CScriptGenerator.hpp
Normal file
25
include/MetroidPrime/ScriptObjects/CScriptGenerator.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#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();
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user