2017-02-03 23:32:15 +00:00
|
|
|
#ifndef __URDE_MP1_CACTORCONTRAPTION_HPP__
|
|
|
|
#define __URDE_MP1_CACTORCONTRAPTION_HPP__
|
|
|
|
|
|
|
|
#include "World/CScriptActor.hpp"
|
|
|
|
#include "World/CDamageInfo.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2017-05-18 10:58:15 +00:00
|
|
|
class CFlameThrower;
|
2017-02-03 23:32:15 +00:00
|
|
|
namespace MP1
|
|
|
|
{
|
|
|
|
class CActorContraption : public CScriptActor
|
|
|
|
{
|
|
|
|
/* AKA Why Zoid?!?!?!? */
|
2017-05-20 07:41:49 +00:00
|
|
|
std::vector<std::pair<TUniqueId, std::string>> x2e8_children;
|
2017-05-09 13:27:07 +00:00
|
|
|
TToken<CGenDescription> x300_flameThrowerGen;
|
2017-08-13 05:26:14 +00:00
|
|
|
CAssetId x308_flameFxId;
|
2017-05-09 13:27:07 +00:00
|
|
|
CDamageInfo x30c_dInfo;
|
2017-02-03 23:32:15 +00:00
|
|
|
public:
|
|
|
|
CActorContraption(TUniqueId, const std::string&, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
|
|
|
|
const zeus::CAABox&, const CMaterialList&, float, float, const CHealthInfo&,
|
2017-08-13 05:26:14 +00:00
|
|
|
const CDamageVulnerability&, const CActorParameters&, CAssetId, const CDamageInfo&, bool);
|
2017-05-07 06:55:01 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor &visitor);
|
2017-05-20 07:41:49 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
2017-05-09 13:27:07 +00:00
|
|
|
void Think(float, CStateManager &);
|
2017-06-03 06:03:07 +00:00
|
|
|
void DoUserAnimEvent(CStateManager &, CInt32POINode &, EUserEventType, float dt);
|
2017-05-18 10:58:15 +00:00
|
|
|
CFlameThrower* CreateFlameThrower(const std::string&, CStateManager&);
|
2017-05-20 07:41:49 +00:00
|
|
|
void ResetFlameThrowers(CStateManager& mgr);
|
2017-02-03 23:32:15 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_MP1_CACTORCONTRAPTION_HPP__
|