mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 05:07:43 +00:00
Initial fixNES integration
This commit is contained in:
@@ -13,11 +13,14 @@ class CFluidPlaneManager
|
||||
{
|
||||
class CSplashRecord
|
||||
{
|
||||
float x0_time = 0.f;
|
||||
TUniqueId x4_id;
|
||||
public:
|
||||
CSplashRecord(TUniqueId id);
|
||||
void SetTime(float t);
|
||||
float GetTime() const;
|
||||
TUniqueId GetUniqueId() const;
|
||||
CSplashRecord(float time, TUniqueId id) : x0_time(time), x4_id(id) {}
|
||||
void SetTime(float t) { x0_time = t; }
|
||||
float GetTime() const { return x0_time; }
|
||||
void SetUniqueId(TUniqueId id) { x4_id = id; }
|
||||
TUniqueId GetUniqueId() const { return x4_id; }
|
||||
};
|
||||
|
||||
CRippleManager x0_rippleManager;
|
||||
@@ -28,6 +31,11 @@ class CFluidPlaneManager
|
||||
|
||||
class CFluidProfile
|
||||
{
|
||||
float x0_ = 0.f;
|
||||
float x4_ = 0.f;
|
||||
float x8_ = 0.f;
|
||||
float xc_ = 0.f;
|
||||
float x10_ = 0.f;
|
||||
public:
|
||||
void Clear();
|
||||
};
|
||||
@@ -46,7 +54,7 @@ public:
|
||||
float GetLastRippleDeltaTime(TUniqueId rippler) const;
|
||||
float GetLastSplashDeltaTime(TUniqueId splasher) const;
|
||||
void CreateSplash(TUniqueId splasher, CStateManager& mgr, const CScriptWater& water,
|
||||
const zeus::CVector3f& pos, float factor, bool);
|
||||
const zeus::CVector3f& pos, float factor, bool sfx);
|
||||
rstl::reserved_vector<CSplashRecord, 32>& SplashRecords() { return x18_splashes; }
|
||||
const CRippleManager& GetRippleManager() const { return x0_rippleManager; }
|
||||
CRippleManager& RippleManager() { return x0_rippleManager; }
|
||||
|
||||
Reference in New Issue
Block a user