2022-10-20 16:32:57 +00:00
|
|
|
#ifndef _CSCRIPTSTEAM
|
|
|
|
#define _CSCRIPTSTEAM
|
|
|
|
|
|
|
|
#include "MetroidPrime/ScriptObjects/CScriptTrigger.hpp"
|
|
|
|
|
|
|
|
class CScriptSteam : public CScriptTrigger {
|
2022-10-21 12:01:25 +00:00
|
|
|
public:
|
|
|
|
CScriptSteam(TUniqueId, const rstl::string& name, const CEntityInfo& info, const CVector3f& pos,
|
|
|
|
const CAABox&, const CDamageInfo& dInfo, const CVector3f& orientedForce,
|
|
|
|
unsigned int flags, bool active, CAssetId, float, float, float, float, bool);
|
|
|
|
~CScriptSteam();
|
2022-10-20 16:32:57 +00:00
|
|
|
|
2022-10-21 12:01:25 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
|
|
|
void Think(float, CStateManager&);
|
|
|
|
void Accept(IVisitor&);
|
2023-10-17 21:36:08 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool x150_;
|
|
|
|
CAssetId x154_texture;
|
|
|
|
float x158_strength;
|
|
|
|
float x15c_alphaInDur;
|
|
|
|
float x160_alphaOutDur;
|
|
|
|
float x164_maxDist;
|
|
|
|
float x168_ooMaxDist;
|
|
|
|
|
|
|
|
float GetMaxDist() const { return x164_maxDist; }
|
|
|
|
float GetStrength() const { return x158_strength; }
|
|
|
|
float GetOOMaxDist() const { return x168_ooMaxDist; }
|
|
|
|
CAssetId GetTextureId() const { return x154_texture; }
|
|
|
|
float GetFadeOutRate() const { return x160_alphaOutDur; }
|
|
|
|
float GetFadeInRate() const { return x15c_alphaInDur; }
|
2022-10-21 12:01:25 +00:00
|
|
|
};
|
2022-10-20 16:32:57 +00:00
|
|
|
|
|
|
|
#endif // _CSCRIPTSTEAM
|