mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 17:47:41 +00:00
Link CScriptVisorGoo
Former-commit-id: d9cca4a39ffa6c89af5687310229bcd1cdf60d74
This commit is contained in:
@@ -9,9 +9,9 @@ class CElectricDescription;
|
||||
class CScriptVisorGoo : public CActor {
|
||||
public:
|
||||
CScriptVisorGoo(TUniqueId uid, const rstl::string& name, const CEntityInfo& info,
|
||||
const CTransform4f& xf, CAssetId particle, CAssetId electric, float minDist,
|
||||
float maxDist, float nearProb, float farProb, const CColor& color, int sfx,
|
||||
bool forceShow, bool active);
|
||||
const CTransform4f& xf, CAssetId particle, CAssetId electric, float minRange,
|
||||
float maxRange, float chanceMinRange, float chanceMaxRange, const CColor& color,
|
||||
int sfx, bool noViewCheck, bool active);
|
||||
~CScriptVisorGoo();
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
@@ -22,18 +22,28 @@ public:
|
||||
rstl::optional_object< CAABox > GetTouchBounds() const override;
|
||||
void Touch(CActor&, CStateManager&) override;
|
||||
|
||||
private:
|
||||
TToken< CGenDescription > xe8_particleDesc;
|
||||
TToken< CElectricDescription > xf0_electricDesc;
|
||||
ushort xf8_sfx;
|
||||
CAssetId xfc_particleId;
|
||||
CAssetId x100_electricId;
|
||||
float x104_minDist;
|
||||
float x108_maxDist;
|
||||
float x10c_nearProb;
|
||||
float x110_farProb;
|
||||
CColor x114_color;
|
||||
bool x118_24_angleTest : 1;
|
||||
};
|
||||
float GetMinRange() const { return x104_minRange; }
|
||||
float GetMaxRange() const { return x108_maxRange; }
|
||||
bool GetViewCheck() const { return x118_24_viewCheck; }
|
||||
float GetChanceMinRange() const { return x10c_chanceMinRange; }
|
||||
float GetChanceMaxRange() const { return x110_chanceMaxRange; }
|
||||
const CColor& GetColor() const { return x114_color; }
|
||||
|
||||
const TToken< CGenDescription >& GetParticleDesc() const { return xe8_particleDesc; }
|
||||
const TToken< CElectricDescription >& GetElectricDesc() const { return xf0_electricDesc; }
|
||||
|
||||
private:
|
||||
TToken< CGenDescription > xe8_particleDesc;
|
||||
TToken< CElectricDescription > xf0_electricDesc;
|
||||
ushort xf8_sfx;
|
||||
CAssetId xfc_particleId;
|
||||
CAssetId x100_electricId;
|
||||
float x104_minRange;
|
||||
float x108_maxRange;
|
||||
float x10c_chanceMinRange;
|
||||
float x110_chanceMaxRange;
|
||||
CColor x114_color;
|
||||
bool x118_24_viewCheck : 1;
|
||||
};
|
||||
|
||||
#endif // _CSCRIPTVISORGOO
|
||||
|
||||
Reference in New Issue
Block a user