mirror of https://github.com/AxioDL/metaforce.git
CWaveBuster: Add Accept implementation
More low hanging fruit that can be resolved.
This commit is contained in:
parent
3dddfa63cf
commit
cd13a49649
|
@ -3,6 +3,8 @@
|
|||
#include "Runtime/CSimplePool.hpp"
|
||||
#include "Runtime/GameGlobalObjects.hpp"
|
||||
|
||||
#include "TCastTo.hpp" // Generated file, do not modify include path
|
||||
|
||||
namespace urde {
|
||||
|
||||
CWaveBuster::CWaveBuster(const TToken<CWeaponDescription>& desc, EWeaponType type, const zeus::CTransform& xf,
|
||||
|
@ -32,6 +34,8 @@ void CWaveBuster::ResetBeam(bool deactivate) {}
|
|||
|
||||
void CWaveBuster::SetNewTarget(TUniqueId id) {}
|
||||
|
||||
void CWaveBuster::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
||||
|
||||
void CWaveBuster::AddToRenderer([[maybe_unused]] const zeus::CFrustum& frustum, CStateManager& mgr) {
|
||||
const auto bounds = GetSortingBounds(mgr);
|
||||
EnsureRendered(mgr, x2e8_originalXf.origin, bounds);
|
||||
|
|
|
@ -55,6 +55,7 @@ public:
|
|||
void ResetBeam(bool deactivate);
|
||||
void SetNewTarget(TUniqueId id);
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
void AddToRenderer(const zeus::CFrustum& frustum, CStateManager& mgr) override;
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue