metaforce/Runtime/Weapon/CFlameThrower.hpp

41 lines
1.2 KiB
C++

#ifndef __URDE_CFLAMETHROWER_HPP__
#define __URDE_CFLAMETHROWER_HPP__
#include "Weapon/CGameProjectile.hpp"
namespace urde
{
class CFlameInfo;
class CElementGen;
class CFlameThrower : public CGameProjectile
{
static const zeus::CVector3f kLightOffset;
zeus::CTransform x2e8_;
zeus::CAABox x318_ = zeus::CAABox::skNullBox;
TToken<CGenDescription> x33c_flameDesc;
std::unique_ptr<CElementGen> x348_flameGen;
union
{
struct
{
bool x400_25 : 1;
};
u32 _dummy = 0;
};
public:
CFlameThrower(const TToken<CWeaponDescription>& wDesc, std::string_view name, EWeaponType wType,
const CFlameInfo& flameInfo, const zeus::CTransform& xf, EMaterialTypes matType,
const CDamageInfo& dInfo, TUniqueId uid, TAreaId aId, TUniqueId owner, EProjectileAttrib attribs,
u32 w2, s16 sId, u32 w3);
void Accept(IVisitor& visitor);
void SetTransform(const zeus::CTransform& xf);
void Reset(CStateManager&, bool);
void Fire(const zeus::CTransform&, CStateManager&, bool);
bool GetX400_25() const { return x400_25; }
};
}
#endif // __URDE_CFLAMETHROWER_HPP__