metaforce/Runtime/World/CScriptGenerator.hpp

35 lines
816 B
C++
Raw Normal View History

2016-04-20 21:44:18 +00:00
#ifndef __URDE_CSCRIPTGENERATOR_HPP__
#define __URDE_CSCRIPTGENERATOR_HPP__
#include "CEntity.hpp"
#include "zeus/CVector3f.hpp"
namespace urde
{
class CScriptGenerator : public CEntity
{
2017-01-24 17:23:10 +00:00
u32 x34_spawnCount;
2016-12-22 02:48:22 +00:00
union {
2016-05-03 08:27:28 +00:00
struct
{
2017-01-24 17:23:10 +00:00
bool x38_24_reuseFollowers : 1;
bool x38_25_inheritTransform : 1;
2016-05-03 08:27:28 +00:00
};
2016-12-22 02:48:22 +00:00
u8 dummy1 = 0;
2016-05-03 08:27:28 +00:00
};
2017-01-24 17:23:10 +00:00
zeus::CVector3f x3c_offset;
2016-05-03 08:27:28 +00:00
float x48_minScale;
float x4c_maxScale;
2016-12-22 02:48:22 +00:00
2016-04-20 21:44:18 +00:00
public:
2017-11-13 06:19:18 +00:00
CScriptGenerator(TUniqueId uid, std::string_view name, const CEntityInfo& info, u32, bool, const zeus::CVector3f&,
2016-12-22 02:48:22 +00:00
bool, bool, float, float);
2016-05-03 08:27:28 +00:00
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
2016-12-22 02:48:22 +00:00
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
2016-04-20 21:44:18 +00:00
};
}
#endif // __URDE_CSCRIPTGENERATOR_HPP__