mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 09:26:07 +00:00
Link 4 script objects & renaming from MPR
Former-commit-id: ac3887c54088adddef1ddd84421e5754a618f210
This commit is contained in:
@@ -4,14 +4,6 @@
|
||||
#include "MetroidPrime/ScriptObjects/CScriptTrigger.hpp"
|
||||
|
||||
class CScriptSteam : public CScriptTrigger {
|
||||
bool x150_;
|
||||
CAssetId x154_texture;
|
||||
float x158_;
|
||||
float x15c_alphaInDur;
|
||||
float x160_alphaOutDur;
|
||||
float x164_;
|
||||
float x168_;
|
||||
|
||||
public:
|
||||
CScriptSteam(TUniqueId, const rstl::string& name, const CEntityInfo& info, const CVector3f& pos,
|
||||
const CAABox&, const CDamageInfo& dInfo, const CVector3f& orientedForce,
|
||||
@@ -21,6 +13,22 @@ public:
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
void Think(float, CStateManager&);
|
||||
void Accept(IVisitor&);
|
||||
|
||||
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; }
|
||||
};
|
||||
|
||||
#endif // _CSCRIPTSTEAM
|
||||
|
||||
Reference in New Issue
Block a user