mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
More bug fixes
This commit is contained in:
@@ -17,35 +17,46 @@ class CScriptEffect : public CActor
|
||||
std::unique_ptr<CElementGen> x104_particleSystem;
|
||||
TUniqueId x108_lightId = kInvalidUniqueId;
|
||||
CAssetId x10c_partId;
|
||||
bool x110_24_ : 1;
|
||||
bool x110_25_ : 1;
|
||||
bool x110_26_ : 1;
|
||||
bool x110_27_ : 1;
|
||||
bool x110_28_ : 1;
|
||||
bool x110_29_ : 1;
|
||||
bool x110_30_ : 1;
|
||||
bool x110_31_ : 1;
|
||||
bool x111_24_ : 1;
|
||||
bool x111_25_ : 1;
|
||||
bool x111_26_canRender : 1;
|
||||
float x114_;
|
||||
float x118_;
|
||||
float x11c_;
|
||||
float x120_;
|
||||
float x124_;
|
||||
float x128_;
|
||||
float x12c_;
|
||||
float x130_;
|
||||
float x134_;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool x110_24_enable : 1;
|
||||
bool x110_25_noTimerUnlessAreaOccluded : 1;
|
||||
bool x110_26_rebuildSystemsOnActivate : 1;
|
||||
bool x110_27_useRateInverseCamDist : 1;
|
||||
bool x110_28_combatVisorVisible : 1;
|
||||
bool x110_29_thermalVisorVisible : 1;
|
||||
bool x110_30_xrayVisorVisible : 1;
|
||||
bool x110_31_anyVisorVisible : 1;
|
||||
bool x111_24_useRateCamDistRange : 1;
|
||||
bool x111_25_dieWhenSystemsDone : 1;
|
||||
bool x111_26_canRender : 1;
|
||||
};
|
||||
u32 _dummy = 0;
|
||||
};
|
||||
float x114_rateInverseCamDist;
|
||||
float x118_rateInverseCamDistSq;
|
||||
float x11c_rateInverseCamDistRate;
|
||||
float x120_rateCamDistRangeMin;
|
||||
float x124_rateCamDistRangeMax;
|
||||
float x128_rateCamDistRangeFarRate;
|
||||
float x12c_remTime;
|
||||
float x130_duration;
|
||||
float x134_durationResetWhileVisible;
|
||||
std::unique_ptr<CActorLights> x138_actorLights;
|
||||
TUniqueId x13c_triggerId = kInvalidUniqueId;
|
||||
float x140_ = 0.f;
|
||||
float x140_destroyDelayTimer = 0.f;
|
||||
public:
|
||||
CScriptEffect(TUniqueId, std::string_view name, const CEntityInfo& info,
|
||||
CScriptEffect(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
||||
const zeus::CTransform& xf, const zeus::CVector3f& scale,
|
||||
CAssetId partId, CAssetId elscId, bool, bool, bool, bool active,
|
||||
bool, float, float, float, float, bool, float, float, float,
|
||||
bool, bool, bool, const CLightParameters& lParms, bool);
|
||||
CAssetId partId, CAssetId elscId, bool hotInThermal, bool noTimerUnlessAreaOccluded,
|
||||
bool rebuildSystemsOnActivate, bool active, bool useRateInverseCamDist,
|
||||
float rateInverseCamDist, float rateInverseCamDistRate, float duration,
|
||||
float durationResetWhileVisible, bool useRateCamDistRange, float rateCamDistRangeMin,
|
||||
float rateCamDistRangeMax, float rateCamDistRangeFarRate, bool combatVisorVisible,
|
||||
bool thermalVisorVisible, bool xrayVisorVisible, const CLightParameters& lParms,
|
||||
bool dieWhenSystemsDone);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
|
||||
Reference in New Issue
Block a user