d_a_obj_homensmoke OK

This commit is contained in:
LagoLunatic
2023-10-21 14:19:49 -04:00
parent a983a848c1
commit d270c07876
4 changed files with 194 additions and 88 deletions
+9 -1
View File
@@ -128,10 +128,18 @@ public:
void setGlobalDynamicsScale(const JGeometry::TVec3<float>& scale) {
mGlobalDynamicsScale.set(scale);
}
void setEmitterScale(const JGeometry::TVec3<float>& scale) {
mEmitterScale.set(scale);
}
void setDirection(const JGeometry::TVec3<float>& dir) {
mEmitterDir.set(dir);
}
void setMaxFrame(s32 maxFrame) { mMaxFrame = maxFrame; }
void setGlobalPrmColor(u8 r, u8 g, u8 b) {
mGlobalPrmColor.r = r;
mGlobalPrmColor.g = g;
mGlobalPrmColor.b = b;
}
void setVolumeSweep(float i_volSweep) { mVolumeSweep = i_volSweep; }
void setLifeTime(s16 i_lifeTime) { mLifeTime = i_lifeTime; }
@@ -156,7 +164,7 @@ public:
static JPAEmitterInfo emtrInfo;
/* 0x000 */ VolumeFunc mVolumeFunc;
/* 0x00C */ cXyz mEmitterScale;
/* 0x00C */ JGeometry::TVec3<f32> mEmitterScale;
/* 0x018 */ cXyz mEmitterTranslation;
/* 0x024 */ csXyz mEmitterRot;
/* 0x02A */ u8 mVolumeType;
+2 -1
View File
@@ -49,6 +49,7 @@ public:
JPABaseEmitter* getEmitter() { return mpEmitter; }
void setRateOff(u8 param_0) { field_0x11 = param_0; }
bool isEnd() { return field_0x10 & 1; }
/* 0x04 */ JPABaseEmitter* mpEmitter;
/* 0x08 */ u8 field_0x08[0x10 - 0x08];
@@ -76,7 +77,7 @@ public:
/* 0x16 */ GXColor field_0x16;
/* 0x1A */ u8 field_0x1A[0x1C - 0x1A];
/* 0x1C */ dKy_tevstr_c* mTevstr;
};
}; // Size: 0x20
STATIC_ASSERT(sizeof(dPa_smokeEcallBack) == 0x20);