mirror of
https://github.com/zeldaret/st
synced 2026-10-12 23:16:18 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user