metaforce/Runtime/MP1/World/CActorContraption.hpp

33 lines
1.1 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-02-03 23:32:15 +00:00
#include "World/CScriptActor.hpp"
#include "World/CDamageInfo.hpp"
namespace urde
{
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:
2017-11-13 06:19:18 +00:00
CActorContraption(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
2017-02-03 23:32:15 +00:00
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-11-13 06:19:18 +00:00
CFlameThrower* CreateFlameThrower(std::string_view, CStateManager&);
2017-05-20 07:41:49 +00:00
void ResetFlameThrowers(CStateManager& mgr);
2017-02-03 23:32:15 +00:00
};
}
}