Change Q20 in macros to FX32 (#71)

* refactor: change Q20 in macros to FX32

* fix: renaming macros does not renamed every occurrence

* fix: opaque IDE magic occurred

* refactor: revert order of libs

* refactor: remove unused macros for FX31(Q19) and FX33(Q21)
This commit is contained in:
Alessevan
2026-05-31 21:29:10 -04:00
committed by GitHub
parent 905ceeb4b3
commit e5fe52aa54
18 changed files with 258 additions and 259 deletions
@@ -24,13 +24,13 @@ ARM MapObjectProfileSwitchStep::MapObjectProfileSwitchStep() :
MapObjectProfileSwitchStep_Base(MapObjectId_SwitchStep) {
this->mUnk_D4.mUnk_08 = 0x2DC04009;
this->mUnk_D4.mUnk_0C.x = -FLOAT_TO_Q20(0.5f);
this->mUnk_D4.mUnk_0C.y = FLOAT_TO_Q20(0.0f);
this->mUnk_D4.mUnk_0C.z = -FLOAT_TO_Q20(0.5f);
this->mUnk_D4.mUnk_0C.x = -FLOAT_TO_FX32(0.5f);
this->mUnk_D4.mUnk_0C.y = FLOAT_TO_FX32(0.0f);
this->mUnk_D4.mUnk_0C.z = -FLOAT_TO_FX32(0.5f);
this->mUnk_D4.mUnk_18.x = FLOAT_TO_Q20(0.5f);
this->mUnk_D4.mUnk_18.y = FLOAT_TO_Q20(0.5f);
this->mUnk_D4.mUnk_18.z = FLOAT_TO_Q20(0.5f);
this->mUnk_D4.mUnk_18.x = FLOAT_TO_FX32(0.5f);
this->mUnk_D4.mUnk_18.y = FLOAT_TO_FX32(0.5f);
this->mUnk_D4.mUnk_18.z = FLOAT_TO_FX32(0.5f);
this->mUnk_06 = 1;
this->mUnk_0C = 0xC00;