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
|
|
|
|
{
|
2016-05-03 08:27:28 +00:00
|
|
|
u32 x34_;
|
2016-12-22 02:48:22 +00:00
|
|
|
union {
|
2016-05-03 08:27:28 +00:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool x38_24_ : 1;
|
|
|
|
bool x38_25_ : 1;
|
|
|
|
};
|
2016-12-22 02:48:22 +00:00
|
|
|
u8 dummy1 = 0;
|
2016-05-03 08:27:28 +00:00
|
|
|
};
|
|
|
|
zeus::CVector3f x3c_;
|
|
|
|
float x48_minScale;
|
|
|
|
float x4c_maxScale;
|
2016-12-22 02:48:22 +00:00
|
|
|
|
2016-04-20 21:44:18 +00:00
|
|
|
public:
|
2016-12-22 02:48:22 +00:00
|
|
|
CScriptGenerator(TUniqueId uid, const std::string& name, const CEntityInfo& info, u32, bool, const zeus::CVector3f&,
|
|
|
|
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__
|