Merge pull request #180 from lioncash/flamethrower

CFlameThrower: Amend virtual interface discrepancies
This commit is contained in:
Luke Street 2020-03-04 13:42:21 -05:00 committed by GitHub
commit 74d01debe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,12 @@ void CFlameThrower::AddToRenderer(const zeus::CFrustum&, const CStateManager& mg
EnsureRendered(mgr, x2e8_flameXf.origin, GetRenderBounds());
}
void CFlameThrower::Render(const CStateManager&) const {}
std::optional<zeus::CAABox> CFlameThrower::GetTouchBounds() const { return std::nullopt; }
void CFlameThrower::Touch(CActor&, CStateManager&) {}
void CFlameThrower::SetFlameLightActive(CStateManager& mgr, bool active) {
if (x2c8_projectileLight == kInvalidUniqueId)
return;

View File

@ -57,6 +57,9 @@ public:
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
void Think(float, CStateManager&) override;
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const override;
void Render(const CStateManager& mgr) const override;
std::optional<zeus::CAABox> GetTouchBounds() const override;
void Touch(CActor& actor, CStateManager& mgr) override;
void SetTransform(const zeus::CTransform& xf, float);
void Reset(CStateManager&, bool);
void Fire(const zeus::CTransform&, CStateManager&, bool);