Clean up angle constants and conversions (#1135)

* Add angle conversion constants and macros

* Replace angle literals with hex instead of decimal
This commit is contained in:
LagoLunatic
2026-07-22 20:13:31 -04:00
committed by GitHub
parent bf372802ca
commit 96347ab502
85 changed files with 261 additions and 267 deletions
+1 -1
View File
@@ -637,7 +637,7 @@ void daDaiocta_c::setAwaRandom(int i_awaIndex) {
f29_2 = f30 + cM_rndF(f29);
#endif
s16 random_theta = cM_rndF(65536.0f);
s16 random_theta = cM_rndF(0x10000);
mAwaTranslation[i_awaIndex].x = current.pos.x + f29_2 * cM_ssin(random_theta);
mAwaTranslation[i_awaIndex].y = mWaterY;