metaforce/Runtime/MP1/World/CMetroidPrimeProjectile.hpp

36 lines
1.1 KiB
C++
Raw Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2018-02-10 21:27:00 -08:00
#include "Runtime/CToken.hpp"
#include "Runtime/Weapon/CEnergyProjectile.hpp"
2018-02-10 21:27:00 -08:00
2021-04-10 01:42:06 -07:00
namespace metaforce::MP1 {
2018-02-10 21:27:00 -08:00
2018-12-07 21:30:43 -08:00
struct SPrimeProjectileInfo {
u32 x0_propertyCount;
TToken<CGenDescription> x4_particle;
CDamageInfo xc_dInfo;
float x28_;
float x2c_;
float x30_;
CAssetId x34_texture;
bool x38_24_ : 1;
bool x38_25_ : 1;
bool x38_26_ : 1;
bool x38_27_ : 1;
explicit SPrimeProjectileInfo(CInputStream& in);
2018-02-10 21:27:00 -08:00
};
2018-12-07 21:30:43 -08:00
class CMetroidPrimeProjectile : public CEnergyProjectile {
SPrimeProjectileInfo x3d8_auxData;
2018-02-10 21:27:00 -08:00
public:
2018-12-07 21:30:43 -08:00
CMetroidPrimeProjectile(bool active, const TToken<CWeaponDescription>& desc, EWeaponType type,
const zeus::CTransform& xf, EMaterialTypes materials, const CDamageInfo& damage,
TUniqueId uid, TAreaId aid, TUniqueId owner, const SPrimeProjectileInfo& auxData,
TUniqueId homingTarget, EProjectileAttrib attribs, const zeus::CVector3f& scale,
const std::optional<TLockedToken<CGenDescription>>& visorParticle, u16 visorSfx,
2018-12-07 21:30:43 -08:00
bool sendCollideMsg);
2018-02-10 21:27:00 -08:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce::MP1