2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-11-26 03:04:25 +00:00
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
|
|
|
|
class CFishCloud : public CActor {
|
|
|
|
class CModifierSource {
|
|
|
|
TUniqueId x0_source;
|
|
|
|
float x4_;
|
|
|
|
float x8_;
|
|
|
|
bool xc_;
|
|
|
|
bool xd_;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CModifierSource(TUniqueId, bool, float, float);
|
|
|
|
void SetAffectPriority(float);
|
|
|
|
void SetAffectRadius(float);
|
|
|
|
float GetAffectPriority() const;
|
|
|
|
float GetAffectRadius() const;
|
|
|
|
bool IsRepulsor();
|
|
|
|
TUniqueId GetSource() const;
|
|
|
|
|
|
|
|
bool operator<(const CModifierSource& other) const { return x0_source < other.x0_source; }
|
|
|
|
};
|
2018-05-07 00:47:40 +00:00
|
|
|
|
2017-11-26 03:04:25 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CFishCloud(TUniqueId uid, bool active, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& scale,
|
|
|
|
const zeus::CTransform& xf, CModelData&& mData, const CAnimRes& aRes, u32 w1, float f1, float f2, float f3,
|
|
|
|
float f4, float f5, float f6, float f7, float f8, float f9, float f10, float f11, float f12, float f13,
|
|
|
|
u32 w2, const zeus::CColor& color, bool b1, float f14, CAssetId part1, u32 w3, CAssetId part2, u32 w4,
|
|
|
|
CAssetId part3, u32 w5, CAssetId part4, u32 w6, u32 w7, bool b2, bool b3);
|
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void RemoveRepulsor(TUniqueId);
|
|
|
|
void RemoveAttractor(TUniqueId);
|
|
|
|
void AddRepulsor(TUniqueId, float, float);
|
|
|
|
void AddAttractor(TUniqueId, float, float);
|
2017-11-26 03:04:25 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|