2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CFLUIDPLANEMANAGER
|
|
|
|
#define _CFLUIDPLANEMANAGER
|
2022-08-13 02:48:34 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "MetroidPrime/CRippleManager.hpp"
|
|
|
|
#include "MetroidPrime/TGameTypes.hpp"
|
|
|
|
|
|
|
|
#include "rstl/reserved_vector.hpp"
|
|
|
|
|
2022-11-14 23:08:47 +00:00
|
|
|
class CScriptWater;
|
|
|
|
|
2022-08-13 02:48:34 +00:00
|
|
|
class CFluidPlaneManager {
|
2022-11-02 02:57:25 +00:00
|
|
|
public:
|
2022-11-15 01:08:30 +00:00
|
|
|
CFluidPlaneManager();
|
2022-11-02 02:57:25 +00:00
|
|
|
// TODO
|
|
|
|
|
|
|
|
void CreateSplash(TUniqueId splasher, CStateManager& mgr, const CScriptWater& water,
|
|
|
|
const CVector3f& pos, float factor, bool sfx);
|
|
|
|
|
2022-08-13 02:48:34 +00:00
|
|
|
private:
|
|
|
|
class CSplashRecord {
|
2022-10-09 05:37:23 +00:00
|
|
|
float x0_time;
|
2022-08-13 02:48:34 +00:00
|
|
|
TUniqueId x4_id;
|
|
|
|
};
|
|
|
|
|
|
|
|
CRippleManager x0_rippleManager;
|
|
|
|
rstl::reserved_vector< CSplashRecord, 32 > x18_splashes;
|
|
|
|
float x11c_uvT;
|
|
|
|
bool x120_;
|
|
|
|
bool x121_;
|
|
|
|
};
|
2022-11-15 13:45:15 +00:00
|
|
|
CHECK_SIZEOF(CFluidPlaneManager, 0x124);
|
2022-08-13 02:48:34 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CFLUIDPLANEMANAGER
|