metaforce/Runtime/MP1/World/CActorContraption.hpp

30 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"
2018-12-08 05:30:43 +00:00
namespace urde {
class CFlameThrower;
2018-12-08 05:30:43 +00:00
namespace MP1 {
class CActorContraption : public CScriptActor {
/* AKA Why Zoid?!?!?!? */
std::vector<std::pair<TUniqueId, std::string>> x2e8_children;
TToken<CGenDescription> x300_flameThrowerGen;
CAssetId x308_flameFxId;
CDamageInfo x30c_dInfo;
2017-02-03 23:32:15 +00:00
public:
2018-12-08 05:30:43 +00:00
CActorContraption(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
const zeus::CAABox&, const CMaterialList&, float, float, const CHealthInfo&,
const CDamageVulnerability&, const CActorParameters&, CAssetId, const CDamageInfo&, bool);
2017-05-07 06:55:01 +00:00
2018-12-08 05:30:43 +00:00
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
void Think(float, CStateManager&);
void DoUserAnimEvent(CStateManager&, const CInt32POINode&, EUserEventType, float dt);
CFlameThrower* CreateFlameThrower(std::string_view, CStateManager&);
void ResetFlameThrowers(CStateManager& mgr);
2017-02-03 23:32:15 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace MP1
} // namespace urde