#pragma once #include "weapon.h" #include struct EffectBehaviour; // Destruction (009f9880) is the default. // Epic Fetus' weapon: a shot drops a target (four more for the volley's backward, sideways and random shots), steered // by the aim or set on Marked's target, and the rockets it calls down fall on it. Doctor's Remote fires it once. struct Weapon_Rockets : Weapon { EntityPtr target; void Fire(const Vector& shootDirection, bool isShooting, bool isInterpolated) override; void ClearReferences() override; // 009f3150 The camera follows the target. Entity* GetFocusEntity() override { return target; } // 009f3150 The weapon fires as its target. Entity* GetMainEntity() override { return target; } int GetMarkedTargetVariant() override; Entity_Effect* target_spawn(const Vector& position, int rockets, float scale); }; Weapon* weapon_rocket_make(WeaponType type); bool is_rocket_burst(Entity_Player& player); std::span weapon_effect_behaviours();