mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Additional CPlayerGun implementations; downcast macro for tweak pointers
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "CPowerBomb.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CPowerBomb::CPowerBomb(const TToken<CGenDescription>& particle, TUniqueId uid, TAreaId aid,
|
||||
TUniqueId playerId, const zeus::CTransform& xf, const CDamageInfo& dInfo)
|
||||
: CWeapon(uid, aid, true, playerId, EWeaponType::PowerBomb, "PowerBomb", xf,
|
||||
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid, EMaterialTypes::Immovable,
|
||||
EMaterialTypes::Trigger},
|
||||
{EMaterialTypes::Projectile, EMaterialTypes::PowerBomb}),
|
||||
{EMaterialTypes::Projectile, EMaterialTypes::PowerBomb}, dInfo, EProjectileAttrib::PowerBombs,
|
||||
CModelData::CModelDataNull())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user