2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

CScriptPlatform: Fix breakable behavior; CScriptColorModulate fixes

This commit is contained in:
2020-05-07 02:19:58 -04:00
parent 40ede53949
commit d30ce2b218
4 changed files with 87 additions and 92 deletions

View File

@@ -52,19 +52,14 @@ class CScriptPlatform : public CPhysicsActor {
u32 x34c_maxRainSplashes;
u32 x350_rainGenRate;
TUniqueId x354_boundsTrigger = kInvalidUniqueId;
union {
struct {
bool x356_24_dead : 1;
bool x356_25_controlledAnimation : 1;
bool x356_26_detectCollision : 1;
bool x356_27_squishedRider : 1;
bool x356_28_rainSplashes : 1;
bool x356_29_setXrayDrawFlags : 1;
bool x356_30_disableXrayAlpha : 1;
bool x356_31_xrayFog : 1;
};
u32 x356_dummy = 0;
};
bool x356_24_dead : 1 = false;
bool x356_25_controlledAnimation : 1 = false;
bool x356_26_detectCollision : 1;
bool x356_27_squishedRider : 1 = false;
bool x356_28_rainSplashes : 1;
bool x356_29_setXrayDrawFlags : 1 = false;
bool x356_30_disableXrayAlpha : 1 = false;
bool x356_31_xrayFog : 1 = true;
void DragSlave(CStateManager& mgr, rstl::reserved_vector<u16, 1024>& draggedSet, CActor* actor,
const zeus::CVector3f& delta);