add FLT_MAX, FLT_EPSILON, NAN, and HUGE_VALF to MSL_C headers (#316)

This commit is contained in:
Jcw87
2023-04-21 02:01:46 -07:00
committed by GitHub
parent 0629e60eab
commit 6f30fa4d2a
20 changed files with 65 additions and 50 deletions
+1
View File
@@ -8,6 +8,7 @@
#include "JSystem/J3DGraphLoader/J3DAnmLoader.h"
#include "JSystem/JMath/JMath.h"
#include "JSystem/JStudio/JStudio/stb.h"
#include "MSL_C/float.h"
#include "SSystem/SComponent/c_math.h"
#include "d/a/d_a_horse_static.h"
#include "d/com/d_com_inf_game.h"
+2 -2
View File
@@ -53,7 +53,7 @@ bool daAlink_c::checkHookshotShootReturnMode() const {
void daAlink_c::resetHookshotMode() {
mItemMode = 0;
initLockAt();
mSearchBallScale = __float_max[0];
mSearchBallScale = FLT_MAX;
}
/* 8010871C-80108784 10305C 0068+00 0/0 0/0 1/1 .text
@@ -367,7 +367,7 @@ void daAlink_c::setHookshotReadyAnime() {
#ifdef NONMATCHING
int daAlink_c::checkUpperItemActionHookshot() {
if (checkHookshotWait()) {
mSearchBallScale = __float_max[0];
mSearchBallScale = FLT_MAX;
}
if (mItemMode == 1) {