2017-05-09 13:27:07 +00:00
|
|
|
#ifndef __URDE_CFLAMETHROWER_HPP__
|
|
|
|
#define __URDE_CFLAMETHROWER_HPP__
|
|
|
|
|
|
|
|
#include "Weapon/CGameProjectile.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CFlameInfo;
|
2017-05-10 10:03:29 +00:00
|
|
|
class CElementGen;
|
2017-05-09 13:27:07 +00:00
|
|
|
class CFlameThrower : public CGameProjectile
|
|
|
|
{
|
|
|
|
static const zeus::CVector3f kLightOffset;
|
|
|
|
zeus::CTransform x2e8_;
|
2017-05-10 10:03:29 +00:00
|
|
|
zeus::CAABox x318_ = zeus::CAABox::skNullBox;
|
|
|
|
TToken<CGenDescription> x33c_flameDesc;
|
|
|
|
std::unique_ptr<CElementGen> x348_flameGen;
|
2017-05-18 10:58:15 +00:00
|
|
|
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool x400_25 : 1;
|
|
|
|
};
|
|
|
|
u32 _dummy = 0;
|
|
|
|
};
|
2017-05-20 07:41:49 +00:00
|
|
|
|
2017-05-09 13:27:07 +00:00
|
|
|
public:
|
|
|
|
CFlameThrower(const TToken<CWeaponDescription>& wDesc, const std::string& name, EWeaponType wType,
|
|
|
|
const CFlameInfo& flameInfo, const zeus::CTransform& xf, EMaterialTypes matType,
|
2017-05-20 07:41:49 +00:00
|
|
|
const CDamageInfo& dInfo, TUniqueId owner, TAreaId aId, TUniqueId uid, u32 w1, u32 w2, s16 sId,
|
|
|
|
u32 w3);
|
2017-05-09 13:27:07 +00:00
|
|
|
|
2017-05-20 07:41:49 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2017-05-09 13:27:07 +00:00
|
|
|
void SetTransform(const zeus::CTransform& xf);
|
2017-05-18 10:58:15 +00:00
|
|
|
void Reset(CStateManager&, bool);
|
|
|
|
void Fire(const zeus::CTransform&, CStateManager&, bool);
|
|
|
|
bool GetX400_25() const { return x400_25; }
|
2017-05-09 13:27:07 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CFLAMETHROWER_HPP__
|