mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
CWaveBuster: Add Accept implementation
More low hanging fruit that can be resolved.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user