Add dummy functions to ensure correct float order in d_menu_cloth.

This commit is contained in:
Briggs Baltzell
2026-03-09 09:14:35 -05:00
parent ce493ca7e3
commit 341b0bf80b
+17
View File
@@ -151,6 +151,13 @@ void dMCloth_c::lightSet1(cXyz) {
GXLoadLightObjImm(&light, GX_LIGHT0);
}
// This is to get the floats in the right order.
void dummy0() {
vf32 a;
a = 0.0f;
a = 90.0f;
}
/* 8019977C-80199CD0 .text cloth_init__9dMCloth_cFv */
void dMCloth_c::cloth_init() {
cXyz* pPosArr = getPos();
@@ -235,6 +242,11 @@ void dMCloth_c::cloth_init() {
}
}
// This is to get the floats in the right order.
void dummy1() {
vf32 a = 305.0f;
}
/* 80199CD0-80199E1C .text init__9dMCloth_cFv */
void dMCloth_c::init() {
cloth_init();
@@ -793,6 +805,11 @@ void dMCloth_c::draw(float, GXColor clothColor, GXColor shadowColor, unsigned ch
j3dSys.reinitGX();
}
// This is to get the floats in the right order.
void dummy2() {
vf32 a = 0.5f;
}
/* 8019B670-8019B9C0 .text cloth_move_sin__9dMCloth_cFv */
void dMCloth_c::cloth_move_sin() {
mWaveProgress += HIO_CHILD.waveProgressStep;